drop_monitor: Expose tail drop counter
authorIdo Schimmel <idosch@mellanox.com>
Sun, 11 Aug 2019 07:35:55 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2019 17:53:30 +0000 (10:53 -0700)
commite9feb58020f952f7d9de785ede9a7d54ab1eda5c
tree57692f58d04846f26299a67895480ea59730a3c3
parent30328d46af593dcf24582f2a431d84ea0cf4bdef
drop_monitor: Expose tail drop counter

Previous patch made the length of the per-CPU skb drop list
configurable. Expose a counter that shows how many packets could not be
enqueued to this list.

This allows users determine the desired queue length.

Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/net_dropmon.h
net/core/drop_monitor.c