Searched refs:sqn (Results 1 – 11 of 11) sorted by relevance
| /f-stack/dpdk/lib/librte_ipsec/ |
| H A D | ipsec_sqn.h | 29 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 D | crypto.h | 45 } sqn; member 76 aead_gcm_aad_fill(struct aead_gcm_aad *aad, rte_be32_t spi, rte_be64_t sqn, in aead_gcm_aad_fill() argument 81 aad->sqn.u64 = sqn; in aead_gcm_aad_fill() 83 aad->sqn.u32[0] = sqn_low32(sqn); in aead_gcm_aad_fill() 84 aad->sqn.u32[1] = 0; in aead_gcm_aad_fill() 90 gen_iv(uint64_t iv[IPSEC_MAX_IV_QWORD], rte_be64_t sqn) in gen_iv() argument 92 iv[0] = sqn; in gen_iv()
|
| H A D | esp_inb.c | 198 uint64_t sqn; in inb_get_sqn() local 207 sqn = rte_be_to_cpu_32(esph->seq); in inb_get_sqn() 209 sqn = reconstruct_esn(rsn->sqn, sqn, sa->replay.win_sz); in inb_get_sqn() 210 *sqc = rte_cpu_to_be_64(sqn); in inb_get_sqn() 213 rc = esn_inb_check_sqn(rsn, sa, sqn); in inb_get_sqn() 287 rte_be64_t sqn; in inb_pkt_prepare() local 297 inb_pkt_xprepare(sa, sqn, icv); in inb_pkt_prepare() 445 sqn[0] = ph->seq; in tun_process_step2() 555 to[i], tl, sqn + k); in tun_process() 610 to[i], tl, sqn + k); in trs_process() [all …]
|
| H A D | esp_outb.c | 226 uint64_t sqn; in esp_outb_tun_prepare() local 238 sqn = esn_outb_update_sqn(sa, &n); in esp_outb_tun_prepare() 245 sqc = rte_cpu_to_be_64(sqn + i); in esp_outb_tun_prepare() 366 uint64_t sqn; in esp_outb_trs_prepare() local 388 sqc = rte_cpu_to_be_64(sqn + i); in esp_outb_trs_prepare() 446 uint64_t sqn; in cpu_outb_pkt_prepare() local 475 sqc = rte_cpu_to_be_64(sqn + i); in cpu_outb_pkt_prepare() 600 uint64_t sqn; in inline_outb_tun_pkt_process() local 617 sqc = rte_cpu_to_be_64(sqn + i); in inline_outb_tun_pkt_process() 650 uint64_t sqn; in inline_outb_trs_pkt_process() local [all …]
|
| H A D | sa.h | 59 uint64_t sqn; member 128 } sqn; member
|
| H A D | sa.c | 286 sa->sqn.outb = 1; in esp_outb_init() 455 sa->sqn.inb.rsn[0] = (struct replay_sqn *)(sa + 1); in fill_sa_replay() 457 sa->sqn.inb.rsn[1] = (struct replay_sqn *) in fill_sa_replay() 458 ((uintptr_t)sa->sqn.inb.rsn[0] + rsn_size(nb_bucket)); in fill_sa_replay()
|
| /f-stack/dpdk/drivers/regex/mlx5/ |
| H A D | mlx5_regex.h | 27 uint32_t sqn; member
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_age.c | 219 wqe->general_cseg.sq_ds = rte_cpu_to_be_32((sq->sqn << 8) | in mlx5_aso_init_sq() 326 sq->sqn = sq->sq->id; in mlx5_aso_sq_create()
|
| H A D | mlx5.h | 521 uint32_t sqn; member
|
| /f-stack/dpdk/drivers/common/mlx5/ |
| H A D | mlx5_prm.h | 2081 u8 sqn[0x18]; member 2099 u8 sqn[0x18]; member 2111 u8 sqn[0x18]; member
|
| H A D | mlx5_devx_cmds.c | 1363 sq->id = MLX5_GET(create_sq_out, out, sqn); in mlx5_devx_cmd_create_sq() 1389 MLX5_SET(modify_sq_in, in, sqn, sq->id); in mlx5_devx_cmd_modify_sq()
|