aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJiong Wang <[email protected]>2018-11-08 04:08:43 -0500
committerDaniel Borkmann <[email protected]>2018-11-09 09:16:32 +0100
commitcf599f50311dd4a5d3b5fc427beb9303dfa6be4b (patch)
treed89f4a220e92ba787649adc101d2e7861791539d /tools/perf/scripts/python/stackcollapse.py
parente647815a4d3b3be9d85b5750ed0f2947fd78fac7 (diff)
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 <[email protected]> Signed-off-by: Jiong Wang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions