diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-08-11 10:35:53 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-11 20:53:30 +0300 |
commit | 444be061d012f1a8ebf95292a648a4e0e2afa83f (patch) | |
tree | e384d53388ca85882d1a6469d56a3ce7539415e2 /include/uapi/linux/net_dropmon.h | |
parent | 57986617a736aec2980c1c78a9dd8dcdf477ee6e (diff) | |
download | linux-444be061d012f1a8ebf95292a648a4e0e2afa83f.tar.xz |
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>
Diffstat (limited to 'include/uapi/linux/net_dropmon.h')
-rw-r--r-- | include/uapi/linux/net_dropmon.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/uapi/linux/net_dropmon.h b/include/uapi/linux/net_dropmon.h index 5cd7eb1f66ba..3b765a8428b5 100644 --- a/include/uapi/linux/net_dropmon.h +++ b/include/uapi/linux/net_dropmon.h @@ -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, }; |