DPDK
24.07.0
|
#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 309 of file rte_pmd_cnxk.h.
uint64_t esn_en |
ESN enable
Definition at line 314 of file rte_pmd_cnxk.h.
uint64_t ip_id |
IP ID generation type
Definition at line 316 of file rte_pmd_cnxk.h.
uint64_t hard_life_dec |
Hard life enable
Definition at line 319 of file rte_pmd_cnxk.h.
uint64_t soft_life_dec |
Soft life enable
Definition at line 321 of file rte_pmd_cnxk.h.
uint64_t count_glb_octets |
Count global octets
Definition at line 324 of file rte_pmd_cnxk.h.
uint64_t count_glb_pkts |
Count global pkts
Definition at line 326 of file rte_pmd_cnxk.h.
uint64_t count_mib_bytes |
Count bytes
Definition at line 328 of file rte_pmd_cnxk.h.
uint64_t count_mib_pkts |
Count pkts
Definition at line 331 of file rte_pmd_cnxk.h.
uint64_t hw_ctx_off |
HW context offset
Definition at line 333 of file rte_pmd_cnxk.h.
uint64_t ctx_id |
Context ID
Definition at line 336 of file rte_pmd_cnxk.h.
uint64_t ctx_push_size |
Context push size
Definition at line 340 of file rte_pmd_cnxk.h.
uint64_t ctx_hdr_size |
Context header size
Definition at line 344 of file rte_pmd_cnxk.h.
uint64_t aop_valid |
AOP enable
Definition at line 346 of file rte_pmd_cnxk.h.
uint64_t ctx_size |
Context size
Definition at line 349 of file rte_pmd_cnxk.h.
union { ... } w0 |
Word0
uint64_t cookie |
SA cookie
Definition at line 359 of file rte_pmd_cnxk.h.
union { ... } w1 |
Word1
uint64_t valid |
SA valid
Definition at line 368 of file rte_pmd_cnxk.h.
uint64_t dir |
SA direction
Definition at line 370 of file rte_pmd_cnxk.h.
uint64_t ipsec_mode |
IPsec mode
Definition at line 374 of file rte_pmd_cnxk.h.
uint64_t ipsec_protocol |
IPsec protocol
Definition at line 376 of file rte_pmd_cnxk.h.
uint64_t aes_key_len |
AES key length
Definition at line 379 of file rte_pmd_cnxk.h.
uint64_t enc_type |
Encryption algo
Definition at line 382 of file rte_pmd_cnxk.h.
uint64_t life_unit |
Soft life and hard life unit
Definition at line 384 of file rte_pmd_cnxk.h.
uint64_t auth_type |
Authentication algo
Definition at line 386 of file rte_pmd_cnxk.h.
uint64_t encap_type |
Encapsulation type
Definition at line 389 of file rte_pmd_cnxk.h.
uint64_t ipv4_df_src_or_ipv6_flw_lbl_src |
DF source
Definition at line 391 of file rte_pmd_cnxk.h.
uint64_t dscp_src |
DSCP source
Definition at line 393 of file rte_pmd_cnxk.h.
uint64_t iv_src |
IV source
Definition at line 395 of file rte_pmd_cnxk.h.
uint64_t ipid_gen |
IPID value in outer header
Definition at line 397 of file rte_pmd_cnxk.h.
uint64_t spi |
SPI
Definition at line 404 of file rte_pmd_cnxk.h.
union { ... } w2 |
Word 2
uint64_t rsvd8 |
Word3
Definition at line 410 of file rte_pmd_cnxk.h.
uint8_t cipher_key[RTE_PMD_CNXK_CTX_MAX_CKEY_LEN] |
Word4 - Word7
Definition at line 413 of file rte_pmd_cnxk.h.
union rte_pmd_cnxk_ipsec_outb_iv iv |
Word8 - Word9
Definition at line 416 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 423 of file rte_pmd_cnxk.h.
uint64_t dscp |
DSCP for outer header
Definition at line 426 of file rte_pmd_cnxk.h.
uint64_t udp_dst_port |
UDP encapsulation destination port
Definition at line 430 of file rte_pmd_cnxk.h.
uint64_t udp_src_port |
UDP encapsulation source port
Definition at line 433 of file rte_pmd_cnxk.h.
union { ... } w10 |
Word10
union rte_pmd_cnxk_ipsec_outer_ip_hdr outer_hdr |
Word11 - Word14
Definition at line 439 of file rte_pmd_cnxk.h.
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.
struct rte_pmd_cnxk_ipsec_outb_ctx_update_reg ctx |
Word31 - Word36
Definition at line 445 of file rte_pmd_cnxk.h.