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>
int rc, i;
/* Request LF resources */
- rc = cpt_lfs_attach(&cpt->dev, blkaddr, false, nb_lf);
+ rc = cpt_lfs_attach(&cpt->dev, blkaddr, true, nb_lf);
if (rc)
return rc;