Message ID | 20210818115635.3526239-1-schalla@marvell.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | akhil goyal |
Headers | show |
Series | [v2] common/cnxk: fix attaching NPA LF to CPT VF | expand |
Context | Check | Description |
---|---|---|
ci/intel-Testing | success | Testing PASS |
ci/iol-mellanox-Performance | success | Performance Testing PASS |
ci/Intel-compilation | success | Compilation OK |
ci/iol-x86_64-compile-testing | success | Testing PASS |
ci/iol-x86_64-unit-testing | fail | Testing issues |
ci/iol-aarch64-compile-testing | success | Testing PASS |
ci/iol-intel-Functional | success | Functional Testing PASS |
ci/iol-intel-Performance | success | Performance Testing PASS |
ci/iol-broadcom-Performance | success | Performance Testing PASS |
ci/iol-aarch64-unit-testing | success | Testing PASS |
ci/github-robot: build | success | github build: passed |
ci/iol-broadcom-Functional | success | Functional Testing PASS |
ci/checkpatch | warning | coding style issues |
> 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") > > v2: > - Fixed checkpatch warning. Changelog should be mentioned after --- Acked-by: Akhil Goyal <gakhil@marvell.com> Applied to dpdk-next-crypto > > Signed-off-by: Srujana Challa <schalla@marvell.com> > --- > drivers/common/cnxk/roc_cpt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/common/cnxk/roc_cpt.c > b/drivers/common/cnxk/roc_cpt.c > index 2ffd271566..60a68876b0 100644 > --- a/drivers/common/cnxk/roc_cpt.c > +++ b/drivers/common/cnxk/roc_cpt.c > @@ -478,7 +478,7 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int > nb_lf) > 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; > > -- > 2.25.1
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/cnxk/roc_cpt.c index 2ffd271566..60a68876b0 100644 --- a/drivers/common/cnxk/roc_cpt.c +++ b/drivers/common/cnxk/roc_cpt.c @@ -478,7 +478,7 @@ roc_cpt_dev_configure(struct roc_cpt *roc_cpt, int nb_lf) 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;
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") v2: - Fixed checkpatch warning. Signed-off-by: Srujana Challa <schalla@marvell.com> --- drivers/common/cnxk/roc_cpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)