RE: [PATCH v3] net/netvsc: fix parsing of VLAN metadata

2024-02-08 Thread Long Li
> -Original Message- > From: Alan Elder > Sent: Thursday, February 8, 2024 7:09 AM > To: Long Li > Cc: dev@dpdk.org > Subject: [PATCH v3] net/netvsc: fix parsing of VLAN metadata > > The previous code incorrectly parsed the VLAN ID and priority. > If

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

2024-02-08 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. This fix takes an approach similar to the