aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-10-16 15:19:10 -0700
committerAlexei Starovoitov <[email protected]>2018-10-16 15:23:58 -0700
commit44b6fed0c16ea0057292d57c381a31e8986fa7a7 (patch)
tree84a63bce9d9e3affca45063d33dba59d3deb3ecc /tools/perf/scripts/python/sctop.py
parent527db74b71ee5a279f818aae51f2c26b4e5c7648 (diff)
nfp: bpf: double check vNIC capabilities after object sharing
Program translation stage checks that program can be offloaded to the netdev which was passed during the load (bpf_attr->prog_ifindex). After program sharing was introduced, however, the netdev on which program is loaded can theoretically be different, and therefore we should recheck the program size and max stack size at load time. This was found by code inspection, AFAIK today all vNICs have identical caps. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions