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: sta...@dpdk.org > > Signed-off-by: Chaoyong He <chaoyong...@corigine.com> > Reviewed-by: Niklas Söderlund <niklas.soderl...@corigine.com> >
Applied to dpdk-next-net/main, thanks.