drop_monitor: Add a command to query current configuration
authorIdo Schimmel <idosch@mellanox.com>
Sun, 11 Aug 2019 07:35:53 +0000 (10:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sun, 11 Aug 2019 17:53:30 +0000 (10:53 -0700)
commit444be061d012f1a8ebf95292a648a4e0e2afa83f
treee384d53388ca85882d1a6469d56a3ce7539415e2
parent57986617a736aec2980c1c78a9dd8dcdf477ee6e
drop_monitor: Add a command to query current configuration

Users should be able to query the current configuration of drop monitor
before they start using it. Add a command to query the existing
configuration which currently consists of alert mode and packet
truncation 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