]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
net/dcb: Add dscp to priority selector type
authorHuy Nguyen <huyn@mellanox.com>
Tue, 18 Jul 2017 20:42:15 +0000 (15:42 -0500)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 5 Nov 2017 04:23:32 +0000 (21:23 -0700)
IEEE specification P802.1Qcd/D2.1 defines priority selector 5.
This APP TLV selector defines DSCP to priority map.
This patch defines such DSCP selector.

Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
include/uapi/linux/dcbnl.h

index b6170a6af7c24dac3f79f815e7ff70217d652f18..2c0c6453c3f40542cd8d4e4f5538e994b8e71b64 100644 (file)
@@ -206,6 +206,7 @@ struct cee_pfc {
 #define IEEE_8021QAZ_APP_SEL_STREAM    2
 #define IEEE_8021QAZ_APP_SEL_DGRAM     3
 #define IEEE_8021QAZ_APP_SEL_ANY       4
+#define IEEE_8021QAZ_APP_SEL_DSCP       5
 
 /* This structure contains the IEEE 802.1Qaz APP managed object. This
  * object is also used for the CEE std as well.