diff options
| author | Jiong Wang <jiong.wang@netronome.com> | 2018-11-08 12:08:43 +0300 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-11-09 11:16:32 +0300 |
| commit | cf599f50311dd4a5d3b5fc427beb9303dfa6be4b (patch) | |
| tree | d89f4a220e92ba787649adc101d2e7861791539d /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e647815a4d3b3be9d85b5750ed0f2947fd78fac7 (diff) | |
| download | linux-cf599f50311dd4a5d3b5fc427beb9303dfa6be4b.tar.xz | |
nfp: bpf: relax prog rejection through max_pkt_offset
NFP is refusing to offload programs whenever the MTU is set to a value
larger than the max packet bytes that fits in NFP Cluster Target Memory
(CTM). However, a eBPF program doesn't always need to access the whole
packet data.
Verifier has always calculated maximum direct packet access (DPA) offset,
and kept it in max_pkt_offset inside prog auxiliar information. This patch
relax prog rejection based on max_pkt_offset.
Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Jiong Wang <jiong.wang@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
