- 12 Aug, 2015 1 commit
-
-
Brenden Blanco authored
There was an issue where the rewrite of bpf_trace_printk combined with conversion of function argument to ctx->$reg was mangling the text. Fix up this case and add a test. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 11 Aug, 2015 3 commits
-
-
Brenden Blanco authored
This extends upon the sscanf reader functionality, with the intent of providing key/leaf pretty printing Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Fix recursive loop in parsing pointer to self struct
-
Brenden Blanco authored
Issue occurs in the description visitor class, when the struct used in a map key is a pointer to self, as in: struct node; struct node { struct node *next; }; Avoid this in the desc by using "unsigned long long" for all pointers. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 10 Aug, 2015 8 commits
-
-
Brenden Blanco authored
Fixing more ctrl-c problem
-
Brenden Blanco authored
add connectivity validation in distributed bridge examples
-
Brenden Blanco authored
Add one line desc output for simple_tc
-
Wei-Chun Chao authored
Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
Yonghong Song authored
o Also suggest task_switch.py to try with libbcc package Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Patch series: reorganize bpf_module and add sscanf feature for fuse
-
- 09 Aug, 2015 2 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
This is the culmination of the previous patches. It adds an api that can input map data in a string format, but validating the numbers and locations of data fields. The use case is for fuse file input/output. A printf api may follow. Take the table with key/leaf of: struct Key { int a; int b; }; struct Leaf { int a; int b; int c; struct SubLeaf { int x; int y; } s; }; One would input to this table using: update_table(table_name, "{1 2}", "{1 2 -3 {9 0xa}}"); The implementation uses a JITed function for each unique type, that is invoked to run sscanf on behalf of the caller. The input must have the exact right number of arguments. Bit fields are supported, but the caller must be aware of the collapse of those bitfields into an aligned field, as well as endianness. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 08 Aug, 2015 3 commits
-
-
Brenden Blanco authored
It was bothering me that a whole bunch of accesses to the tables were based on a string hash lookup, in addition to the vectors that were kept to convert ids to names. Switch those around, as well as the api internally. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
After the modules have been created, create a helper function for each table leaf/key type. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 07 Aug, 2015 3 commits
-
-
Brenden Blanco authored
This whole project is about bpf, prefixing everything with the same acronym is redundant. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
- 05 Aug, 2015 8 commits
-
-
4ast authored
Add cmake checks for required test programs
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Set as warning, since the build will still work fine and be able to create a binary package. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Move helper.h prototype for tail call into 4.2 section
-
Brenden Blanco authored
With #115, bpf_tail_call was incorrectly disabled in 4.2 builds. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
4ast authored
Add INSTALL.md instructions for using Ubuntu binary build
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
Flags for 4.3 were accidentally committed, revert
-
- 04 Aug, 2015 12 commits
-
-
Brenden Blanco authored
Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
release IPDB in host ns early
-
Wei-Chun Chao authored
We need it for setting vxlan flow based flags currently. Release it once the interfaces are set up. This does not help Ctrl-C on main.py though. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
weichunc authored
Suggest Release and add X86 target in readme
-
Brenden Blanco authored
The default CMAKE_BUILD_TYPE is Debug when cloning from git, suggest Release instead. Also, there are some worrisome warnings during cmake when X86 target is omitted. Additionally, I may want X86 target support for a future feature, so lets suggest it here. Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
-
Brenden Blanco authored
llvm 3.7+ deb is broken
-
Wei-Chun Chao authored
https://llvm.org/bugs/show_bug.cgi?id=24154 Build from source until it's resolved. Another plan is to provide binary package. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Brenden Blanco authored
better clean up of created namespace/interfaces if ctrl-c is pressed
-
Brenden Blanco authored
fix tunnel_mesh.py
-
Wei-Chun Chao authored
The IP assignment was wrong. Signed-off-by: Wei-Chun Chao <weichunc@plumgrid.com>
-
Yonghong Song authored
o There are still some cases when ctrl-c is pressed, the program does not exit gracefully, with a however lower probability. In my random manual experiments, one in ten cases it still hangs and needs further ctrl-z. Signed-off-by: Yonghong Song <yhs@plumgrid.com>
-
4ast authored
Reorganize bpf_module into multiple frontend implementations
-