Thread (25 messages) 25 messages, 2 authors, 13d ago

Re: [PATCH 10/14] net/cnxk: add MSNS inb SA and CN20K CPT result struct

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2026-09-17 16:19:49

On Thu, 17 Sep 2026 12:40:12 +0530
Rahul Bhansali [off-list ref] wrote:
From: Rakesh Kudurumalla <redacted>

Define the 1KB inbound MSNS SA layout with four packed anti-replay
sub-spaces, the MSNS context update region, and compile-time size
checks. Extend the HW SA union and add the CN20K CPT result format
for inline IPsec custom profile support.

Signed-off-by: Rakesh Kudurumalla <redacted>
---
Patch 10/14 net/cnxk: add MSNS inb SA and CN20K CPT result struct
----------------------------------------------------------------
Warning: undocumented API change in an installed header.
- ltype_mask, ltype_match, lid, noffset and offset are removed from
  struct rte_pmd_cnxk_rx_gen_inl_cfg in rte_pmd_cnxk.h.
- That struct is embedded in rte_pmd_cnxk_profile_cfg_params, used by
  rte_pmd_cnxk_nix_inl_custom_profile_setup() (experimental, 25.11).
- The removal is source-breaking and is not in the commit log.
Split it out and add a release note.

Warning: rte_pmd_cnxk_inl_inb_prof_sa_base_get() now returns the
default IPsec SA base when profile_id == UINT16_MAX. Neither the
Doxygen ("Custom profile ID to get the SA base for") nor the commit
log mention this.

Warning: a new typedef is added already marked @deprecated:
  typedef struct rte_pmd_cnxk_ipsec_inb_msns_sa
          rte_pmd_cnxk_ipsec_inb_sa_msns;
Drop it.

Info: RTE_PMD_CNXK_IPSEC_INB_MSNS_CTX_PUSH_SZ(x) is an identity macro,
and RTE_PMD_CNXK_IPSEC_INB_SA_MSNS_SZ_ALIGN duplicates
RTE_PMD_CNXK_IPSEC_INB_SA_MSNS_SZ.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help