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>
This commit is contained in:

committed by
David S. Miller

parent
57986617a7
commit
444be061d0
@@ -54,6 +54,8 @@ enum {
|
||||
NET_DM_CMD_START,
|
||||
NET_DM_CMD_STOP,
|
||||
NET_DM_CMD_PACKET_ALERT,
|
||||
NET_DM_CMD_CONFIG_GET,
|
||||
NET_DM_CMD_CONFIG_NEW,
|
||||
_NET_DM_CMD_MAX,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user