Skip to contentSkip to conversation

net: dcbnl: Update copyright dates

PATCH Applied John Fastabend 2 participants 6 messages Mar 14, 2011 – Mar 15, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/3 net: dcbnl: Update copyright dates

From: Mark Rustad <[email protected]>

---

 include/linux/dcbnl.h |    2 +-
 net/dcb/dcbnl.c       |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
include/linux/dcbnl.h +1 -1
index a3680a1..97c90b9 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Intel Corporation.
+ * Copyright (c) 2008-2011, Intel Corporation.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
net/dcb/dcbnl.c +1 -1
index 118392f..3609eac 100644
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2008, Intel Corporation.
+ * Copyright (c) 2008-2011, Intel Corporation.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
#1 lore raw

PATCH 2/3 net: dcbnl: Fix misspellings

From: Mark Rustad <[email protected]>

Fix a few spelling errors in dcbnl.h.

---

 include/linux/dcbnl.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
include/linux/dcbnl.h +3 -3
index 97c90b9..eedf79b 100644
@@ -26,13 +26,13 @@
 #define IEEE_8021QAZ_MAX_TCS	8
 
 #define IEEE_8021QAZ_TSA_STRICT		0
-#define IEEE_8021QAZ_TSA_CB_SHABER	1
+#define IEEE_8021QAZ_TSA_CB_SHAPER	1
 #define IEEE_8021QAZ_TSA_ETS		2
 #define IEEE_8021QAZ_TSA_VENDOR		255
 
 /* This structure contains the IEEE 802.1Qaz ETS managed object
  *
- * @willing: willing bit in ETS configuratin TLV
+ * @willing: willing bit in ETS configuration TLV
  * @ets_cap: indicates supported capacity of ets feature
  * @cbs: credit based shaper ets algorithm supported
  * @tc_tx_bw: tc tx bandwidth indexed by traffic class
@@ -92,7 +92,7 @@ struct ieee_pfc {
 #define CEE_DCBX_MAX_PRIO	8
 
 /**
- * struct cee_pg - CEE Prioity-Group managed object
+ * struct cee_pg - CEE Priority-Group managed object
  *
  * @willing: willing bit in the PG tlv
  * @error: error bit in the PG tlv
#3 lore raw

PATCH 3/3 net: dcbnl: Add IEEE app selector value definitions

In reply to John Fastabend

From: Mark Rustad <[email protected]>

This adds defines for the app selector values currently defined in the IEEE 802.1Qaz specification.

---

 include/linux/dcbnl.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
include/linux/dcbnl.h +5 -0
index eedf79b..c522800 100644
@@ -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