[dpdk-dev][PATCH v2 3/3] net/cnxk: adding cnxk support to configure custom sa index
Jerin Jacob
jerinjacobk at gmail.com
Sat May 7 12:17:29 CEST 2022
On Wed, May 4, 2022 at 2:14 PM Ray Kinsella <mdr at ashroe.eu> wrote:
>
>
> kirankumark at marvell.com writes:
>
> > From: Kiran Kumar K <kirankumark at marvell.com>
> >
> > Adding cnxk device driver support to configure custom sa index.
> > Custom sa index can be configured as part of the session create
> > as SPI, and later original SPI can be updated using session update.
> >
> > Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
> > ---
> > doc/api/doxy-api-index.md | 3 +-
> > doc/api/doxy-api.conf.in | 1 +
> > drivers/net/cnxk/cn10k_ethdev_sec.c | 107 +++++++++++++++++++++++++++-
> > drivers/net/cnxk/cn9k_ethdev.c | 6 ++
> > drivers/net/cnxk/cn9k_ethdev_sec.c | 2 +-
> > drivers/net/cnxk/cnxk_ethdev.h | 3 +-
> > drivers/net/cnxk/cnxk_ethdev_sec.c | 30 +++++---
> > drivers/net/cnxk/cnxk_flow.c | 1 +
> > drivers/net/cnxk/meson.build | 2 +
> > drivers/net/cnxk/rte_pmd_cnxk.h | 94 ++++++++++++++++++++++++
> > drivers/net/cnxk/version.map | 7 ++
> > 11 files changed, 241 insertions(+), 15 deletions(-)
> > create mode 100644 drivers/net/cnxk/rte_pmd_cnxk.h
> >
>
> Acked-by: Ray Kinsella <mdr at ashroe.eu>
Series Acked-by: Jerin Jacob <jerinj at marvell.com>
Updated the git commit as follows and Series applied to
dpdk-next-net-mrvl/for-next-net. Thanks
commit 5aa4c7ec93062381cdd155b2a87962a7e0186451 (HEAD -> for-next-net,
origin/for-next-net)
Author: Kiran Kumar K <kirankumark at marvell.com>
Date: Wed May 4 10:41:18 2022 +0530
net/cnxk: support to configure custom SA index
Adding cnxk device driver support to configure custom SA index.
Custom SA index can be configured as part of the session create
as SPI, and later original SPI can be updated using session update.
Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
Acked-by: Ray Kinsella <mdr at ashroe.eu>
Acked-by: Jerin Jacob <jerinj at marvell.com>
commit 1d63211bab5e87695d118b3b80e7b97c7eb18d99
Author: Kiran Kumar K <kirankumark at marvell.com>
Date: Wed May 4 10:41:17 2022 +0530
net/cnxk: devargs support to parse custom SA action
Adding devargs support to parse custom SA action.
Devargs can be specified in the following way.
-a 0002:02:00.0,custom_sa_act=1
Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
commit 8f8ce5cce0f29308edca8c65520c52a2d45b9f45
Author: Kiran Kumar K <kirankumark at marvell.com>
Date: Wed May 4 10:41:16 2022 +0530
common/cnxk: support to parse custom SA action
Adding ROC Flow changes to parse custom SA action for cnxk device.
When custom sa action is enabled, VTAG actions are not allowed.
And custom SA index will be calculated based on SA_HI and SA_LO
values. This allows the potential for a MCAM entry to match
many SAs, rather than only match a single SA.
Signed-off-by: Kiran Kumar K <kirankumark at marvell.com>
Acked-by: Jerin Jacob <jerinj at marvell.com>
More information about the dev
mailing list