diff options
| author | 2021-06-14 16:01:12 +0300 | |
|---|---|---|
| committer | 2021-06-14 13:04:25 -0700 | |
| commit | ddee9dbc3d7aec1cd9fdcc671db2dd0016fd0f3d (patch) | |
| tree | 96530a832ce468547c348bc9f8dfa3a04a441a0b /drivers/net/netdevsim/dev.c | |
| parent | net: wwan: iosm: Remove DEBUG flag (diff) | |
| download | wireguard-linux-ddee9dbc3d7aec1cd9fdcc671db2dd0016fd0f3d.tar.xz wireguard-linux-ddee9dbc3d7aec1cd9fdcc671db2dd0016fd0f3d.zip | |
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 <oleksandr.mazur@plvision.eu>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions
