]> 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)
commitd5feae097a2c1514b2571c1d2aa7e2a7766cd93d
treee384d53388ca85882d1a6469d56a3ce7539415e2
parentde62d1fcefd79b78eda0aed0ffdfea68764bacd3
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