summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHuy Nguyen <huyn@mellanox.com>2017-07-18 15:42:15 -0500
committerSaeed Mahameed <saeedm@mellanox.com>2017-11-04 21:23:32 -0700
commitee20598194500e82c477cf13e52b58e569446ed0 (patch)
tree3ca25fd9d1460e1d4290512dbf8d3346c98b1809 /include
parent27c565ae9d554fa1c00c799754cff43476c8d3b5 (diff)
downloadlinux-ee20598194500e82c477cf13e52b58e569446ed0.tar.gz
linux-ee20598194500e82c477cf13e52b58e569446ed0.tar.bz2
linux-ee20598194500e82c477cf13e52b58e569446ed0.zip
net/dcb: Add dscp to priority selector type
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/dcbnl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/linux/dcbnl.h b/include/uapi/linux/dcbnl.h
index b6170a6af7c2..2c0c6453c3f4 100644
--- a/include/uapi/linux/dcbnl.h
+++ b/include/uapi/linux/dcbnl.h
@@ -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.