Searched refs:esn (Results 1 – 10 of 10) sorted by relevance
295 sa_entry->esn = 1; in ch_ipsec_xfrm_add_state()354 if (sa_entry->esn) in is_eth_imm()373 aadivlen = sa_entry->esn ? DIV_ROUND_UP(sizeof(struct chcr_ipsec_aadiv), in calc_tx_sec_flits()498 if (sa_entry->esn) in copy_cpltx_pktxt()582 if (sa_entry->esn) in ch_ipsec_crypto_wreq()588 if (sa_entry->esn) { in ch_ipsec_crypto_wreq()622 ivinoffset = sa_entry->esn ? (ESN_IV_INSERT_OFFSET + 1) : in ch_ipsec_crypto_wreq()633 aadstart = sa_entry->esn ? 1 : (skb_transport_offset(skb) + 1); in ch_ipsec_crypto_wreq()634 aadstop = sa_entry->esn ? ESN_IV_INSERT_OFFSET : in ch_ipsec_crypto_wreq()639 ciphstart += sa_entry->esn ? esnlen : 0; in ch_ipsec_crypto_wreq()
47 u16 esn; member
128 sa_entry->esn_state.esn = xfrm_replay_seqhi(sa_entry->x, in mlx5e_ipsec_update_esn_state()178 attrs->esn = sa_entry->esn_state.esn; in mlx5e_ipsec_build_accel_xfrm_attrs()
95 u32 esn; member
241 ipsec_attrs.esn_msb = accel_xfrm->attrs.esn; in mlx5_ipsec_offload_create_sa_ctx()356 ipsec_attrs.esn_msb = attrs->esn; in mlx5_ipsec_offload_esp_modify_xfrm()
286 u64 esn; member
354 if (MLX5_GET(ipsec_extended_cap, fdev->ipsec->caps, esn)) { in mlx5_fpga_ipsec_device_caps()488 hw_sa->esn = htonl(xfrm_attrs->esn); in mlx5_fpga_ipsec_build_hw_xfrm()495 hw_sa->esn = 0; in mlx5_fpga_ipsec_build_hw_xfrm()
51 u32 hmac_mc, u32 cfb, u32 esn, in set_dynamic_sa_command_1() argument61 sa->sa_command_1.bf.extended_seq_num = esn; in set_dynamic_sa_command_1()
234 ret = uverbs_copy_from(&esp_attr->hdr.esn, attrs, in parse_flow_action_esp()
1626 accel_attrs.esn = attr->esn; in mlx5_ib_create_flow_action_esp()1680 accel_attrs.esn = attr->esn; in mlx5_ib_modify_flow_action_esp()