DPDK  24.11.0-rc3
Data Fields
rte_pmd_cnxk_ipsec_outb_sa Struct Reference

#include <rte_pmd_cnxk.h>

Data Fields

union {
w0
 
union {
w1
 
union {
w2
 
uint64_t rsvd8
 
uint8_t cipher_key [RTE_PMD_CNXK_CTX_MAX_CKEY_LEN]
 
union rte_pmd_cnxk_ipsec_outb_iv iv
 
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_outb_ctx_update_reg ctx
 
uint64_t esn_en: 1
 
uint64_t ip_id: 1
 
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 ctx_push_size: 7
 
uint64_t ctx_hdr_size: 2
 
uint64_t aop_valid: 1
 
uint64_t ctx_size: 4
 
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 ipv4_df_src_or_ipv6_flw_lbl_src: 1
 
uint64_t dscp_src: 1
 
uint64_t iv_src: 2
 
uint64_t ipid_gen: 1
 
uint64_t spi: 32
 
uint64_t ipv4_df_or_ipv6_flw_lbl: 20
 
uint64_t dscp: 6
 
uint64_t udp_dst_port: 16
 
uint64_t udp_src_port: 16
 

Detailed Description

Outbound IPsec SA

Definition at line 333 of file rte_pmd_cnxk.h.

Field Documentation

◆ esn_en

uint64_t esn_en

ESN enable

Definition at line 338 of file rte_pmd_cnxk.h.

◆ ip_id

uint64_t ip_id

IP ID generation type

Definition at line 340 of file rte_pmd_cnxk.h.

◆ hard_life_dec

uint64_t hard_life_dec

Hard life enable

Definition at line 343 of file rte_pmd_cnxk.h.

◆ soft_life_dec

uint64_t soft_life_dec

Soft life enable

Definition at line 345 of file rte_pmd_cnxk.h.

◆ count_glb_octets

uint64_t count_glb_octets

Count global octets

Definition at line 348 of file rte_pmd_cnxk.h.

◆ count_glb_pkts

uint64_t count_glb_pkts

Count global pkts

Definition at line 350 of file rte_pmd_cnxk.h.

◆ count_mib_bytes

uint64_t count_mib_bytes

Count bytes

Definition at line 352 of file rte_pmd_cnxk.h.

◆ count_mib_pkts

uint64_t count_mib_pkts

Count pkts

Definition at line 355 of file rte_pmd_cnxk.h.

◆ hw_ctx_off

uint64_t hw_ctx_off

HW context offset

Definition at line 357 of file rte_pmd_cnxk.h.

◆ ctx_id

uint64_t ctx_id

Context ID

Definition at line 360 of file rte_pmd_cnxk.h.

◆ ctx_push_size

uint64_t ctx_push_size

Context push size

Definition at line 364 of file rte_pmd_cnxk.h.

◆ ctx_hdr_size

uint64_t ctx_hdr_size

Context header size

Definition at line 368 of file rte_pmd_cnxk.h.

◆ aop_valid

uint64_t aop_valid

AOP enable

Definition at line 370 of file rte_pmd_cnxk.h.

◆ ctx_size

uint64_t ctx_size

Context size

Definition at line 373 of file rte_pmd_cnxk.h.

◆ w0

union { ... } w0

Word0

◆ cookie

uint64_t cookie

SA cookie

Definition at line 383 of file rte_pmd_cnxk.h.

◆ w1

union { ... } w1

Word1

◆ valid

uint64_t valid

SA valid

Definition at line 392 of file rte_pmd_cnxk.h.

◆ dir

uint64_t dir

SA direction

Definition at line 394 of file rte_pmd_cnxk.h.

◆ ipsec_mode

uint64_t ipsec_mode

IPsec mode

Definition at line 398 of file rte_pmd_cnxk.h.

◆ ipsec_protocol

uint64_t ipsec_protocol

IPsec protocol

Definition at line 400 of file rte_pmd_cnxk.h.

◆ aes_key_len

uint64_t aes_key_len

AES key length

Definition at line 403 of file rte_pmd_cnxk.h.

◆ enc_type

uint64_t enc_type

Encryption algo

Definition at line 406 of file rte_pmd_cnxk.h.

◆ life_unit

uint64_t life_unit

Soft life and hard life unit

Definition at line 408 of file rte_pmd_cnxk.h.

◆ auth_type

uint64_t auth_type

Authentication algo

Definition at line 410 of file rte_pmd_cnxk.h.

◆ encap_type

uint64_t encap_type

Encapsulation type

Definition at line 413 of file rte_pmd_cnxk.h.

◆ ipv4_df_src_or_ipv6_flw_lbl_src

uint64_t ipv4_df_src_or_ipv6_flw_lbl_src

DF source

Definition at line 415 of file rte_pmd_cnxk.h.

◆ dscp_src

uint64_t dscp_src

DSCP source

Definition at line 417 of file rte_pmd_cnxk.h.

◆ iv_src

uint64_t iv_src

IV source

Definition at line 419 of file rte_pmd_cnxk.h.

◆ ipid_gen

uint64_t ipid_gen

IPID value in outer header

Definition at line 421 of file rte_pmd_cnxk.h.

◆ spi

uint64_t spi

SPI

Definition at line 428 of file rte_pmd_cnxk.h.

◆ w2

union { ... } w2

Word 2

◆ rsvd8

uint64_t rsvd8

Word3

Definition at line 434 of file rte_pmd_cnxk.h.

◆ cipher_key

uint8_t cipher_key[RTE_PMD_CNXK_CTX_MAX_CKEY_LEN]

Word4 - Word7

Definition at line 437 of file rte_pmd_cnxk.h.

◆ iv

Word8 - Word9

Definition at line 440 of file rte_pmd_cnxk.h.

◆ ipv4_df_or_ipv6_flw_lbl

uint64_t ipv4_df_or_ipv6_flw_lbl

Outer header IPv4 DF or IPv6 flow label

Definition at line 447 of file rte_pmd_cnxk.h.

◆ dscp

uint64_t dscp

DSCP for outer header

Definition at line 450 of file rte_pmd_cnxk.h.

◆ udp_dst_port

uint64_t udp_dst_port

UDP encapsulation destination port

Definition at line 454 of file rte_pmd_cnxk.h.

◆ udp_src_port

uint64_t udp_src_port

UDP encapsulation source port

Definition at line 457 of file rte_pmd_cnxk.h.

◆ w10

union { ... } w10

Word10

◆ outer_hdr

Word11 - Word14

Definition at line 463 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 466 of file rte_pmd_cnxk.h.

◆ ctx

Word31 - Word36

Definition at line 469 of file rte_pmd_cnxk.h.


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