aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/autoload.c
diff options
context:
space:
mode:
authorOleksandr Mazur <[email protected]>2021-06-14 16:01:12 +0300
committerDavid S. Miller <[email protected]>2021-06-14 13:04:25 -0700
commitddee9dbc3d7aec1cd9fdcc671db2dd0016fd0f3d (patch)
tree96530a832ce468547c348bc9f8dfa3a04a441a0b /tools/testing/selftests/bpf/prog_tests/autoload.c
parentea99750e401972c896d2212ea9244d903b8fbf73 (diff)
net: core: devlink: add dropped stats traps field
Whenever query statistics is issued for trap, devlink subsystem would also fill-in statistics 'dropped' field. This field indicates the number of packets HW dropped and failed to report to the device driver, and thus - to the devlink subsystem itself. In case if device driver didn't register callback for hard drop statistics querying, 'dropped' field will be omitted and not filled. Signed-off-by: Oleksandr Mazur <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions