[PATCH] net/nfp: fix the VLAN push flow action

Ferruh Yigit ferruh.yigit at amd.com
Thu May 18 12:12:16 CEST 2023


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: stable at dpdk.org
> 
> Signed-off-by: Chaoyong He <chaoyong.he at corigine.com>
> Reviewed-by: Niklas Söderlund <niklas.soderlund at corigine.com>
>

Applied to dpdk-next-net/main, thanks.


More information about the stable mailing list