diff options
author | Jakub Kicinski <[email protected]> | 2017-12-14 21:29:19 -0800 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2017-12-15 14:18:18 +0100 |
commit | 8231f8444110c346a7d28756abbca11c956d5803 (patch) | |
tree | 6d28e0c7a5cb126f044cf45b9d1b6dff876fc53f /tools/perf/scripts/python/syscall-counts.py | |
parent | 0d49eaf4db2ad18489ff1cfceba17006c1d17b7e (diff) |
nfp: bpf: optimize the adjust_head calls in trivial cases
If the program is simple and has only one adjust head call
with constant parameters, we can check that the call will
always succeed at translation time. We need to track the
location of the call and make sure parameters are always
the same. We also have to check the parameters against
datapath constraints and ETH_HLEN.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions