aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorIdo Schimmel <[email protected]>2020-11-04 15:30:38 +0200
committerJakub Kicinski <[email protected]>2020-11-06 11:28:50 -0800
commit8fa84742d66625281a14b5db4c1f64f06c5b106a (patch)
tree3dcd5dc6509f6bb5b79711eb061048a423284ef4 /tools/perf/util/scripting-engines/trace-event-python.c
parent35266255d61c777abd69c2faaa44c92b5a0483c2 (diff)
netdevsim: Add dummy implementation for nexthop offload
Implement dummy nexthop "offload" in the driver by storing currently "programmed" nexthops in a hash table. Each nexthop in the hash table is marked with "trap" indication and increments the nexthops resource occupancy. This will later allow us to test the nexthop offload API on top of netdevsim. Signed-off-by: Ido Schimmel <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions