[net-2.6 PATCH v2] net: dcb: match dcb_app protocol field with 802.1Qaz spec

Subsystems: the rest

STALE5654d

2 messages, 2 authors, 2011-02-20 · open the first message on its own page

[net-2.6 PATCH v2] net: dcb: match dcb_app protocol field with 802.1Qaz spec

From: John Fastabend <hidden>
Date: 2011-02-18 23:35:26

The dcb_app protocol field is a __u32 however the 802.1Qaz
specification defines it as a 16 bit field. This patch brings
the structure inline with the spec making it a __u16.

CC: Shmulik Ravid <redacted>
Signed-off-by: John Fastabend <redacted>
---

 include/linux/dcbnl.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/include/linux/dcbnl.h b/include/linux/dcbnl.h
index 68cd248..66900e3 100644
--- a/include/linux/dcbnl.h
+++ b/include/linux/dcbnl.h
@@ -101,8 +101,8 @@ struct ieee_pfc {
  */
 struct dcb_app {
 	__u8	selector;
-	__u32	protocol;
 	__u8	priority;
+	__u16	protocol;
 };
 
 struct dcbmsg {

Re: [net-2.6 PATCH v2] net: dcb: match dcb_app protocol field with 802.1Qaz spec

From: David Miller <davem@davemloft.net>
Date: 2011-02-20 03:00:23

From: John Fastabend <redacted>
Date: Fri, 18 Feb 2011 15:30:17 -0800
The dcb_app protocol field is a __u32 however the 802.1Qaz
specification defines it as a 16 bit field. This patch brings
the structure inline with the spec making it a __u16.

CC: Shmulik Ravid <redacted>
Signed-off-by: John Fastabend <redacted>
Applied.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help