summaryrefslogtreecommitdiff
path: root/include/uapi/linux/net_dropmon.h
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@mellanox.com>2019-08-11 10:35:53 +0300
committerDavid S. Miller <davem@davemloft.net>2019-08-11 20:53:30 +0300
commit444be061d012f1a8ebf95292a648a4e0e2afa83f (patch)
treee384d53388ca85882d1a6469d56a3ce7539415e2 /include/uapi/linux/net_dropmon.h
parent57986617a736aec2980c1c78a9dd8dcdf477ee6e (diff)
downloadlinux-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.h2
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,
};