Home
last modified time | relevance | path

Searched refs:sqn (Results 1 – 13 of 13) sorted by relevance

/dpdk/lib/ipsec/
H A Dipsec_sqn.h29 return sqn; in sqn_hi32()
40 return sqn; in sqn_low32()
103 if (sqn > rsn->sqn) in esn_inb_check_sqn()
107 if (sqn == 0 || sqn + sa->replay.win_sz < rsn->sqn) in esn_inb_check_sqn()
133 sqn = sa->sqn.outb + n; in esn_outb_update_sqn()
134 sa->sqn.outb = sqn; in esn_outb_update_sqn()
157 sqn = reconstruct_esn(rsn->sqn, sqn, sa->replay.win_sz); in esn_inb_update_sqn()
160 if (sqn == 0 || sqn + sa->replay.win_sz < rsn->sqn) in esn_inb_update_sqn()
167 if (sqn > rsn->sqn) { in esn_inb_update_sqn()
179 rsn->sqn = sqn; in esn_inb_update_sqn()
[all …]
H A Dcrypto.h46 } sqn; member
76 } sqn; member
116 } sqn; member
178 aad->sqn.u64 = sqn; in aead_gcm_aad_fill()
180 aad->sqn.u32[0] = sqn_low32(sqn); in aead_gcm_aad_fill()
181 aad->sqn.u32[1] = 0; in aead_gcm_aad_fill()
197 aad->sqn.u64 = sqn; in aead_ccm_aad_fill()
199 aad->sqn.u32[0] = sqn_low32(sqn); in aead_ccm_aad_fill()
208 iv[0] = sqn; in gen_iv()
225 aad->sqn.u64 = sqn; in aead_chacha20_poly1305_aad_fill()
[all …]
H A Desp_inb.c257 uint64_t sqn; in inb_get_sqn() local
266 sqn = rte_be_to_cpu_32(esph->seq); in inb_get_sqn()
268 sqn = reconstruct_esn(rsn->sqn, sqn, sa->replay.win_sz); in inb_get_sqn()
269 *sqc = rte_cpu_to_be_64(sqn); in inb_get_sqn()
272 rc = esn_inb_check_sqn(rsn, sa, sqn); in inb_get_sqn()
346 rte_be64_t sqn; in inb_pkt_prepare() local
356 inb_pkt_xprepare(sa, sqn, icv); in inb_pkt_prepare()
504 sqn[0] = ph->seq; in tun_process_step2()
615 to[i], tl, sqn + k); in tun_process()
674 to[i], tl, sqn + k); in trs_process()
[all …]
H A Dipsec_telemetry.c178 if (sa->sqn.inb.rsn[sa->sqn.inb.rdidx]) in handle_telemetry_cmd_ipsec_sa_details()
181 sa->sqn.inb.rsn[sa->sqn.inb.rdidx]->sqn); in handle_telemetry_cmd_ipsec_sa_details()
187 sa->sqn.outb); in handle_telemetry_cmd_ipsec_sa_details()
H A Desp_outb.c295 uint64_t sqn; in esp_outb_tun_prepare() local
314 sqc = rte_cpu_to_be_64(sqn + i); in esp_outb_tun_prepare()
443 uint64_t sqn; in esp_outb_trs_prepare() local
465 sqc = rte_cpu_to_be_64(sqn + i); in esp_outb_trs_prepare()
534 uint64_t sqn; in cpu_outb_pkt_prepare() local
721 uint64_t sqn; in inline_outb_tun_pkt_process() local
753 sqc = rte_cpu_to_be_64(sqn); in inline_outb_tun_pkt_process()
755 sqn += nb_segs[i]; in inline_outb_tun_pkt_process()
789 uint64_t sqn; in inline_outb_trs_pkt_process() local
821 sqc = rte_cpu_to_be_64(sqn); in inline_outb_trs_pkt_process()
[all …]
H A Dsa.c294 esp_outb_init(struct rte_ipsec_sa *sa, uint32_t hlen, uint64_t sqn) in esp_outb_init() argument
298 sa->sqn.outb = sqn > 1 ? sqn : 1; in esp_outb_init()
514 uint64_t sqn) in fill_sa_replay() argument
519 sa->sqn.inb.rsn[0] = (struct replay_sqn *)(sa + 1); in fill_sa_replay()
520 sa->sqn.inb.rsn[0]->sqn = sqn; in fill_sa_replay()
522 sa->sqn.inb.rsn[1] = (struct replay_sqn *) in fill_sa_replay()
523 ((uintptr_t)sa->sqn.inb.rsn[0] + rsn_size(nb_bucket)); in fill_sa_replay()
524 sa->sqn.inb.rsn[1]->sqn = sqn; in fill_sa_replay()
H A Dsa.h61 uint64_t sqn; member
133 } sqn; member
/dpdk/lib/net/
H A Drte_gtp.h59 rte_be16_t sqn; /**< Sequence Number. */ member
/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_aso.c98 wqe->general_cseg.sq_ds = rte_cpu_to_be_32((sq->sqn << 8) | in mlx5_aso_age_init_sq()
130 wqe->general_cseg.sq_ds = rte_cpu_to_be_32((sq->sqn << 8) | in mlx5_aso_mtr_init_sq()
158 wqe->general_cseg.sq_ds = rte_cpu_to_be_32((sq->sqn << 8) | in mlx5_aso_ct_init_sq()
240 sq->sqn = sq->sq_obj.sq->id; in mlx5_aso_sq_create()
H A Dmlx5.h570 uint32_t sqn; member
/dpdk/drivers/net/iavf/
H A Diavf_ipsec_crypto.c1143 uint64_t *sqn = params; in iavf_ipsec_crypto_pkt_metadata_set() local
1168 if (iavf_sess->esn.enabled && sqn != NULL) in iavf_ipsec_crypto_pkt_metadata_set()
1169 md->esn = (uint32_t)(*sqn >> 32); in iavf_ipsec_crypto_pkt_metadata_set()
/dpdk/drivers/common/mlx5/
H A Dmlx5_prm.h2653 u8 sqn[0x18]; member
2671 u8 sqn[0x18]; member
2683 u8 sqn[0x18]; member
H A Dmlx5_devx_cmds.c1720 sq->id = MLX5_GET(create_sq_out, out, sqn); in mlx5_devx_cmd_create_sq()
1746 MLX5_SET(modify_sq_in, in, sqn, sq->id); in mlx5_devx_cmd_modify_sq()