common/cnxk: fix attaching NPA LF to CPT VF
authorSrujana Challa <schalla@marvell.com>
Wed, 18 Aug 2021 11:56:35 +0000 (17:26 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Wed, 8 Sep 2021 11:59:02 +0000 (13:59 +0200)
commit0489d2606479d610aaec9e5c79a774cbdafd880c
tree9bffc7ed7703b838c5c9d9fd2b05f822fb2d441b
parent4f6cfd139344c1532602af6cf3542cc5b721dbfc
common/cnxk: fix attaching NPA LF to CPT VF

ATTACH_RESOURCES mailbox for CPT LFs is being called without
setting modify bit. Because of this previously attached NPA LF
to the CPT VF is getting removed, when only CPT VF is whitelisted.
This patch fixes the same.

Fixes: c045d2e5cbbc ("common/cnxk: add CPT configuration")
Cc: stable@dpdk.org
Signed-off-by: Srujana Challa <schalla@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
drivers/common/cnxk/roc_cpt.c