diff options
author | Oleksandr Mazur <[email protected]> | 2021-06-14 16:01:12 +0300 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-14 13:04:25 -0700 |
commit | ddee9dbc3d7aec1cd9fdcc671db2dd0016fd0f3d (patch) | |
tree | 96530a832ce468547c348bc9f8dfa3a04a441a0b /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | ea99750e401972c896d2212ea9244d903b8fbf73 (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