Acked-by: Nithin Dabilpuram
On Wed, May 28, 2025 at 11:51 AM wrote:
>
> From: Sunil Kumar Kori
>
> When user requests to configure a device which is already in
> configured state then first device gets resets to default and
> then reconfigured with latest parameters.
>
On Wed, Apr 16, 2025 at 5:33 AM Stephen Hemminger
wrote:
>
> On Tue, 15 Apr 2025 12:38:18 +0530
> Nithin Dabilpuram wrote:
>
> > On Fri, Apr 4, 2025 at 6:16 AM Stephen Hemminger
> > wrote:
> > >
> > > On Thu, 3 Apr 2025 12:
On Fri, Apr 4, 2025 at 6:16 AM Stephen Hemminger
wrote:
>
> On Thu, 3 Apr 2025 12:38:34 +0530
> Nithin Dabilpuram wrote:
>
> > /**
> > * A structure used to retrieve link-level information of an Ethernet port.
> > */
> > @@
Port type data is made available by firmware via CGX lmac specific
firmware data. Extract the same.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 12
drivers/common/cnxk/roc_mbox.h| 4 ++--
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common
Speed capability currently is updating as
all speeds capable. Get it from CGX fw data
supported link modes instead.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h | 54 ++
drivers/common/cnxk/roc_mbox.h | 24 +++---
drivers/common/cnxk
Linux kernel netdevs.
Signed-off-by: Nithin Dabilpuram
---
lib/ethdev/ethdev_trace.h| 7 +
lib/ethdev/ethdev_trace_points.c | 3 +++
lib/ethdev/rte_ethdev.c | 44 ++--
lib/ethdev/rte_ethdev.h | 28
lib/ethdev
Provide link type along with link status get.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev.c | 21 -
drivers/net/cnxk/cnxk_ethdev.h | 1 +
drivers/net/cnxk/cnxk_link.c | 10 +++---
3 files changed, 28 insertions(+), 4 deletions(-)
diff --git a
Since outbound IPsec is not really dependent on SPI,
allow duplicate SPI in outbound inline IPsec sessions.
Signed-off-by: Nithin Dabilpuram
---
v3:
- Add cc stable to 29/33 patch
v2:
- Rebased on top of latest code
- Fixed build issue with 26/33
- Updated release notes
drivers/net/cnxk
Remove unnecessary delay on security stats read as
application is expected to poll if stats are not updated as expected.
It is expected that there would be a delay in stats to show up like
any other ethdev stats get API.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c
From: Satha Rao
This change refactors the interrupt handling to be platform-specific.
Some platforms directly call ioctls, while others provide a library API
for the same functionality. Moving the interrupt handling to
platform-specific implementations enhances clarity and maintainability.
Signe
From: Anoob Joseph
Remove unused param in SA init.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_security.c | 5 ++---
drivers/common/cnxk/cnxk_security.h | 3 +--
drivers/common/cnxk/roc_ie_ot.c | 4 +---
drivers/common/cnxk/roc_ie_ot.h | 3 +--
drivers/common/cnxk/
From: Monendra Singh Kushwaha
This patch enables allmulti mode on rpm/cgx vf devices.
Signed-off-by: Monendra Singh Kushwaha
---
.mailmap | 1 +
drivers/common/cnxk/roc_mbox.h| 1 +
drivers/common/cnxk/roc_nix_npc.c | 10 +++---
3 files changed, 9 insertions(
From: Monendra Singh Kushwaha
This patch adds support to reset inline device stats.
Signed-off-by: Monendra Singh Kushwaha
---
drivers/common/cnxk/roc_nix_inl.h | 1 +
drivers/common/cnxk/roc_nix_inl_dev.c | 27 +++
drivers/common/cnxk/version.map | 1 +
3 f
Use UCAST_CPT in cn20k as opposed to UCAST_IPSEC in cn10k
for inline IPsec rule.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h| 1 +
drivers/common/cnxk/roc_npc.c | 15 +++
drivers/common/cnxk/roc_npc_mcam.c | 7 ---
drivers
From: Rahul Bhansali
Store the pool buffer size in lookup memory to calculate
mbuf start address for reassembly case in fastpath.
Also, restructured lookup memory data per port.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_ethdev.c | 17 +
drivers/net/cnxk/cn20k_rxtx.h
In CN20k, since we have 16 Inline inbound queues possible, add
support to attach inline inbound queue directly to the application
instead of getting it attached to CPT PF.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_features.h | 12 +
drivers/common/cnxk/roc_mbox.h
From: Rahul Bhansali
Adds below structures for cn20k,
- cpt_parse_hdr_s
- cpt_rxc_sg_s
- cpt_rxc_ptr_info_s
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h| 211 +---
drivers/common/cnxk/roc_cpt.h | 2 +-
drivers/common/cnxk/roc_cpt_debug.
From: Anoob Joseph
add CPT LMT defines
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.h b/drivers/common/cnxk/roc_cpt.h
index c8cf9354da..ac27479371 100644
--- a/drivers/common/cnxk/roc_cpt.h
+++
From: Srujana Challa
This patch updates the error log to a debug log since
it is not needed.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_nix_inl_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c
b/drivers/common/cnxk/
Add support for cn20k IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 546 +++-
drivers/common/cnxk/cnxk_security.h | 12 +-
drivers/common/cnxk/version.map | 2 +
3 files changed, 557 insertions(+), 3
From: Satha Rao
Return -ENOSPC when there is no space to update the complete MC address
list, without flushing the existing list of addresses.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 32 ++
1 file changed, 24 insertions(+), 8 deletions(-)
CN20K does not have IE engines, hence change the default eng group
for cn20k and use legacy for cn10k or older version.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt.c | 6 +++---
drivers/common/cnxk/roc_cpt.h | 10 +++---
drivers/common/cnxk
Make sure the w2 in inbound SA is set for inline IPsec have
L3 header on errors.
Fixes: 350b7a536a51 ("common/cnxk: enable L3 header write back in SA")
Cc: sta...@dpdk.org
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 2 +-
1 file changed, 1 inser
From: Anoob Joseph
Add 20K defines for IPsec.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 1 +
drivers/common/cnxk/roc_ie_ow.c | 41 +++
drivers/common/cnxk/roc_ie_ow.h | 537
drivers/common/cnxk
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
doc/guides/rel_notes/release_25_03.rst | 1 +
drivers/event/cnxk/cn20k_worker.h | 111 -
2 files changed, 108 insertions(+), 4 deletions(-)
diff --git a/doc/guides/rel_notes
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn20k_worker.h | 4 +-
drivers/net/cnxk/cn20k_rx.h | 736 --
2 files changed, 688 insertions(+), 52 deletions(-)
diff --git a/drivers/event/cnxk/cn20
From: Anoob Joseph
9k would need special handling compared to 10k & 20k. Update the check
to reflect the same.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/
From: Anoob Joseph
CTX defines are common for all cases using CPT CTX.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_security.h | 1 +
drivers/common/cnxk/roc_cpt.h | 16
drivers/common/cnxk/roc_ie_ot.h | 16
drivers/net/cnxk/cn10k_rxtx.h
From: Rahul Bhansali
Sync in CPT_RXC_TIME_CFG mbox as per new fields added for
cn20k and restructure to support it.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_mbox.h| 2 ++
drivers/common/cnxk/roc_nix_inl.c | 55 +--
drivers/common/cnxk/roc_nix_i
From: Anoob Joseph
CPT result structure is same as in cn10k. Add entry for cn20k.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/hw/cpt.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers/common/cnxk/hw/cpt.h
index 47df3fbf9f..b308a18f0
Add support for cn20k inline IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c |7 -
drivers/net/cnxk/cn20k_ethdev.c | 11 +
drivers/net/cnxk/cn20k_ethdev.h | 17 +
drivers/net/cnxk/cn20k_ethdev_sec.c | 1182
From: Rahul Bhansali
Add action2 config for IPsec rule.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/nix.h | 13 +++--
drivers/common/cnxk/roc_mbox.h | 1 +
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_mcam.c | 1 +
4 files changed, 14
From: Rahul Bhansali
For Inline device, add new roc API to get IPsec and
reassembly profile id.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix_inl.c | 60 +++
drivers/common/cnxk/roc_nix_inl.h | 2 ++
2 files changed, 62 insertions(+)
diff --git a/d
From: Rahul Bhansali
Reassembly profile configuration for nix inline path.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 6 +
drivers/common/cnxk/roc_ie_ow.c| 22 +++
drivers/common/cnxk/roc_ie_ow.h| 2 +
drivers/common/cnxk/roc_nix.h
Add mbox support for global inline profile allocation.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_mbox.h| 45 ++
drivers/common/cnxk/roc_nix_inl.c | 53 +++
2 files changed, 85 insertions(+), 13 deletions(-)
diff --git a
From: Rahul Bhansali
Features updated for cn20k platform.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/common/cnxk/roc_features.h
b/drivers/common/cnxk/roc_features.h
i
From: Rahul Bhansali
Add SA context invalidate support for cn20k.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h | 11 -
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 37 ++-
3 files changed, 47 insertions
From: Rahul Bhansali
Support in NIX inline device for inbound and outbound SA init.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_cpt.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 62 ++-
drivers/common/cnxk/roc_nix_inl_dev.c | 22 ++
dri
From: Anoob Joseph
Add CPT cn20k device enumeration.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_constants.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/cnxk/roc_constants.h
b/drivers/common/cnxk/roc_constants.h
index 67cd74b28a..ac492651de 100644
--- a/dr
From: Anoob Joseph
IE engines are present only with cn9k and cn10k.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 43 +++
drivers/common/cnxk/roc_cpt.h | 3 +++
2 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/drivers/common/cnx
Use UCAST_CPT in cn20k as opposed to UCAST_IPSEC in cn10k
for inline IPsec rule.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h| 1 +
drivers/common/cnxk/roc_npc.c | 15 +++
drivers/common/cnxk/roc_npc_mcam.c | 7 ---
drivers
From: Satha Rao
This change refactors the interrupt handling to be platform-specific.
Some platforms directly call ioctls, while others provide a library API
for the same functionality. Moving the interrupt handling to
platform-specific implementations enhances clarity and maintainability.
Signe
In CN20k, since we have 16 Inline inbound queues possible, add
support to attach inline inbound queue directly to the application
instead of getting it attached to CPT PF.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_features.h | 12 +
drivers/common/cnxk/roc_mbox.h
From: Srujana Challa
This patch updates the error log to a debug log since
it is not needed.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_nix_inl_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c
b/drivers/common/cnxk/
From: Satha Rao
Return -ENOSPC when there is no space to update the complete MC address
list, without flushing the existing list of addresses.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 32 ++
1 file changed, 24 insertions(+), 8 deletions(-)
From: Monendra Singh Kushwaha
This patch adds support to reset inline device stats.
Signed-off-by: Monendra Singh Kushwaha
---
drivers/common/cnxk/roc_nix_inl.h | 1 +
drivers/common/cnxk/roc_nix_inl_dev.c | 27 +++
drivers/common/cnxk/version.map | 1 +
3 f
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
doc/guides/rel_notes/release_25_03.rst | 1 +
drivers/event/cnxk/cn20k_worker.h | 111 -
2 files changed, 108 insertions(+), 4 deletions(-)
diff --git a/doc/guides/rel_notes
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn20k_worker.h | 4 +-
drivers/net/cnxk/cn20k_rx.h | 736 --
2 files changed, 688 insertions(+), 52 deletions(-)
diff --git a/drivers/event/cnxk/cn20
Make sure the w2 in inbound SA is set for inline IPsec have
L3 header on errors.
Fixes: 350b7a536a51 ("common/cnxk: enable L3 header write back in SA")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
From: Monendra Singh Kushwaha
This patch enables allmulti mode on rpm/cgx vf devices.
Signed-off-by: Monendra Singh Kushwaha
---
.mailmap | 1 +
drivers/common/cnxk/roc_mbox.h| 1 +
drivers/common/cnxk/roc_nix_npc.c | 10 +++---
3 files changed, 9 insertions(
From: Rahul Bhansali
Store the pool buffer size in lookup memory to calculate
mbuf start address for reassembly case in fastpath.
Also, restructured lookup memory data per port.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_ethdev.c | 17 +
drivers/net/cnxk/cn20k_rxtx.h
From: Rahul Bhansali
Sync in CPT_RXC_TIME_CFG mbox as per new fields added for
cn20k and restructure to support it.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_mbox.h| 2 ++
drivers/common/cnxk/roc_nix_inl.c | 55 +--
drivers/common/cnxk/roc_nix_i
Add support for cn20k inline IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c |7 -
drivers/net/cnxk/cn20k_ethdev.c | 11 +
drivers/net/cnxk/cn20k_ethdev.h | 17 +
drivers/net/cnxk/cn20k_ethdev_sec.c | 1182
From: Rahul Bhansali
Reassembly profile configuration for nix inline path.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 6 +
drivers/common/cnxk/roc_ie_ow.c| 22 +++
drivers/common/cnxk/roc_ie_ow.h| 2 +
drivers/common/cnxk/roc_nix.h
From: Rahul Bhansali
Add action2 config for IPsec rule.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/nix.h | 13 +++--
drivers/common/cnxk/roc_mbox.h | 1 +
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_mcam.c | 1 +
4 files changed, 14
From: Rahul Bhansali
For Inline device, add new roc API to get IPsec and
reassembly profile id.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix_inl.c | 60 +++
drivers/common/cnxk/roc_nix_inl.h | 2 ++
2 files changed, 62 insertions(+)
diff --git a/d
Add mbox support for global inline profile allocation.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_mbox.h| 45 ++
drivers/common/cnxk/roc_nix_inl.c | 53 +++
2 files changed, 85 insertions(+), 13 deletions(-)
diff --git a
From: Rahul Bhansali
Support in NIX inline device for inbound and outbound SA init.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_cpt.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 62 ++-
drivers/common/cnxk/roc_nix_inl_dev.c | 22 ++
dri
From: Rahul Bhansali
Features updated for cn20k platform.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/common/cnxk/roc_features.h
b/drivers/common/cnxk/roc_features.h
i
From: Rahul Bhansali
Add SA context invalidate support for cn20k.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h | 11 -
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 37 ++-
3 files changed, 47 insertions
From: Rahul Bhansali
Adds below structures for cn20k,
- cpt_parse_hdr_s
- cpt_rxc_sg_s
- cpt_rxc_ptr_info_s
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h| 211 +---
drivers/common/cnxk/roc_cpt.h | 2 +-
drivers/common/cnxk/roc_cpt_debug.
Add support for cn20k IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 546 +++-
drivers/common/cnxk/cnxk_security.h | 12 +-
drivers/common/cnxk/version.map | 2 +
3 files changed, 557 insertions(+), 3
CN20K does not have IE engines, hence change the default eng group
for cn20k and use legacy for cn10k or older version.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt.c | 6 +++---
drivers/common/cnxk/roc_cpt.h | 10 +++---
drivers/common/cnxk
From: Anoob Joseph
add CPT LMT defines
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.h b/drivers/common/cnxk/roc_cpt.h
index c8cf9354da..ac27479371 100644
--- a/drivers/common/cnxk/roc_cpt.h
+++
From: Anoob Joseph
Add 20K defines for IPsec.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 1 +
drivers/common/cnxk/roc_ie_ow.c | 41 +++
drivers/common/cnxk/roc_ie_ow.h | 537
drivers/common/cnxk
From: Anoob Joseph
9k would need special handling compared to 10k & 20k. Update the check
to reflect the same.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/roc_cpt.c b/drivers/common/
From: Anoob Joseph
Add CPT cn20k device enumeration.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_constants.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/cnxk/roc_constants.h
b/drivers/common/cnxk/roc_constants.h
index 67cd74b28a..ac492651de 100644
--- a/dr
From: Anoob Joseph
IE engines are present only with cn9k and cn10k.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.c | 43 +++
drivers/common/cnxk/roc_cpt.h | 3 +++
2 files changed, 41 insertions(+), 5 deletions(-)
diff --git a/drivers/common/cnx
From: Anoob Joseph
CPT result structure is same as in cn10k. Add entry for cn20k.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/hw/cpt.h | 10 ++
1 file changed, 10 insertions(+)
diff --git a/drivers/common/cnxk/hw/cpt.h b/drivers/common/cnxk/hw/cpt.h
index 47df3fbf9f..b308a18f0
Remove unnecessary delay on security stats read as
application is expected to poll if stats are not updated as expected.
It is expected that there would be a delay in stats to show up like
any other ethdev stats get API.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c
From: Anoob Joseph
CTX defines are common for all cases using CPT CTX.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_security.h | 1 +
drivers/common/cnxk/roc_cpt.h | 16
drivers/common/cnxk/roc_ie_ot.h | 16
drivers/net/cnxk/cn10k_rxtx.h
From: Anoob Joseph
Remove unused param in SA init.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/cnxk_security.c | 5 ++---
drivers/common/cnxk/cnxk_security.h | 3 +--
drivers/common/cnxk/roc_ie_ot.c | 4 +---
drivers/common/cnxk/roc_ie_ot.h | 3 +--
drivers/common/cnxk/
Since outbound IPsec is not really dependent on SPI,
allow duplicate SPI in outbound inline IPsec sessions.
Signed-off-by: Nithin Dabilpuram
---
v2:
- Rebased on top of latest code
- Fixed build issue with 26/33
- Updated release notes
drivers/net/cnxk/cn10k_ethdev_sec.c | 14
CN20K does not have IE engines, hence change the default eng group
for cn20k and use legacy for cn10k or older version.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_cpt.c | 6 +++---
drivers/common/cnxk/roc_cpt.h | 10 +++---
drivers/common/cnxk
From: Satha Rao
This change refactors the interrupt handling to be platform-specific.
Some platforms directly call ioctls, while others provide a library API
for the same functionality. Moving the interrupt handling to
platform-specific implementations enhances clarity and maintainability.
Signe
From: Satha Rao
Return -ENOSPC when there is no space to update the complete MC address
list, without flushing the existing list of addresses.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 32 ++
1 file changed, 24 insertions(+), 8 deletions(-)
From: Srujana Challa
This patch updates the error log to a debug log since
it is not needed.
Signed-off-by: Srujana Challa
---
drivers/common/cnxk/roc_nix_inl_dev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_inl_dev.c
b/drivers/common/cnxk/
From: Monendra Singh Kushwaha
This patch adds support to reset inline device stats.
Signed-off-by: Monendra Singh Kushwaha
---
drivers/common/cnxk/roc_nix_inl.h | 1 +
drivers/common/cnxk/roc_nix_inl_dev.c | 27 +++
drivers/common/cnxk/version.map | 1 +
3 f
Make sure the w2 in inbound SA is set for inline IPsec have
L3 header on errors.
Fixes: 350b7a536a51 ("common/cnxk: enable L3 header write back in SA")
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
From: Rahul Bhansali
For small packets less than 55 bytes, SQ error interrupts are
observed.
When checksum offload flag is enabled and mbuf ol_flags are not
set, then default L3 type will be set to IPv6 in vector
processing. Based on this, HW will still validate for minimum
header size and genera
From: Monendra Singh Kushwaha
This patch enables allmulti mode on rpm/cgx vf devices.
Signed-off-by: Monendra Singh Kushwaha
---
.mailmap | 1 +
drivers/common/cnxk/roc_mbox.h| 1 +
drivers/common/cnxk/roc_nix_npc.c | 10 +++---
3 files changed, 9 insertions(
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn20k_worker.h | 111 --
drivers/net/cnxk/cn20k_rx.h | 5 +-
2 files changed, 109 insertions(+), 7 deletions(-)
diff --git a/drivers/event/cnxk/cn20k
From: Rahul Bhansali
Inline IPsec Rx support for cn20k
Signed-off-by: Rahul Bhansali
---
drivers/event/cnxk/cn20k_worker.h | 4 +-
drivers/net/cnxk/cn20k_rx.h | 737 --
2 files changed, 689 insertions(+), 52 deletions(-)
diff --git a/drivers/event/cnxk/cn20
From: Rahul Bhansali
Store the pool buffer size in lookup memory to calculate
mbuf start address for reassembly case in fastpath.
Also, restructured lookup memory data per port.
Signed-off-by: Rahul Bhansali
---
drivers/net/cnxk/cn20k_ethdev.c | 17 +
drivers/net/cnxk/cn20k_rxtx.h
From: Rahul Bhansali
Sync in CPT_RXC_TIME_CFG mbox as per new fields added for
cn20k and restructure to support it.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_mbox.h| 2 ++
drivers/common/cnxk/roc_nix_inl.c | 55 +--
drivers/common/cnxk/roc_nix_i
From: Rahul Bhansali
Add action2 config for IPsec rule.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/nix.h | 13 +++--
drivers/common/cnxk/roc_mbox.h | 1 +
drivers/common/cnxk/roc_npc.h | 1 +
drivers/common/cnxk/roc_npc_mcam.c | 1 +
4 files changed, 14
Add support for cn20k inline IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cn10k_ethdev_sec.c |7 -
drivers/net/cnxk/cn20k_ethdev.c | 11 +
drivers/net/cnxk/cn20k_ethdev.h | 17 +
drivers/net/cnxk/cn20k_ethdev_sec.c | 1182
Use UCAST_CPT in cn20k as opposed to UCAST_IPSEC in cn10k
for inline IPsec rule.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/hw/nix.h| 1 +
drivers/common/cnxk/roc_npc.c | 15 +++
drivers/common/cnxk/roc_npc_mcam.c | 7 ---
drivers
From: Rahul Bhansali
For Inline device, add new roc API to get IPsec and
reassembly profile id.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_nix_inl.c | 60 +++
drivers/common/cnxk/roc_nix_inl.h | 2 ++
2 files changed, 62 insertions(+)
diff --git a/d
From: Rahul Bhansali
Reassembly profile configuration for nix inline path.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 6 +
drivers/common/cnxk/roc_ie_ow.c| 22 +++
drivers/common/cnxk/roc_ie_ow.h| 2 +
drivers/common/cnxk/roc_nix.h
In CN20k, since we have 16 Inline inbound queues possible, add
support to attach inline inbound queue directly to the application
instead of getting it attached to CPT PF.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_features.h | 12 +
drivers/common/cnxk/roc_mbox.h
From: Rahul Bhansali
Support in NIX inline device for inbound and outbound SA init.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_cpt.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 62 ++-
drivers/common/cnxk/roc_nix_inl_dev.c | 22 ++
dri
Add mbox support for global inline profile allocation.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_mbox.h| 45 ++
drivers/common/cnxk/roc_nix_inl.c | 53 +++
2 files changed, 85 insertions(+), 13 deletions(-)
diff --git a
From: Rahul Bhansali
Features updated for cn20k platform.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_features.h | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/drivers/common/cnxk/roc_features.h
b/drivers/common/cnxk/roc_features.h
i
From: Rahul Bhansali
Add SA context invalidate support for cn20k.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h | 11 -
drivers/common/cnxk/roc_nix.h | 1 +
drivers/common/cnxk/roc_nix_inl.c | 37 ++-
3 files changed, 47 insertions
From: Rahul Bhansali
Adds below structures for cn20k,
- cpt_parse_hdr_s
- cpt_rxc_sg_s
- cpt_rxc_ptr_info_s
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/hw/cpt.h| 211 +---
drivers/common/cnxk/roc_cpt.h | 2 +-
drivers/common/cnxk/roc_cpt_debug.
Add support for cn20k IPsec session create/destroy.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/cnxk_security.c | 546 +++-
drivers/common/cnxk/cnxk_security.h | 12 +-
drivers/common/cnxk/version.map | 2 +
3 files changed, 557 insertions(+), 3
From: Anoob Joseph
Add 20K defines for IPsec.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/meson.build | 1 +
drivers/common/cnxk/roc_api.h | 1 +
drivers/common/cnxk/roc_ie_ow.c | 41 +++
drivers/common/cnxk/roc_ie_ow.h | 537
drivers/common/cnxk
From: Anoob Joseph
Add CPT cn20k device enumeration.
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_constants.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/common/cnxk/roc_constants.h
b/drivers/common/cnxk/roc_constants.h
index 67cd74b28a..ac492651de 100644
--- a/dr
From: Anoob Joseph
add CPT LMT defines
Signed-off-by: Anoob Joseph
---
drivers/common/cnxk/roc_cpt.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/common/cnxk/roc_cpt.h b/drivers/common/cnxk/roc_cpt.h
index c8cf9354da..ac27479371 100644
--- a/drivers/common/cnxk/roc_cpt.h
+++
1 - 100 of 1200 matches
Mail list logo