mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
57986617a7
commit
444be061d0
2 changed files with 50 additions and 0 deletions
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue