Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F176801166
D7710.1793385020.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
540 B
Referenced Files
None
Subscribers
None
D7710.1793385020.diff
View Options
Index: head/sys/net/ethernet.h
===================================================================
--- head/sys/net/ethernet.h
+++ head/sys/net/ethernet.h
@@ -92,7 +92,7 @@
#define EVL_PRIOFTAG(tag) (((tag) >> 13) & 7)
#define EVL_CFIOFTAG(tag) (((tag) >> 12) & 1)
#define EVL_MAKETAG(vlid, pri, cfi) \
- ((((((pri) & 7) << 1) | ((cfi) & 1)) << 12) | ((vlid) & EVL_VLID_MASK))
+ ((((((pri) & 7) << 13) | ((cfi) & 1)) << 12) | ((vlid) & EVL_VLID_MASK))
/*
* NOTE: 0x0000-0x05DC (0..1500) are generally IEEE 802.3 length fields.
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Oct 30, 6:30 PM (17 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41240851
Default Alt Text
D7710.1793385020.diff (540 B)
Attached To
Mode
D7710: net/vlan: Shift for pri is 13 (pri mask 0xe000) not 1.
Attached
Detach File
Event Timeline