| /dpdk/examples/fips_validation/ |
| H A D | fips_validation_gcm.c | 77 int ret = parser_read_uint32_bit_val(key, src, &vec.pt); in parser_read_gcm_pt_len() 82 if (info.algo == FIPS_TEST_ALGO_AES_GMAC && vec.pt.len == 0) { in parser_read_gcm_pt_len() 101 vec.pt.len = vec.aead.aad.len; in parse_gcm_aad_str() 102 return parse_uint8_known_len_hex_str(key, src, &vec.pt); in parse_gcm_aad_str() 104 return parse_uint8_known_len_hex_str(key, src, &vec.aead.aad); in parse_gcm_aad_str() 111 if (info.interim_info.gcm_data.gen_iv && vec.iv.len) { in parse_gcm_pt_ct_str() 114 if (!vec.iv.val) { in parse_gcm_pt_ct_str() 115 vec.iv.val = rte_malloc(0, vec.iv.len, 0); in parse_gcm_pt_ct_str() 116 if (!vec.iv.val) in parse_gcm_pt_ct_str() 120 for (i = 0; i < vec.iv.len; i++) { in parse_gcm_pt_ct_str() [all …]
|
| H A D | fips_validation_ccm.c | 79 val->len = vec.pt.len; in parse_dvpt_ct_hex_str() 87 ret = parse_uint8_known_len_hex_str("", src, &vec.aead.digest); in parse_dvpt_ct_hex_str() 123 {IV_STR, parse_uint8_known_len_hex_str, &vec.iv}, 124 {AAD_STR, parse_uint8_ccm_aad_str, &vec.aead.aad}, 125 {PT_STR, parse_uint8_known_len_hex_str, &vec.pt}, 130 {ALEN_PREFIX, parser_read_uint32_val, &vec.aead.aad}, 131 {PLEN_PREFIX, parser_read_uint32_val, &vec.pt}, 132 {DIGESTL_PREFIX, parser_read_uint32_val, &vec.aead.digest}, 133 {IVLEN_PREFIX, parser_read_uint32_val, &vec.iv}, 134 {KEY_STR, parse_uint8_hex_str, &vec.aead.key}, [all …]
|
| H A D | fips_dev_self_test.c | 999 struct fips_dev_self_test_vector *vec, in prepare_cipher_xform() argument 1014 for (i = 0; i < vec->key.len; i++) in prepare_cipher_xform() 1015 key[i] ^= vec->key.data[i]; in prepare_cipher_xform() 1017 memcpy(key, vec->key.data, vec->key.len); in prepare_cipher_xform() 1021 cipher_xform->algo = vec->cipher.algo; in prepare_cipher_xform() 1026 cipher_xform->key.length = vec->key.len; in prepare_cipher_xform() 1027 cipher_xform->iv.length = vec->iv.len; in prepare_cipher_xform() 1056 struct fips_dev_self_test_vector *vec, in prepare_auth_xform() argument 1071 for (i = 0; i < vec->key.len; i++) in prepare_auth_xform() 1072 key[i] ^= vec->key.data[i]; in prepare_auth_xform() [all …]
|
| H A D | fips_validation_cmac.c | 68 {KLEN_JSON_STR, parser_read_uint32_bit_val, &vec.cipher_auth.key}, 69 {PTLEN_JSON_STR, parser_read_uint32_bit_val, &vec.pt}, 70 {TAGLEN_JSON_STR, parser_read_uint32_bit_val, &vec.cipher_auth.digest}, 76 {KEY_JSON_STR, parse_uint8_hex_str, &vec.cipher_auth.key}, 77 {PT_JSON_STR, parse_uint8_known_len_hex_str, &vec.pt}, 79 &vec.cipher_auth.digest}, 91 struct fips_val tmp_val = {val->val + vec.pt.len, in parse_test_cmac_json_writeback() 92 vec.cipher_auth.digest.len}; in parse_test_cmac_json_writeback() 98 if (vec.status == RTE_CRYPTO_OP_STATUS_SUCCESS) in parse_test_cmac_json_writeback() 101 else if (vec.status == RTE_CRYPTO_OP_STATUS_AUTH_FAILED) in parse_test_cmac_json_writeback() [all …]
|
| H A D | main.c | 45 struct fips_test_vector vec; variable 723 memcpy(iv, vec.iv.val, vec.iv.len); in prepare_cipher_op() 726 ret = prepare_data_mbufs(&vec.pt); in prepare_cipher_op() 730 sym->cipher.data.length = vec.pt.len; in prepare_cipher_op() 732 ret = prepare_data_mbufs(&vec.ct); in prepare_cipher_op() 736 sym->cipher.data.length = vec.ct.len; in prepare_cipher_op() 758 if (!vec.iv.val) { in prepare_auth_op() 759 vec.iv.val = rte_malloc(0, vec in prepare_auth_op() [all...] |
| H A D | fips_validation_ecdsa.c | 105 if (vec.ecdsa.seed.val) { in prepare_vec_ecdsa() 106 writeback_hex_str("", info.one_line_text, &vec.ecdsa.seed); in prepare_vec_ecdsa() 140 parse_uint8_hex_str("", BN_bn2hex(pkey), &vec.ecdsa.pkey); in prepare_vec_ecdsa() 150 parse_uint8_hex_str("", BN_bn2hex(r), &vec.ecdsa.seed); in prepare_vec_ecdsa() 167 if (!vec.ecdsa.pkey.len) in prepare_vec_ecdsa_k() 174 writeback_hex_str("", info.one_line_text, &vec.ecdsa.pkey); in prepare_vec_ecdsa_k() 191 parse_uint8_hex_str("", BN_bn2hex(k), &vec.ecdsa.k); in prepare_vec_ecdsa_k() 233 if (vec.ecdsa.pkey.val) { in parse_test_ecdsa_json_interim_writeback() 234 rte_free(vec.ecdsa.pkey.val); in parse_test_ecdsa_json_interim_writeback() 235 vec.ecdsa.pkey.val = NULL; in parse_test_ecdsa_json_interim_writeback() [all …]
|
| H A D | fips_validation_xts.c | 59 {KEY_STR, parse_uint8_hex_str, &vec.cipher_auth.key}, 60 {IV_STR, parse_uint8_hex_str, &vec.iv}, 61 {PT_STR, parse_uint8_hex_str, &vec.pt}, 62 {CT_STR, parse_uint8_hex_str, &vec.ct}, 75 {IV_STR, writeback_hex_str, &vec.iv}, 76 {KEY_STR, writeback_hex_str, &vec.cipher_auth.key}, 77 {PT_STR, writeback_hex_str, &vec.pt}, 78 {CT_STR, writeback_hex_str, &vec.ct}, 115 {KEY_JSON_STR, parse_uint8_known_len_hex_str, &vec.cipher_auth.key}, 116 {TWEAKVALUE_JSON_STR, parser_xts_read_tweakval, &vec.iv}, [all …]
|
| H A D | fips_validation_hmac.c | 68 {KEYLEN_STR, parser_read_uint32_val, &vec.cipher_auth.key}, 69 {TAGLEN_STR, parser_read_uint32_val, &vec.cipher_auth.digest}, 70 {KEY_STR, parse_uint8_hex_str, &vec.cipher_auth.key}, 71 {PT_STR, parse_uint8_hex_str, &vec.pt}, 72 {TAG_STR, parse_uint8_hex_str, &vec.cipher_auth.digest}, 95 {KEY_JSON_STR, parse_uint8_hex_str, &vec.cipher_auth.key}, 96 {PT_JSON_STR, parse_uint8_hex_str, &vec.pt}, 97 {TAG_JSON_STR, parse_uint8_hex_str, &vec.cipher_auth.digest}, 102 {KEYLEN_JSON_STR, parser_read_uint32_val, &vec.cipher_auth.key}, 103 {TAGLEN_JSON_STR, parser_read_uint32_bit_val, &vec.cipher_auth.digest}, [all …]
|
| H A D | fips_validation_aes.c | 91 {KEY_STR, parse_uint8_hex_str, &vec.cipher_auth.key}, 92 {IV_STR, parse_uint8_hex_str, &vec.iv}, 93 {PT_STR, parse_uint8_hex_str, &vec.pt}, 94 {CT_STR, parse_uint8_hex_str, &vec.ct}, 107 {IV_STR, writeback_hex_str, &vec.iv}, 108 {KEY_STR, writeback_hex_str, &vec.cipher_auth.key}, 109 {PT_STR, writeback_hex_str, &vec.pt}, 110 {CT_STR, writeback_hex_str, &vec.ct}, 116 {KEY_JSON_STR, parse_uint8_known_len_hex_str, &vec.cipher_auth.key}, 117 {IV_JSON_STR, parse_uint8_hex_str, &vec.iv}, [all …]
|
| H A D | fips_validation_rsa.c | 84 if (vec.rsa.seed.val) { in prepare_vec_rsa() 85 writeback_hex_str("", info.one_line_text, &vec.rsa.seed); in prepare_vec_rsa() 96 if (vec.rsa.e.val) { in prepare_vec_rsa() 97 writeback_hex_str("", info.one_line_text, &vec.rsa.e); in prepare_vec_rsa() 271 parse_uint8_hex_str("", BN_bn2hex(r), &vec.rsa.seed); in prepare_vec_rsa() 274 parse_uint8_hex_str("", BN_bn2hex(e), &vec.rsa.e); in prepare_vec_rsa() 275 parse_uint8_hex_str("", BN_bn2hex(p), &vec.rsa.p); in prepare_vec_rsa() 276 parse_uint8_hex_str("", BN_bn2hex(q), &vec.rsa.q); in prepare_vec_rsa() 277 parse_uint8_hex_str("", BN_bn2hex(n), &vec.rsa.n); in prepare_vec_rsa() 278 parse_uint8_hex_str("", BN_bn2hex(d), &vec.rsa.d); in prepare_vec_rsa() [all …]
|
| H A D | fips_validation_tdes.c | 81 {KEYS_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key}, 82 {KEY1_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key}, 83 {KEY2_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key}, 84 {KEY3_STR, parse_tdes_uint8_hex_str, &vec.cipher_auth.key}, 85 {IV_STR, parse_uint8_hex_str, &vec.iv}, 86 {PT_STR, parse_uint8_hex_str, &vec.pt}, 87 {CT_STR, parse_uint8_hex_str, &vec.ct}, 101 {IV_STR, writeback_hex_str, &vec.iv}, 102 {KEY1_STR, writeback_tdes_hex_str, &vec.cipher_auth.key}, 103 {KEY2_STR, writeback_tdes_hex_str, &vec.cipher_auth.key}, [all …]
|
| H A D | fips_validation.c | 49 free(info.vec[i]); in fips_test_fetch_one_block() 50 info.vec[i] = NULL; in fips_test_fetch_one_block() 65 info.vec[i] = calloc(1, size + 5); in fips_test_fetch_one_block() 66 if (info.vec[i] == NULL) in fips_test_fetch_one_block() 69 strlcpy(info.vec[i], info.one_line_text, size + 1); in fips_test_fetch_one_block() 79 if (info.vec[i] != NULL) { in fips_test_fetch_one_block() 80 free(info.vec[i]); in fips_test_fetch_one_block() 81 info.vec[i] = NULL; in fips_test_fetch_one_block() 92 int len = strlen(info.vec[0]); in fips_test_parse_version() 93 char *ptr = info.vec[ in fips_test_parse_version() [all...] |
| H A D | fips_validation_sha.c | 76 text, &vec.cipher_auth.digest); in parse_interim_algo() 88 {MSGLEN_STR, parser_read_uint32_bit_val, &vec.pt}, 89 {MSG_STR, parse_uint8_known_len_hex_str, &vec.pt}, 90 {SEED_STR, parse_uint8_hex_str, &vec.pt}, 108 vec.cipher_auth.digest.len = atoi(src) / 8; in parse_interim_str() 141 {PT_JSON_STR, parse_uint8_hex_str, &vec.pt}, 142 {OUTLEN_JSON_STR, parser_read_uint32_bit_val, &vec.cipher_auth.digest}, 160 val_local.val = val->val + vec.pt.len; in parse_test_sha_writeback() 161 val_local.len = vec.cipher_auth.digest.len; in parse_test_sha_writeback() 170 if (memcmp(val->val + vec.pt.len, vec.cipher_auth.digest.val, in rsp_test_sha_check() [all …]
|
| /dpdk/drivers/net/mlx4/ |
| H A D | mlx4_utils.c | 53 mlx4_mallocv_inline(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_mallocv_inline() argument 60 int fill = !vec[0].addr; in mlx4_mallocv_inline() 66 size_t align = (uintptr_t)vec[i].align; in mlx4_mallocv_inline() 77 size = align + vec[i].size; in mlx4_mallocv_inline() 78 if (fill && vec[i].addr) in mlx4_mallocv_inline() 79 *vec[i].addr = data + align; in mlx4_mallocv_inline() 94 if (vec[i].addr) in mlx4_mallocv_inline() 95 *vec[i].addr = NULL; in mlx4_mallocv_inline() 138 mlx4_mallocv(const char *type, const struct mlx4_malloc_vec *vec, in mlx4_mallocv() argument 141 return mlx4_mallocv_inline(type, vec, cnt, 0, SOCKET_ID_ANY); in mlx4_mallocv() [all …]
|
| /dpdk/drivers/crypto/qat/dev/ |
| H A D | qat_sym_pmd_gen1.c | 231 in_sgl.vec = in_vec; in qat_sym_build_op_cipher_gen1() 232 out_sgl.vec = out_vec; in qat_sym_build_op_cipher_gen1() 245 in_sgl.vec, in_sgl.num, out_sgl.vec, out_sgl.num); in qat_sym_build_op_cipher_gen1() 256 qat_sym_debug_log_dump(req, ctx, in_sgl.vec, in_sgl.num, &cipher_iv, in qat_sym_build_op_cipher_gen1() 279 in_sgl.vec = in_vec; in qat_sym_build_op_auth_gen1() 280 out_sgl.vec = out_vec; in qat_sym_build_op_auth_gen1() 300 in_sgl.vec, in_sgl.num, out_sgl.vec, out_sgl.num); in qat_sym_build_op_auth_gen1() 312 qat_sym_debug_log_dump(req, ctx, in_sgl.vec, in_sgl.num, NULL, in qat_sym_build_op_auth_gen1() 334 in_sgl.vec = in_vec; in qat_sym_build_op_aead_gen1() 335 out_sgl.vec = out_vec; in qat_sym_build_op_aead_gen1() [all …]
|
| H A D | qat_crypto_pmd_gen3.c | 441 in_sgl.vec = in_vec; in qat_sym_build_op_aead_gen3() 442 out_sgl.vec = out_vec; in qat_sym_build_op_aead_gen3() 455 in_sgl.vec, in_sgl.num, out_sgl.vec, out_sgl.num); in qat_sym_build_op_aead_gen3() 464 qat_sym_debug_log_dump(req, ctx, in_sgl.vec, in_sgl.num, &cipher_iv, in qat_sym_build_op_aead_gen3() 485 in_sgl.vec = in_vec; in qat_sym_build_op_auth_gen3() 486 out_sgl.vec = out_vec; in qat_sym_build_op_auth_gen3() 499 in_sgl.vec, in_sgl.num, out_sgl.vec, out_sgl.num); in qat_sym_build_op_auth_gen3() 508 qat_sym_debug_log_dump(req, ctx, in_sgl.vec, in_sgl.num, NULL, in qat_sym_build_op_auth_gen3() 623 struct rte_crypto_sym_vec *vec, union rte_crypto_sym_ofs ofs, in qat_sym_dp_enqueue_aead_jobs_gen3() argument 635 n = QAT_SYM_DP_GET_MAX_ENQ(qp, dp_ctx->cached_enqueue, vec->num); in qat_sym_dp_enqueue_aead_jobs_gen3() [all …]
|
| /dpdk/drivers/crypto/ipsec_mb/ |
| H A D | pmd_aesni_gcm.c | 523 aesni_gcm_fill_error_code(struct rte_crypto_sym_vec *vec, in aesni_gcm_fill_error_code() argument 528 for (i = 0; i < vec->num; i++) in aesni_gcm_fill_error_code() 529 vec->status[i] = errnum; in aesni_gcm_fill_error_code() 579 struct rte_crypto_vec *vec = &sgl->vec[i]; in aesni_gcm_process_gcm_sgl_op() local 584 vec->base, vec->base, vec->len); in aesni_gcm_process_gcm_sgl_op() 588 vec->base, vec->base, vec->len); in aesni_gcm_process_gcm_sgl_op() 604 ops.init(&s->gdata_key, gdata_ctx, iv, sgl->vec[0].base, in aesni_gcm_process_gmac_sgl_op() 605 sgl->vec[0].len); in aesni_gcm_process_gmac_sgl_op() 611 struct rte_crypto_sym_vec *vec, in aesni_gcm_sgl_encrypt() argument 617 for (i = 0; i < vec->num; ++i) { in aesni_gcm_sgl_encrypt() [all …]
|
| /dpdk/examples/l3fwd/ |
| H A D | l3fwd_event.h | 140 process_event_vector(struct rte_event_vector *vec, uint16_t *dst_port) in process_event_vector() argument 144 vec->nb_elem = filter_bad_packets(vec->mbufs, dst_port, vec->nb_elem); in process_event_vector() 146 port = process_dst_port(dst_port, vec->nb_elem); in process_event_vector() 148 vec->attr_valid = 0; in process_event_vector() 149 for (i = 0; i < vec->nb_elem; i++) { in process_event_vector() 150 vec->mbufs[i]->port = dst_port[i]; in process_event_vector() 151 rte_event_eth_tx_adapter_txq_set(vec->mbufs[i], 0); in process_event_vector() 154 vec in process_event_vector() [all...] |
| H A D | l3fwd_em_sequential.h | 132 l3fwd_em_process_event_vector(struct rte_event_vector *vec, in l3fwd_em_process_event_vector() argument 135 const uint8_t attr_valid = vec->attr_valid; in l3fwd_em_process_event_vector() 136 struct rte_mbuf **mbufs = vec->mbufs; in l3fwd_em_process_event_vector() 141 for (i = 0, j = 1; i < vec->nb_elem; i++, j++) { in l3fwd_em_process_event_vector() 142 if (j < vec->nb_elem) in l3fwd_em_process_event_vector() 147 attr_valid ? vec->port : in l3fwd_em_process_event_vector() 150 j = RTE_ALIGN_FLOOR(vec->nb_elem, FWDSTEP); in l3fwd_em_process_event_vector() 153 processx4_step3(&vec->mbufs[i], &dst_ports[i]); in l3fwd_em_process_event_vector() 154 for (; i < vec->nb_elem; i++) in l3fwd_em_process_event_vector() 155 process_packet(vec in l3fwd_em_process_event_vector() [all...] |
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_tim_irq.c | 31 unsigned int vec; in tim_lf_register_irq() local 34 vec = msix_offset + TIM_LF_INT_VEC_NRSPERR_INT; in tim_lf_register_irq() 39 rc = dev_irq_register(handle, tim_lf_irq, (void *)base, vec); in tim_lf_register_irq() 43 vec = msix_offset + TIM_LF_INT_VEC_RAS_INT; in tim_lf_register_irq() 48 rc = dev_irq_register(handle, tim_lf_irq, (void *)base, vec); in tim_lf_register_irq() 75 unsigned int vec; in tim_lf_unregister_irq() local 77 vec = msix_offset + TIM_LF_INT_VEC_NRSPERR_INT; in tim_lf_unregister_irq() 81 dev_irq_unregister(handle, tim_lf_irq, (void *)base, vec); in tim_lf_unregister_irq() 83 vec = msix_offset + TIM_LF_INT_VEC_RAS_INT; in tim_lf_unregister_irq() 87 dev_irq_unregister(handle, tim_lf_irq, (void *)base, vec); in tim_lf_unregister_irq()
|
| H A D | roc_npa_irq.c | 28 int rc, vec; in npa_register_err_irq() local 30 vec = lf->npa_msixoff + NPA_LF_INT_VEC_ERR_INT; in npa_register_err_irq() 35 rc = dev_irq_register(handle, npa_err_irq, lf, vec); in npa_register_err_irq() 47 int vec; in npa_unregister_err_irq() local 49 vec = lf->npa_msixoff + NPA_LF_INT_VEC_ERR_INT; in npa_unregister_err_irq() 53 dev_irq_unregister(handle, npa_err_irq, lf, vec); in npa_unregister_err_irq() 76 int rc, vec; in npa_register_ras_irq() local 78 vec = lf->npa_msixoff + NPA_LF_INT_VEC_POISON; in npa_register_ras_irq() 83 rc = dev_irq_register(handle, npa_ras_irq, lf, vec); in npa_register_ras_irq() 93 int vec; in npa_unregister_ras_irq() local [all …]
|
| H A D | roc_sso_irq.c | 28 int rc, vec; in sso_hwgrp_register_irq() local 30 vec = ggrp_msixoff + SSO_LF_INT_VEC_GRP; in sso_hwgrp_register_irq() 35 rc = dev_irq_register(handle, sso_hwgrp_irq, (void *)rsrc, vec); in sso_hwgrp_register_irq() 62 int rc, vec; in sso_hws_register_irq() local 64 vec = hws_msixoff + SSOW_LF_INT_VEC_IOP; in sso_hws_register_irq() 69 rc = dev_irq_register(handle, sso_hws_irq, (void *)rsrc, vec); in sso_hws_register_irq() 127 int vec; in sso_hwgrp_unregister_irq() local 129 vec = ggrp_msixoff + SSO_LF_INT_VEC_GRP; in sso_hwgrp_unregister_irq() 133 dev_irq_unregister(handle, sso_hwgrp_irq, (void *)rsrc, vec); in sso_hwgrp_unregister_irq() 140 int vec; in sso_hws_unregister_irq() local [all …]
|
| H A D | roc_nix_irq.c | 86 int rc, vec; in nix_lf_register_err_irq() local 88 vec = nix->msixoff + NIX_LF_INT_VEC_ERR_INT; in nix_lf_register_err_irq() 92 rc = dev_irq_register(handle, nix_lf_err_irq, nix, vec); in nix_lf_register_err_irq() 103 int vec; in nix_lf_unregister_err_irq() local 105 vec = nix->msixoff + NIX_LF_INT_VEC_ERR_INT; in nix_lf_unregister_err_irq() 108 dev_irq_unregister(handle, nix_lf_err_irq, nix, vec); in nix_lf_unregister_err_irq() 135 int rc, vec; in nix_lf_register_ras_irq() local 137 vec = nix->msixoff + NIX_LF_INT_VEC_POISON; in nix_lf_register_ras_irq() 141 rc = dev_irq_register(handle, nix_lf_ras_irq, nix, vec); in nix_lf_register_ras_irq() 152 int vec; in nix_lf_unregister_ras_irq() local [all …]
|
| /dpdk/examples/ipsec-secgw/ |
| H A D | ipsec_worker.c | 78 ev_vector_attr_init(struct rte_event_vector *vec) in ev_vector_attr_init() argument 80 vec->attr_valid = 1; in ev_vector_attr_init() 81 vec->port = 0xFFFF; in ev_vector_attr_init() 82 vec->queue = 0; in ev_vector_attr_init() 86 ev_vector_attr_update(struct rte_event_vector *vec, struct rte_mbuf *pkt) in ev_vector_attr_update() argument 88 if (vec->port == 0xFFFF) { in ev_vector_attr_update() 89 vec->port = pkt->port; in ev_vector_attr_update() 92 if (vec->attr_valid && (vec->port != pkt->port)) in ev_vector_attr_update() 93 vec in ev_vector_attr_update() 654 ipsec_ev_route_ip_pkts(struct rte_event_vector * vec,struct route_table * rt,struct ipsec_traffic * t) ipsec_ev_route_ip_pkts() argument 698 ipsec_ev_inbound_route_pkts(struct rte_event_vector * vec,struct route_table * rt,struct ipsec_traffic * t,const struct eh_event_link_info * ev_link) ipsec_ev_inbound_route_pkts() argument 739 ipsec_ev_outbound_route_pkts(struct rte_event_vector * vec,struct route_table * rt,struct ipsec_traffic * t,struct sa_ctx * sa_ctx,const struct eh_event_link_info * ev_link) ipsec_ev_outbound_route_pkts() argument 854 process_ipsec_ev_inbound_vector(struct ipsec_ctx * ctx,struct route_table * rt,struct rte_event_vector * vec,const struct eh_event_link_info * ev_link) process_ipsec_ev_inbound_vector() argument 897 process_ipsec_ev_outbound_vector(struct ipsec_ctx * ctx,struct route_table * rt,struct rte_event_vector * vec,const struct eh_event_link_info * ev_link) process_ipsec_ev_outbound_vector() argument 925 process_ipsec_ev_drv_mode_outbound_vector(struct rte_event_vector * vec,struct port_drv_mode_data * data) process_ipsec_ev_drv_mode_outbound_vector() argument 962 struct rte_event_vector *vec = ev->vec; ipsec_event_vector_free() local 972 struct rte_event_vector *vec = ev->vec; ipsec_ev_vector_process() local 1005 struct rte_event_vector *vec = ev->vec; ipsec_ev_vector_drv_mode_process() local 1086 struct rte_event_vector *vec = ev->vec; ipsec_ev_cryptodev_vector_process() local [all...] |
| /dpdk/lib/cryptodev/ |
| H A D | rte_crypto_sym.h | 51 struct rte_crypto_vec *vec; member 934 * Each segment will be represented as a separate entry in *vec* array. 942 * @param vec 947 * - number of successfully filled entries in *vec* array. 948 * - negative number of elements in *vec* array required. 953 struct rte_crypto_vec vec[], uint32_t num) in rte_crypto_mbuf_to_vec() 966 vec[0].base = rte_pktmbuf_mtod_offset(mb, void *, ofs); in rte_crypto_mbuf_to_vec() 967 vec[0].iova = rte_pktmbuf_iova_offset(mb, ofs); in rte_crypto_mbuf_to_vec() 968 vec[0].tot_len = mb->buf_len - rte_pktmbuf_headroom(mb) - ofs; in rte_crypto_mbuf_to_vec() 973 vec[ in rte_crypto_mbuf_to_vec() 951 rte_crypto_mbuf_to_vec(const struct rte_mbuf * mb,uint32_t ofs,uint32_t len,struct rte_crypto_vec vec[],uint32_t num) rte_crypto_mbuf_to_vec() argument [all...] |