Re: [PATCH v7 2/2] net/netvsc: fix parsing of VLAN metadata

2024-02-19 Thread Ferruh Yigit
On 2/19/2024 9:31 AM, Alan Elder wrote: > The previous code incorrectly parsed the VLAN ID and priority. > If the 16-bits of VLAN ID and priority/CFI on the wire was > 0123456789ABCDEF the code parsed it as 456789ABCDEF3012. There > were macros defined to handle this conversion but they were not >

[PATCH v7 2/2] net/netvsc: fix parsing of VLAN metadata

2024-02-19 Thread Alan Elder
The previous code incorrectly parsed the VLAN ID and priority. If the 16-bits of VLAN ID and priority/CFI on the wire was 0123456789ABCDEF the code parsed it as 456789ABCDEF3012. There were macros defined to handle this conversion but they were not used. Fixes: 4e9c73e96e83 ("net/netvsc: add Hype