From: Mark Rustad <mark.d.rustad@intel.com>
Date: Mon, 14 Mar 2011 09:01:15 +0000 (+0000)
Subject: net: dcbnl: Add IEEE app selector value definitions
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0c0217b016ba8a970a6f6ab62ad0d858f39881ca;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

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>
---

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