]> git.droids-corp.org - dpdk.git/commit
common/cnxk: fix QinQ ROC item mismatch
authorSatheesh Paul <psatheesh@marvell.com>
Thu, 17 Mar 2022 03:50:36 +0000 (09:20 +0530)
committerJerin Jacob <jerinj@marvell.com>
Mon, 25 Apr 2022 05:08:21 +0000 (07:08 +0200)
commitc6353c575469adea5db093ac68aed0525062e7d7
tree13c4895c27786bfe15fb678a9bba04bc0859c659
parentfe8e6571d58b7e9d4ad54f359899f208f30cf392
common/cnxk: fix QinQ ROC item mismatch

ROC code is assuming presence of vlan extension headers in
case of QinQ, because of this, there is incompatibility
between the driver and ROC. Fixed this in ROC by treating
QINQ as multiple VLAN pattern items for DPDK (as opposed to
treating QINQ as separate pattern item).

Fixes: b8ac8b089ce ("common/cnxk: support matching VLAN existence")
Cc: stable@dpdk.org
Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
drivers/common/cnxk/roc_npc_parse.c