From: Satha Rao
CN10K platform supports Tx schedulars up to 2K.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_priv.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/common/cnxk/roc_nix_priv.h
b/drivers/common/cnxk/roc_nix_priv.h
index dc61a55d1b..b555322
Update scatter check as warning for SDP interfaces instead of error
to support cases where host application is already aware for the max
buf size.
Signed-off-by: Nithin Dabilpuram
---
drivers/net/cnxk/cnxk_ethdev_ops.c | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a
From: Satha Rao
Extend LSO offload to support IPv4 fragmentation.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 2 +-
drivers/common/cnxk/roc_nix.h | 8 ++
drivers/common/cnxk/roc_nix_ops.c | 113 +-
drivers/common/
From: Satha Rao
Condition to check SQ is non NULL before access. Also pktio locks
are simplied while doing threshold_profile config.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_tm_ops.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/common/cnxk/roc_nix_tm_ops.c
From: Rakesh Kudurumalla
Fix klockwork for NULL pointer dereference
Signed-off-by: Rakesh Kudurumalla
---
drivers/common/cnxk/roc_nix_queue.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/drivers/common/cnxk/roc_nix_queue.c
b/drivers/common/cnxk/roc_nix
From: Satha Rao
Create a new default tree for the SDP interface if more than one TX
queue is requested. This helps to backpressure each queue independently
when they are created with separate channels.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cnxk_ethdev.c | 5 -
1 file changed, 4 ins
From: Satha Rao
Drain all CQ buffers and close CQ when SQ enabled completion is about to
stop.
Signed-off-by: Satha Rao
---
drivers/net/cnxk/cn10k_ethdev.c | 16
drivers/net/cnxk/cn20k_ethdev.c | 11 ++-
drivers/net/cnxk/cnxk_ethdev.c | 11 ++-
3 files changed
From: Aarnav JP
fixed klocwork suggested issues in
cnxk component of drivers module
Fixes: db5744d3cd23 ("common/cnxk: support NIX debug for CN20K")
Fixes: 3c31a7485172 ("common/cnxk: config CPT result address for CN20K")
Fixes: 4b8eb5bd6627 ("common/cnxk: reserve CPT LF for Rx inject")
Fixes: f
Fix issue reported by kloc work.
Fixes: f410059baac6 ("common/cnxk: support inline inbound queue")
Signed-off-by: Nithin Dabilpuram
---
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
From: Rahul Bhansali
Aura field width has changed from 20 bits to 17 bits for
cn20k.
Signed-off-by: Rahul Bhansali
---
drivers/common/cnxk/roc_npa_type.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/common/cnxk/roc_npa_type.c
b/drivers/common/cnxk/roc_npa_t
Add support for SQ resize by making SQB mem allocated
in chunks of SQB size.
Signed-off-by: Nithin Dabilpuram
---
drivers/common/cnxk/roc_nix.h | 3 +
drivers/common/cnxk/roc_nix_queue.c | 389 --
.../common/cnxk/roc_platform_base_symbols.c | 1
From: Sunil Kumar Kori
On CN20K platform, backpressure can be configured for eight
different traffic classes per pool along with threshold and
BPIDs.
RoC API is added to configure the same.
Signed-off-by: Sunil Kumar Kori
---
drivers/common/cnxk/roc_nix.h | 1 +
drivers/comm
From: Rakesh Kudurumalla
Added function to check whether board supports
16B alignment
Signed-off-by: Rakesh Kudurumalla
---
drivers/common/cnxk/roc_features.h | 5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/common/cnxk/roc_features.h
b/drivers/common/cnxk/roc_features.h
index
From: Sunil Kumar Kori
By default, SQB pool is created with max (512 buffers) +
extra threshold buffers and aura limit is set to 512 + thr.
But while clean up, aura limit is reset to MAX (512 buffers)
only before destroying the pool.
Hence while destroying the pool, only 512 buffers are cleaned
From: Satha Rao
LSO enahanced to support flags modification. Added new mbox to enable
this feature.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 46
1 file changed, 36 insertions(+), 10 deletions(-)
diff --git a/drivers/common/cnxk/hw/nix.h
From: Satha Rao
SQ context extended with new feature, if enabled the counter is updated
when a packet if processed, whether it is transmitted or dropped.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/hw/nix.h | 47 +++--
drivers/common/cnxk/roc_features.h
From: Satha Rao
While performing IPv4 fragmentation, consider the DF flag from the
original packet header instead of setting it to zero.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix_ops.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/common/cnxk/
From: Monendra Singh Kushwaha
This patch fixes the inline device functions to work
when roc_nix is NULL.
Fixes: f81ee7133b48 ("common/cnxk: support inline SA context invalidate")
Signed-off-by: Monendra Singh Kushwaha
---
drivers/common/cnxk/roc_nix_inl.c | 2 +-
1 file changed, 1 insertion(+
From: Satha Rao
Create a new default tree for the SDP interface if more than one TX
queue is requested. This helps to backpressure each queue independently
when they are created with separate channels.
Signed-off-by: Satha Rao
---
drivers/common/cnxk/roc_nix.h | 2 +
drivers/
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(
1 - 100 of 1219 matches
Mail list logo