diff options
author | Ido Schimmel <idosch@mellanox.com> | 2020-09-29 11:15:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-30 18:01:26 -0700 |
commit | 8ee2267ad33e0ba021e9dd9b437f773906cd99d6 (patch) | |
tree | de76d6f23aef6a840d6c56a39f54ae6bc13212ba /net/Kconfig | |
parent | 5855357cd40e8b2ccdcc30f8ae0dac3f0f892ccd (diff) | |
download | linux-8ee2267ad33e0ba021e9dd9b437f773906cd99d6.tar.bz2 |
drop_monitor: Convert to using devlink tracepoint
Convert drop monitor to use the recently introduced
'devlink_trap_report' tracepoint instead of having devlink call into
drop monitor.
This is both consistent with software originated drops ('kfree_skb'
tracepoint) and also allows drop monitor to be built as a module and
still report hardware originated drops.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/Kconfig')
-rw-r--r-- | net/Kconfig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/Kconfig b/net/Kconfig index 3831206977a1..d6567162c1cf 100644 --- a/net/Kconfig +++ b/net/Kconfig @@ -434,7 +434,6 @@ config NET_SOCK_MSG config NET_DEVLINK bool default n - imply NET_DROP_MONITOR config PAGE_POOL bool |