DPDK  24.07.0
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 309 of file rte_pmd_cnxk.h.

Field Documentation

◆ esn_en

uint64_t esn_en

ESN enable

Definition at line 314 of file rte_pmd_cnxk.h.

◆ ip_id

uint64_t ip_id

IP ID generation type

Definition at line 316 of file rte_pmd_cnxk.h.

◆ hard_life_dec

uint64_t hard_life_dec

Hard life enable

Definition at line 319 of file rte_pmd_cnxk.h.

◆ soft_life_dec

uint64_t soft_life_dec

Soft life enable

Definition at line 321 of file rte_pmd_cnxk.h.

◆ count_glb_octets

uint64_t count_glb_octets

Count global octets

Definition at line 324 of file rte_pmd_cnxk.h.

◆ count_glb_pkts

uint64_t count_glb_pkts

Count global pkts

Definition at line 326 of file rte_pmd_cnxk.h.

◆ count_mib_bytes

uint64_t count_mib_bytes

Count bytes

Definition at line 328 of file rte_pmd_cnxk.h.

◆ count_mib_pkts

uint64_t count_mib_pkts

Count pkts

Definition at line 331 of file rte_pmd_cnxk.h.

◆ hw_ctx_off

uint64_t hw_ctx_off

HW context offset

Definition at line 333 of file rte_pmd_cnxk.h.

◆ ctx_id

uint64_t ctx_id

Context ID

Definition at line 336 of file rte_pmd_cnxk.h.

◆ ctx_push_size

uint64_t ctx_push_size

Context push size

Definition at line 340 of file rte_pmd_cnxk.h.

◆ ctx_hdr_size

uint64_t ctx_hdr_size

Context header size

Definition at line 344 of file rte_pmd_cnxk.h.

◆ aop_valid

uint64_t aop_valid

AOP enable

Definition at line 346 of file rte_pmd_cnxk.h.

◆ ctx_size

uint64_t ctx_size

Context size

Definition at line 349 of file rte_pmd_cnxk.h.

◆ w0

union { ... } w0

Word0

◆ cookie

uint64_t cookie

SA cookie

Definition at line 359 of file rte_pmd_cnxk.h.

◆ w1

union { ... } w1

Word1

◆ valid

uint64_t valid

SA valid

Definition at line 368 of file rte_pmd_cnxk.h.

◆ dir

uint64_t dir

SA direction

Definition at line 370 of file rte_pmd_cnxk.h.

◆ ipsec_mode

uint64_t ipsec_mode

IPsec mode

Definition at line 374 of file rte_pmd_cnxk.h.

◆ ipsec_protocol

uint64_t ipsec_protocol

IPsec protocol

Definition at line 376 of file rte_pmd_cnxk.h.

◆ aes_key_len

uint64_t aes_key_len

AES key length

Definition at line 379 of file rte_pmd_cnxk.h.

◆ enc_type

uint64_t enc_type

Encryption algo

Definition at line 382 of file rte_pmd_cnxk.h.

◆ life_unit

uint64_t life_unit

Soft life and hard life unit

Definition at line 384 of file rte_pmd_cnxk.h.

◆ auth_type

uint64_t auth_type

Authentication algo

Definition at line 386 of file rte_pmd_cnxk.h.

◆ encap_type

uint64_t encap_type

Encapsulation type

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

◆ dscp_src

uint64_t dscp_src

DSCP source

Definition at line 393 of file rte_pmd_cnxk.h.

◆ iv_src

uint64_t iv_src

IV source

Definition at line 395 of file rte_pmd_cnxk.h.

◆ ipid_gen

uint64_t ipid_gen

IPID value in outer header

Definition at line 397 of file rte_pmd_cnxk.h.

◆ spi

uint64_t spi

SPI

Definition at line 404 of file rte_pmd_cnxk.h.

◆ w2

union { ... } w2

Word 2

◆ rsvd8

uint64_t rsvd8

Word3

Definition at line 410 of file rte_pmd_cnxk.h.

◆ cipher_key

uint8_t cipher_key[RTE_PMD_CNXK_CTX_MAX_CKEY_LEN]

Word4 - Word7

Definition at line 413 of file rte_pmd_cnxk.h.

◆ iv

Word8 - Word9

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

◆ dscp

uint64_t dscp

DSCP for outer header

Definition at line 426 of file rte_pmd_cnxk.h.

◆ udp_dst_port

uint64_t udp_dst_port

UDP encapsulation destination port

Definition at line 430 of file rte_pmd_cnxk.h.

◆ udp_src_port

uint64_t udp_src_port

UDP encapsulation source port

Definition at line 433 of file rte_pmd_cnxk.h.

◆ w10

union { ... } w10

Word10

◆ outer_hdr

Word11 - Word14

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

◆ ctx

Word31 - Word36

Definition at line 445 of file rte_pmd_cnxk.h.


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