Skip to content
Snippets Groups Projects
Commit 226111d1 authored by John Fastabend's avatar John Fastabend Committed by David S. Miller
Browse files

net: dcb: match dcb_app protocol field with 802.1Qaz spec


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 <shmulikr@broadcom.com>
Signed-off-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 91035f0b
No related branches found
No related tags found
No related merge requests found
...@@ -101,8 +101,8 @@ struct ieee_pfc { ...@@ -101,8 +101,8 @@ struct ieee_pfc {
*/ */
struct dcb_app { struct dcb_app {
__u8 selector; __u8 selector;
__u32 protocol;
__u8 priority; __u8 priority;
__u16 protocol;
}; };
struct dcbmsg { struct dcbmsg {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment