diff options
author | 2017-12-14 21:29:18 -0800 | |
---|---|---|
committer | 2017-12-15 14:18:18 +0100 | |
commit | 0d49eaf4db2ad18489ff1cfceba17006c1d17b7e (patch) | |
tree | dfa5b9c1859a1657d4f61838b165ba8786000bc7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | nfp: bpf: prepare for call support (diff) | |
download | linux-dev-0d49eaf4db2ad18489ff1cfceba17006c1d17b7e.tar.xz linux-dev-0d49eaf4db2ad18489ff1cfceba17006c1d17b7e.zip |
nfp: bpf: add basic support for adjust head call
Support bpf_xdp_adjust_head(). We need to check whether the
packet offset after adjustment is within datapath's limits.
We also check if the frame is at least ETH_HLEN long (similar
to the kernel implementation).
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions