On 5/12/2023 3:03 AM, Chaoyong He wrote:
> When process VLAN push flow action, the former logic perform the
> mask and shift operations directly on the big endian data, which
> cause both the pcp and VLAN id are not correct for offloaded packets.
>
> Fix it by convert the data from big endian to CPU endian before
> perform the mask and shift operations.
>
> Fixes: eb9277cb2fd1 ("net/nfp: support VLAN push flow action")
> Cc: [email protected]
>
> Signed-off-by: Chaoyong He <[email protected]>
> Reviewed-by: Niklas Söderlund <[email protected]>
>
Applied to dpdk-next-net/main, thanks.