summaryrefslogtreecommitdiff
path: root/include/linux/dcbnl.h
diff options
context:
space:
mode:
authorMark Rustad <mark.d.rustad@intel.com>2011-03-14 09:01:15 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-14 17:02:43 -0700
commit0c0217b016ba8a970a6f6ab62ad0d858f39881ca (patch)
tree381b025dd8467e2ad2e978c7bc6979bb156905f1 /include/linux/dcbnl.h
parent171f20e93b9d44a846bd5a41a583fdae13d26cd7 (diff)
downloadlwn-0c0217b016ba8a970a6f6ab62ad0d858f39881ca.tar.gz
lwn-0c0217b016ba8a970a6f6ab62ad0d858f39881ca.zip
net: dcbnl: Add IEEE app selector value definitions
This adds defines for the app selector values currently defined in the IEEE 802.1Qaz specification. Signed-off-by: Mark Rustad <mark.d.rustad@intel.com> Signed-off-by: John Fastabend <john.r.fastabend@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/dcbnl.h')
-rw-r--r--include/linux/dcbnl.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h
index eedf79b7ef7e..c52280047e2c 100644
--- a/include/linux/dcbnl.h
+++ b/include/linux/dcbnl.h
@@ -125,6 +125,11 @@ struct cee_pfc {
__u8 tcs_supported;
};
+/* IEEE 802.1Qaz std supported values */
+#define IEEE_8021QAZ_APP_SEL_ETHERTYPE 1
+#define IEEE_8021QAZ_APP_SEL_STREAM 2
+#define IEEE_8021QAZ_APP_SEL_DGRAM 3
+#define IEEE_8021QAZ_APP_SEL_ANY 4
/* This structure contains the IEEE 802.1Qaz APP managed object. This
* object is also used for the CEE std as well. There is no difference