Home
last modified time | relevance | path

Searched refs:w2 (Results 1 – 19 of 19) sorted by relevance

/dpdk/drivers/common/cnxk/
H A Dcnxk_security.c192 w2->s.spi = ipsec_xfrm->spi; in ot_ipsec_sa_common_param_fill()
308 sa->w2.s.ip_hdr_verify = in ot_ipsec_inb_tunnel_hdr_fill()
332 w2.u64 = 0; in cnxk_ot_ipsec_inb_sa_fill()
340 sa->w2.u64 = w2.u64; in cnxk_ot_ipsec_inb_sa_fill()
417 sa->w2.s.valid = 1; in cnxk_ot_ipsec_inb_sa_fill()
434 w2.u64 = 0; in cnxk_ot_ipsec_outb_sa_fill()
442 sa->w2.u64 = w2.u64; in cnxk_ot_ipsec_outb_sa_fill()
536 sa->w2.s.ipid_gen = 1; in cnxk_ot_ipsec_outb_sa_fill()
570 sa->w2.s.valid = 1; in cnxk_ot_ipsec_outb_sa_fill()
577 return !!sa->w2.s.valid; in cnxk_ot_ipsec_inb_sa_valid()
[all …]
H A Droc_cpt_debug.c26 cpth->w2.frag_age, cpth->w2.orig_pf_func); in roc_cpt_parse_hdr_dump()
28 cpth->w2.il3_off, cpth->w2.fi_pad, cpth->w2.fi_offset); in roc_cpt_parse_hdr_dump()
H A Droc_ie_ot.h384 } w2; member
424 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_inb_sa, w2) ==
506 } w2; member
545 PLT_STATIC_ASSERT(offsetof(struct roc_ot_ipsec_outb_sa, w2) ==
H A Droc_ie_ot.c20 sa->w2.s.l3hdr_on_err = 1; in roc_ot_ipsec_inb_sa_init()
/dpdk/drivers/crypto/cnxk/
H A Dcn10k_ipsec.c73 sa_dptr->w2.s.iv_src = ROC_IE_OT_SA_IV_SRC_FROM_SA; in cn10k_ipsec_outb_sa_create()
330 union roc_ot_ipsec_sa_word2 *w2; in cn10k_sec_session_destroy() local
384 w2 = (union roc_ot_ipsec_sa_word2 *)&sa->in_sa.w2; in cn10k_sec_session_destroy()
385 w2->s.valid = 0; in cn10k_sec_session_destroy()
414 union roc_ot_ipsec_sa_word2 *w2; in cn10k_sec_session_stats_get() local
428 w2 = (union roc_ot_ipsec_sa_word2 *)&sa->in_sa.w2; in cn10k_sec_session_stats_get()
432 if (w2->s.dir == ROC_IE_SA_DIR_OUTBOUND) { in cn10k_sec_session_stats_get()
H A Dcn10k_ipsec_la_ops.h67 if (sess->out_sa.w2.s.iv_src == ROC_IE_OT_SA_IV_SRC_FROM_SA) { in process_outb_sa()
68 if (sess->out_sa.w2.s.enc_type == ROC_IE_OT_SA_ENC_AES_GCM || in process_outb_sa()
69 sess->out_sa.w2.s.auth_type == ROC_IE_OT_SA_AUTH_AES_GMAC) in process_outb_sa()
H A Dcn9k_cryptodev_ops.c237 inst[0].w2.u64 = 0; in cn9k_cpt_enqueue_burst()
240 inst[1].w2.u64 = 0; in cn9k_cpt_enqueue_burst()
365 inst.w2.u64 = CNXK_CPT_INST_W2( in cn9k_cpt_crypto_adapter_enqueue()
H A Dcnxk_ipsec.h15 uint64_t w2; member
H A Dcn10k_cryptodev_ops.c118 inst[0].w2.u64 = 0; in cn10k_cpt_fill_inst()
319 inst->w2.u64 = CNXK_CPT_INST_W2( in cn10k_cpt_crypto_adapter_enqueue()
H A Dcn9k_ipsec.c48 inst.w2.u64 = 0; in cn9k_cpt_enq_sa_write()
/dpdk/lib/eal/include/
H A Drte_reciprocal.h63 uint64_t w1, w2; in mullhi_u64()
74 w2 = t >> 32; in mullhi_u64()
79 whi = u1*v1 + w2 + k; in mullhi_u64()
/dpdk/lib/net/
H A Drte_ether.h85 const uint16_t *w2 = (const uint16_t *)ea2; in rte_is_same_ether_addr() local
87 return ((w1[0] ^ w2[0]) | (w1[1] ^ w2[1]) | (w1[2] ^ w2[2])) == 0; in rte_is_same_ether_addr()
/dpdk/drivers/event/octeontx/
H A Dssovf_worker.h109 ptype_table[wqe->s.w2.lcty][wqe->s.w2.lety][wqe->s.w2.lfty]; in ssovf_octeontx_wqe_to_pkt()
128 if (likely(wqe->s.w2.vv)) { in ssovf_octeontx_wqe_to_pkt()
/dpdk/drivers/net/cnxk/
H A Dcn10k_ethdev_sec.c514 if (outb_sa->w2.s.enc_type == ROC_IE_OT_SA_ENC_AES_GCM || in outb_dbg_iv_update()
515 outb_sa->w2.s.enc_type == ROC_IE_OT_SA_ENC_AES_CTR || in outb_dbg_iv_update()
516 outb_sa->w2.s.enc_type == ROC_IE_OT_SA_ENC_AES_CCM || in outb_dbg_iv_update()
517 outb_sa->w2.s.auth_type == ROC_IE_OT_SA_AUTH_AES_GMAC) { in outb_dbg_iv_update()
555 outb_sa->w2.s.iv_src = ROC_IE_OT_SA_IV_SRC_FROM_SA; in outb_dbg_iv_update()
673 if (inb_sa->w2.s.valid) { in cn10k_eth_sec_session_create()
801 sess_priv.mode = outb_sa_dptr->w2.s.ipsec_mode; in cn10k_eth_sec_session_create()
802 sess_priv.outer_ip_ver = outb_sa_dptr->w2.s.outer_ip_ver; in cn10k_eth_sec_session_create()
H A Dcn9k_rx.h516 nix_vlan_update(const uint64_t w2, uint64_t ol_flags, uint8x16_t *f) in nix_vlan_update() argument
518 if (w2 & BIT_ULL(21) /* vtag0_gone */) { in nix_vlan_update()
520 *f = vsetq_lane_u16((uint16_t)(w2 >> 32), *f, 5); in nix_vlan_update()
527 nix_qinq_update(const uint64_t w2, uint64_t ol_flags, struct rte_mbuf *mbuf) in nix_qinq_update() argument
529 if (w2 & BIT_ULL(23) /* vtag1_gone */) { in nix_qinq_update()
531 mbuf->vlan_tci_outer = (uint16_t)(w2 >> 48); in nix_qinq_update()
H A Dcn10k_rx.h158 uint32_t offset = hdr->w2.fi_offset; in nix_sec_attach_frags()
174 finfo = RTE_PTR_ADD(hdr, offset + hdr->w2.fi_pad); in nix_sec_attach_frags()
286 uint32_t offset = hdr->w2.fi_offset; in nix_sec_reassemble_frags()
303 finfo = RTE_PTR_ADD(hdr, offset + hdr->w2.fi_pad); in nix_sec_reassemble_frags()
954 nix_vlan_update(const uint64_t w2, uint64_t ol_flags, uint8x16_t *f) in nix_vlan_update() argument
956 if (w2 & BIT_ULL(21) /* vtag0_gone */) { in nix_vlan_update()
958 *f = vsetq_lane_u16((uint16_t)(w2 >> 32), *f, 5); in nix_vlan_update()
965 nix_qinq_update(const uint64_t w2, uint64_t ol_flags, struct rte_mbuf *mbuf) in nix_qinq_update() argument
967 if (w2 & BIT_ULL(23) /* vtag1_gone */) { in nix_qinq_update()
969 mbuf->vlan_tci_outer = (uint16_t)(w2 >> 48); in nix_qinq_update()
H A Dcnxk_ethdev_sec_telemetry.c94 snprintf(s64, sizeof(s64), "%" PRIu64, out_sa->w2.u64); in copy_outb_sa_10k()
167 snprintf(s64, sizeof(s64), "%" PRIu64, in_sa->w2.u64); in copy_inb_sa_10k()
/dpdk/drivers/net/octeontx/base/
H A Docteontx_pki_var.h75 } w2; member
144 } w2;
/dpdk/drivers/common/cnxk/hw/
H A Dcpt.h190 } w2; member
269 } w2; member