DPDK
24.11.0-rc3
|
#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 |
Outbound IPsec SA
Definition at line 333 of file rte_pmd_cnxk.h.
uint64_t esn_en |
ESN enable
Definition at line 338 of file rte_pmd_cnxk.h.
uint64_t ip_id |
IP ID generation type
Definition at line 340 of file rte_pmd_cnxk.h.
uint64_t hard_life_dec |
Hard life enable
Definition at line 343 of file rte_pmd_cnxk.h.
uint64_t soft_life_dec |
Soft life enable
Definition at line 345 of file rte_pmd_cnxk.h.
uint64_t count_glb_octets |
Count global octets
Definition at line 348 of file rte_pmd_cnxk.h.
uint64_t count_glb_pkts |
Count global pkts
Definition at line 350 of file rte_pmd_cnxk.h.
uint64_t count_mib_bytes |
Count bytes
Definition at line 352 of file rte_pmd_cnxk.h.
uint64_t count_mib_pkts |
Count pkts
Definition at line 355 of file rte_pmd_cnxk.h.
uint64_t hw_ctx_off |
HW context offset
Definition at line 357 of file rte_pmd_cnxk.h.
uint64_t ctx_id |
Context ID
Definition at line 360 of file rte_pmd_cnxk.h.
uint64_t ctx_push_size |
Context push size
Definition at line 364 of file rte_pmd_cnxk.h.
uint64_t ctx_hdr_size |
Context header size
Definition at line 368 of file rte_pmd_cnxk.h.
uint64_t aop_valid |
AOP enable
Definition at line 370 of file rte_pmd_cnxk.h.
uint64_t ctx_size |
Context size
Definition at line 373 of file rte_pmd_cnxk.h.
union { ... } w0 |
Word0
uint64_t cookie |
SA cookie
Definition at line 383 of file rte_pmd_cnxk.h.
union { ... } w1 |
Word1
uint64_t valid |
SA valid
Definition at line 392 of file rte_pmd_cnxk.h.
uint64_t dir |
SA direction
Definition at line 394 of file rte_pmd_cnxk.h.
uint64_t ipsec_mode |
IPsec mode
Definition at line 398 of file rte_pmd_cnxk.h.
uint64_t ipsec_protocol |
IPsec protocol
Definition at line 400 of file rte_pmd_cnxk.h.
uint64_t aes_key_len |
AES key length
Definition at line 403 of file rte_pmd_cnxk.h.
uint64_t enc_type |
Encryption algo
Definition at line 406 of file rte_pmd_cnxk.h.
uint64_t life_unit |
Soft life and hard life unit
Definition at line 408 of file rte_pmd_cnxk.h.
uint64_t auth_type |
Authentication algo
Definition at line 410 of file rte_pmd_cnxk.h.
uint64_t encap_type |
Encapsulation type
Definition at line 413 of file rte_pmd_cnxk.h.
uint64_t ipv4_df_src_or_ipv6_flw_lbl_src |
DF source
Definition at line 415 of file rte_pmd_cnxk.h.
uint64_t dscp_src |
DSCP source
Definition at line 417 of file rte_pmd_cnxk.h.
uint64_t iv_src |
IV source
Definition at line 419 of file rte_pmd_cnxk.h.
uint64_t ipid_gen |
IPID value in outer header
Definition at line 421 of file rte_pmd_cnxk.h.
uint64_t spi |
SPI
Definition at line 428 of file rte_pmd_cnxk.h.
union { ... } w2 |
Word 2
uint64_t rsvd8 |
Word3
Definition at line 434 of file rte_pmd_cnxk.h.
uint8_t cipher_key[RTE_PMD_CNXK_CTX_MAX_CKEY_LEN] |
Word4 - Word7
Definition at line 437 of file rte_pmd_cnxk.h.
union rte_pmd_cnxk_ipsec_outb_iv iv |
Word8 - Word9
Definition at line 440 of file rte_pmd_cnxk.h.
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.
uint64_t dscp |
DSCP for outer header
Definition at line 450 of file rte_pmd_cnxk.h.
uint64_t udp_dst_port |
UDP encapsulation destination port
Definition at line 454 of file rte_pmd_cnxk.h.
uint64_t udp_src_port |
UDP encapsulation source port
Definition at line 457 of file rte_pmd_cnxk.h.
union { ... } w10 |
Word10
union rte_pmd_cnxk_ipsec_outer_ip_hdr outer_hdr |
Word11 - Word14
Definition at line 463 of file rte_pmd_cnxk.h.
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.
struct rte_pmd_cnxk_ipsec_outb_ctx_update_reg ctx |
Word31 - Word36
Definition at line 469 of file rte_pmd_cnxk.h.