DPDK 25.03.0-rc0
Data Fields
rte_pmd_cnxk_ipsec_inb_sa Struct Reference

#include <rte_pmd_cnxk.h>

Data Fields

union {
w0
 
union {
w1
 
union {
w2
 
uint64_t rsvd7
 
uint8_t cipher_key [RTE_PMD_CNXK_CTX_MAX_CKEY_LEN]
 
union {
w8
 
union {
w10
 
union rte_pmd_cnxk_ipsec_outer_ip_hdr outer_hdr
 
uint8_t hmac_opad_ipad [RTE_PMD_CNXK_CTX_MAX_OPAD_IPAD_LEN]
 
struct rte_pmd_cnxk_ipsec_inb_ctx_update_reg ctx
 
uint64_t ar_win: 3
 
uint64_t hard_life_dec: 1
 
uint64_t soft_life_dec: 1
 
uint64_t count_glb_octets: 1
 
uint64_t count_glb_pkts: 1
 
uint64_t count_mib_bytes: 1
 
uint64_t count_mib_pkts: 1
 
uint64_t hw_ctx_off: 7
 
uint64_t ctx_id: 16
 
uint64_t orig_pkt_fabs: 1
 
uint64_t orig_pkt_free: 1
 
uint64_t pkind: 6
 
uint64_t et_ovrwr: 1
 
uint64_t pkt_output: 2
 
uint64_t pkt_format: 1
 
uint64_t defrag_opt: 2
 
uint64_t x2p_dst: 1
 
uint64_t ctx_push_size: 7
 
uint64_t ctx_hdr_size: 2
 
uint64_t aop_valid: 1
 
uint64_t ctx_size: 4
 
uint64_t orig_pkt_aura: 20
 
uint64_t orig_pkt_foff: 8
 
uint64_t cookie: 32
 
uint64_t valid: 1
 
uint64_t dir: 1
 
uint64_t ipsec_mode: 1
 
uint64_t ipsec_protocol: 1
 
uint64_t aes_key_len: 2
 
uint64_t enc_type: 3
 
uint64_t life_unit: 1
 
uint64_t auth_type: 4
 
uint64_t encap_type: 2
 
uint64_t et_ovrwr_ddr_en: 1
 
uint64_t esn_en: 1
 
uint64_t tport_l4_incr_csum: 1
 
uint64_t ip_hdr_verify: 2
 
uint64_t udp_ports_verify: 1
 
uint64_t l3hdr_on_err: 1
 
uint64_t spi: 32
 
uint8_t salt [4]
 
uint64_t udp_src_port: 16
 
uint64_t udp_dst_port: 16
 

Detailed Description

Inbound IPsec SA

Definition at line 170 of file rte_pmd_cnxk.h.

Field Documentation

◆ ar_win

uint64_t ar_win

AR window size

Definition at line 175 of file rte_pmd_cnxk.h.

◆ hard_life_dec

uint64_t hard_life_dec

Hard life enable

Definition at line 177 of file rte_pmd_cnxk.h.

◆ soft_life_dec

uint64_t soft_life_dec

Soft life enable

Definition at line 179 of file rte_pmd_cnxk.h.

◆ count_glb_octets

uint64_t count_glb_octets

Count global octets

Definition at line 182 of file rte_pmd_cnxk.h.

◆ count_glb_pkts

uint64_t count_glb_pkts

Count global pkts

Definition at line 184 of file rte_pmd_cnxk.h.

◆ count_mib_bytes

uint64_t count_mib_bytes

Count bytes

Definition at line 186 of file rte_pmd_cnxk.h.

◆ count_mib_pkts

uint64_t count_mib_pkts

Count pkts

Definition at line 189 of file rte_pmd_cnxk.h.

◆ hw_ctx_off

uint64_t hw_ctx_off

HW context offset

Definition at line 191 of file rte_pmd_cnxk.h.

◆ ctx_id

uint64_t ctx_id

Context ID

Definition at line 194 of file rte_pmd_cnxk.h.

◆ orig_pkt_fabs

uint64_t orig_pkt_fabs

Original packet free absolute

Definition at line 197 of file rte_pmd_cnxk.h.

◆ orig_pkt_free

uint64_t orig_pkt_free

Original packet free

Definition at line 199 of file rte_pmd_cnxk.h.

◆ pkind

uint64_t pkind

PKIND for second pass

Definition at line 201 of file rte_pmd_cnxk.h.

◆ et_ovrwr

uint64_t et_ovrwr

Ether type overwrite

Definition at line 205 of file rte_pmd_cnxk.h.

◆ pkt_output

uint64_t pkt_output

Packet output type

Definition at line 207 of file rte_pmd_cnxk.h.

◆ pkt_format

uint64_t pkt_format

Packet format type

Definition at line 209 of file rte_pmd_cnxk.h.

◆ defrag_opt

uint64_t defrag_opt

Defrag option

Definition at line 211 of file rte_pmd_cnxk.h.

◆ x2p_dst

uint64_t x2p_dst

Reserved for X2P dest

Definition at line 213 of file rte_pmd_cnxk.h.

◆ ctx_push_size

uint64_t ctx_push_size

Context push size

Definition at line 216 of file rte_pmd_cnxk.h.

◆ ctx_hdr_size

uint64_t ctx_hdr_size

Context header size

Definition at line 220 of file rte_pmd_cnxk.h.

◆ aop_valid

uint64_t aop_valid

AOP enable

Definition at line 222 of file rte_pmd_cnxk.h.

◆ ctx_size

uint64_t ctx_size

Context size

Definition at line 225 of file rte_pmd_cnxk.h.

◆ 

union { ... } w0

Word0

◆ orig_pkt_aura

uint64_t orig_pkt_aura

Original packet aura

Definition at line 234 of file rte_pmd_cnxk.h.

◆ orig_pkt_foff

uint64_t orig_pkt_foff

Original packet free offset

Definition at line 237 of file rte_pmd_cnxk.h.

◆ cookie

uint64_t cookie

SA cookie

Definition at line 239 of file rte_pmd_cnxk.h.

◆ 

union { ... } w1

Word1

◆ valid

uint64_t valid

SA valid

Definition at line 248 of file rte_pmd_cnxk.h.

◆ dir

uint64_t dir

SA direction

Definition at line 250 of file rte_pmd_cnxk.h.

◆ ipsec_mode

uint64_t ipsec_mode

IPsec mode

Definition at line 254 of file rte_pmd_cnxk.h.

◆ ipsec_protocol

uint64_t ipsec_protocol

IPsec protocol

Definition at line 256 of file rte_pmd_cnxk.h.

◆ aes_key_len

uint64_t aes_key_len

AES key length

Definition at line 258 of file rte_pmd_cnxk.h.

◆ enc_type

uint64_t enc_type

Encryption algo

Definition at line 261 of file rte_pmd_cnxk.h.

◆ life_unit

uint64_t life_unit

Soft life and hard life unit

Definition at line 263 of file rte_pmd_cnxk.h.

◆ auth_type

uint64_t auth_type

Authentication algo

Definition at line 265 of file rte_pmd_cnxk.h.

◆ encap_type

uint64_t encap_type

Encapsulation type

Definition at line 268 of file rte_pmd_cnxk.h.

◆ et_ovrwr_ddr_en

uint64_t et_ovrwr_ddr_en

Ether type override enable

Definition at line 270 of file rte_pmd_cnxk.h.

◆ esn_en

uint64_t esn_en

ESN enable

Definition at line 272 of file rte_pmd_cnxk.h.

◆ tport_l4_incr_csum

uint64_t tport_l4_incr_csum

Transport mode L4 checksum incrementally update

Definition at line 274 of file rte_pmd_cnxk.h.

◆ ip_hdr_verify

uint64_t ip_hdr_verify

Outer IP header verification

Definition at line 276 of file rte_pmd_cnxk.h.

◆ udp_ports_verify

uint64_t udp_ports_verify

UDP enacapsulation ports verification

Definition at line 278 of file rte_pmd_cnxk.h.

◆ l3hdr_on_err

uint64_t l3hdr_on_err

Return 64B of L2/L3 header on error

Definition at line 281 of file rte_pmd_cnxk.h.

◆ spi

uint64_t spi

SPI

Definition at line 286 of file rte_pmd_cnxk.h.

◆ 

union { ... } w2

Word 2

◆ rsvd7

uint64_t rsvd7

Word3

Definition at line 292 of file rte_pmd_cnxk.h.

◆ cipher_key

uint8_t cipher_key[RTE_PMD_CNXK_CTX_MAX_CKEY_LEN]

Word4 - Word7

Definition at line 295 of file rte_pmd_cnxk.h.

◆ salt

uint8_t salt[4]

IV salt

Definition at line 302 of file rte_pmd_cnxk.h.

◆ 

union { ... } w8

Word8 - Word9

◆ udp_src_port

uint64_t udp_src_port

UDP encapsulation source port

Definition at line 313 of file rte_pmd_cnxk.h.

◆ udp_dst_port

uint64_t udp_dst_port

UDP encapsulation destination port

Definition at line 315 of file rte_pmd_cnxk.h.

◆ 

union { ... } w10

Word10

◆ outer_hdr

Word11 - Word14

Definition at line 321 of file rte_pmd_cnxk.h.

◆ hmac_opad_ipad

uint8_t hmac_opad_ipad[RTE_PMD_CNXK_CTX_MAX_OPAD_IPAD_LEN]

Word15 - Word30

Definition at line 324 of file rte_pmd_cnxk.h.

◆ ctx

Word31 - Word100

Definition at line 327 of file rte_pmd_cnxk.h.


The documentation for this struct was generated from the following file: