]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee5ffbf079676801fa0c6465387be62d78ccadc6
treee384d53388ca85882d1a6469d56a3ce7539415e2
parente278677b112723ab98abef01f12e27977d929939
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