net/octeontx2: fix VLAN filter
authorSatheesh Paul <psatheesh@marvell.com>
Tue, 9 Feb 2021 10:01:13 +0000 (15:31 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 8 Mar 2021 13:31:22 +0000 (14:31 +0100)
commitc8238116ece889fe356c54930bca791091ab1938
treee042acaeff6fb23fc7df3e3b6d1b30354f3b4e9d
parenta84ab893ae75d14e73f65c4d0eeb9e88a5f7e339
net/octeontx2: fix VLAN filter

This patch fixes incorrect MCAM key preparation when creating
MCAM entry to allow VLAN IDs after vlan filtering is enabled on port.

Fixes: ba1b3b081edf ("net/octeontx2: support VLAN offloads")
Cc: stable@dpdk.org
Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/net/octeontx2/otx2_vlan.c