net: dcbnl: Add IEEE app selector value definitions
authorMark Rustad <mark.d.rustad@intel.com>
Mon, 14 Mar 2011 09:01:15 +0000 (09:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Mar 2011 00:02:43 +0000 (17:02 -0700)
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>
include/linux/dcbnl.h

index eedf79b..c522800 100644 (file)
@@ -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