diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-10 13:49:36 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-01-10 13:49:37 +0100 |
commit | 632130ed3bddca3644d58a5cb6e20915f36e4d44 (patch) | |
tree | bd26e78addbbd2c5afb46e8d4a37e5924a114580 /samples/bpf | |
parent | 148989d8bac36a5f9823715c9910adedbe847ae6 (diff) | |
parent | ff627e3d07a07f7ed1105f459ee9586d4be7818e (diff) |
Merge branch 'bpf-nfp-misc-improvements'
Jakub Kicinski says:
====================
This series starts with a fix to Jesper's recent work, somehow I forgot
about control rings during review. Second patch is cleaning up a vNIC
header, in kdoc we should not use @ for #define constants. Aligning of
the top of the stack as well as bottom (last bytes will be unused) helps
the performance. We should check offload datapath's max MTU when program
is loaded and we can allow TC hw offload flag to be changed freely while
XDP offload is active.
Next group of patches adds more fully featured relocation support. Due
to limited amount of code space we only load the image to NIC's memory
when program is attached. Since we can't predict which programs are
loaded later, we should translate as if image was to be loaded at offset
zero and only apply relocations at load time. Many more advanced features
(eg. tail class, subprograms, dynamic allocation of program space and
sharing it between ports) will depend on this.
Nic adds support for signed comparison instructions.
Quentin makes use of the verifier log in our driver, the verifier print
function (verbose()) has to be renamed and exported.
v2:
- replace #define by function aliasing for verbose() in patch 13
====================
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'samples/bpf')
0 files changed, 0 insertions, 0 deletions