Home
last modified time | relevance | path

Searched refs:alg (Results 1 – 25 of 49) sorted by relevance

12

/dpdk/lib/acl/
H A Drte_acl.c214 switch (alg) { in acl_check_alg()
216 return acl_check_alg_arm(alg); in acl_check_alg()
218 return acl_check_alg_ppc(alg); in acl_check_alg()
259 for (i = 0; i != RTE_DIM(alg) && acl_check_alg(alg[i]) != 0; i++) in acl_get_best_alg()
263 RTE_VERIFY(i != RTE_DIM(alg)); in acl_get_best_alg()
264 return alg[i]; in acl_get_best_alg()
278 alg = acl_get_best_alg(); in rte_acl_set_ctx_classify()
281 rc = acl_check_alg(alg); in rte_acl_set_ctx_classify()
285 ctx->alg = alg; in rte_acl_set_ctx_classify()
292 enum rte_acl_classify_alg alg) in rte_acl_classify_alg() argument
[all …]
H A Drte_acl.h322 enum rte_acl_classify_alg alg);
340 enum rte_acl_classify_alg alg);
H A Dacl.h171 enum rte_acl_classify_alg alg; member
/dpdk/app/test/
H A Dtest_cryptodev_security_ipsec.h105 } alg; member
114 .alg.aead = RTE_CRYPTO_AEAD_AES_GCM,
119 .alg.aead = RTE_CRYPTO_AEAD_AES_GCM,
124 .alg.aead = RTE_CRYPTO_AEAD_AES_GCM,
132 .alg.cipher = RTE_CRYPTO_CIPHER_NULL,
138 .alg.cipher = RTE_CRYPTO_CIPHER_AES_CBC,
144 .alg.cipher = RTE_CRYPTO_CIPHER_AES_CTR,
150 .alg.cipher = RTE_CRYPTO_CIPHER_AES_CTR,
156 .alg.cipher = RTE_CRYPTO_CIPHER_AES_CTR,
165 .alg.auth = RTE_CRYPTO_AUTH_NULL,
[all …]
H A Dtest_cryptodev_security_ipsec.c394 td->xform.aead.aead.algo = param1->alg.aead; in test_ipsec_td_prepare()
409 param1->alg.auth; in test_ipsec_td_prepare()
423 param1->alg.cipher; in test_ipsec_td_prepare()
429 param2->alg.auth; in test_ipsec_td_prepare()
551 rte_crypto_aead_algorithm_strings[param1->alg.aead], in test_ipsec_display_alg()
555 rte_crypto_auth_algorithm_strings[param1->alg.auth]); in test_ipsec_display_alg()
556 if (param1->alg.auth != RTE_CRYPTO_AUTH_NULL) in test_ipsec_display_alg()
560 rte_crypto_cipher_algorithm_strings[param1->alg.cipher]); in test_ipsec_display_alg()
561 if (param1->alg.cipher != RTE_CRYPTO_CIPHER_NULL) in test_ipsec_display_alg()
564 rte_crypto_auth_algorithm_strings[param2->alg.auth]); in test_ipsec_display_alg()
[all …]
H A Dtest_acl.c283 const uint8_t *data[], size_t dim, enum rte_acl_classify_alg alg) in test_classify_alg() argument
290 ret = rte_acl_set_ctx_classify(acx, alg); in test_classify_alg()
303 __LINE__, alg); in test_classify_alg()
348 static const enum rte_acl_classify_alg alg[] = { in test_classify_run() enum
366 for (i = 0; i != RTE_DIM(alg); i++) { in test_classify_run()
367 ret = test_classify_alg(acx, test_data, data, dim, alg[i]); in test_classify_run()
370 __LINE__, __func__, alg[i], -ret); in test_classify_run()
/dpdk/drivers/crypto/qat/
H A Dqat_sym_session.h39 #define QAT_AES_HW_CONFIG_CBC_ENC(alg) \ argument
40 ICP_QAT_HW_CIPHER_CONFIG_BUILD(ICP_QAT_HW_CIPHER_CBC_MODE, alg, \
44 #define QAT_AES_HW_CONFIG_CBC_DEC(alg) \ argument
45 ICP_QAT_HW_CIPHER_CONFIG_BUILD(ICP_QAT_HW_CIPHER_CBC_MODE, alg, \
160 qat_sym_validate_aes_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
163 enum icp_qat_hw_cipher_algo *alg);
165 qat_sym_validate_snow3g_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
167 qat_sym_validate_kasumi_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
169 qat_sym_validate_3des_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
171 qat_sym_validate_des_key(int key_len, enum icp_qat_hw_cipher_algo *alg);
[all …]
H A Dqat_sym_session.c2015 *alg = ICP_QAT_HW_CIPHER_ALGO_AES128; in qat_sym_validate_aes_key()
2018 *alg = ICP_QAT_HW_CIPHER_ALGO_AES192; in qat_sym_validate_aes_key()
2021 *alg = ICP_QAT_HW_CIPHER_ALGO_AES256; in qat_sym_validate_aes_key()
2030 enum icp_qat_hw_cipher_algo *alg) in qat_sym_validate_aes_docsisbpi_key() argument
2034 *alg = ICP_QAT_HW_CIPHER_ALGO_AES128; in qat_sym_validate_aes_docsisbpi_key()
2037 *alg = ICP_QAT_HW_CIPHER_ALGO_AES256; in qat_sym_validate_aes_docsisbpi_key()
2049 *alg = ICP_QAT_HW_CIPHER_ALGO_SNOW_3G_UEA2; in qat_sym_validate_snow3g_key()
2061 *alg = ICP_QAT_HW_CIPHER_ALGO_KASUMI; in qat_sym_validate_kasumi_key()
2073 *alg = ICP_QAT_HW_CIPHER_ALGO_DES; in qat_sym_validate_des_key()
2087 *alg = ICP_QAT_HW_CIPHER_ALGO_3DES; in qat_sym_validate_3des_key()
[all …]
/dpdk/drivers/common/cnxk/
H A Droc_nix_ops.c29 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_tcp()
37 field->alg = NIX_LSOALG_ADD_SEGNUM; in nix_lso_tcp()
45 field->alg = NIX_LSOALG_ADD_OFFSET; in nix_lso_tcp()
51 field->alg = NIX_LSOALG_TCP_FLAGS; in nix_lso_tcp()
67 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp()
75 field->alg = NIX_LSOALG_ADD_SEGNUM; in nix_lso_udp_tun_tcp()
83 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp()
90 field->alg = NIX_LSOALG_ADD_PAYLEN; in nix_lso_udp_tun_tcp()
106 field->alg = NIX_LSOALG_ADD_OFFSET; in nix_lso_udp_tun_tcp()
113 field->alg = NIX_LSOALG_TCP_FLAGS; in nix_lso_udp_tun_tcp()
[all …]
/dpdk/lib/hash/
H A Drte_hash_crc.h57 rte_hash_crc_set_alg(uint8_t alg) in rte_hash_crc_set_alg() argument
61 if (alg == CRC32_SW) in rte_hash_crc_set_alg()
65 if (!(alg & CRC32_SSE42_x64)) in rte_hash_crc_set_alg()
68 if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_EM64T) || alg == CRC32_SSE42) in rte_hash_crc_set_alg()
75 if (!(alg & CRC32_ARM64)) in rte_hash_crc_set_alg()
/dpdk/app/test-acl/
H A Dmain.c62 enum rte_acl_classify_alg alg; member
72 .alg = RTE_ACL_CLASSIFY_SSE,
76 .alg = RTE_ACL_CLASSIFY_AVX2,
80 .alg = RTE_ACL_CLASSIFY_NEON,
110 struct acl_alg alg; member
122 .alg = {
826 if (config.alg.alg != RTE_ACL_CLASSIFY_DEFAULT) { in acx_init()
827 ret = rte_acl_set_ctx_classify(config.acx, config.alg.alg); in acx_init()
952 config.alg = acl_alg[i]; in get_alg_opt()
1022 fprintf(f, "%s:%u(%s)\n", OPT_SEARCH_ALG, config.alg.alg, in dump_config()
[all …]
H A Dtest-acl.sh64 --tracestep=${TACL_STEP} --alg=${TACL_ALG} \
/dpdk/drivers/crypto/dpaa_sec/
H A Ddpaa_sec.c258 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_pdcp_cdb()
266 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_pdcp_cdb()
387 cipherdata.algtype = ses->cipher_key.alg; in dpaa_sec_prep_ipsec_cdb()
395 authdata.algtype = ses->auth_key.alg; in dpaa_sec_prep_ipsec_cdb()
475 alginfo_c.algtype = ses->cipher_key.alg; in dpaa_sec_prep_cdb()
513 alginfo_a.algtype = ses->auth_key.alg; in dpaa_sec_prep_cdb()
576 alginfo.algtype = ses->aead_key.alg; in dpaa_sec_prep_cdb()
597 alginfo_c.algtype = ses->cipher_key.alg; in dpaa_sec_prep_cdb()
604 alginfo_a.algtype = ses->auth_key.alg; in dpaa_sec_prep_cdb()
2295 session->auth_key.alg = OP_ALG_ALGSEL_MD5; in dpaa_sec_auth_init()
[all …]
H A Ddpaa_sec.h165 uint32_t alg; member
172 uint32_t alg; member
178 uint32_t alg; member
/dpdk/examples/l3fwd-acl/
H A Dmain.c151 enum rte_acl_classify_alg alg; member
155 .alg = RTE_ACL_CLASSIFY_SCALAR,
159 .alg = RTE_ACL_CLASSIFY_SSE,
163 .alg = RTE_ACL_CLASSIFY_AVX2,
167 .alg = RTE_ACL_CLASSIFY_NEON,
489 enum rte_acl_classify_alg alg; member
1167 if (alg == acl_alg[i].alg) in str_acl_alg()
1181 return acl_alg[i].alg; in parse_acl_alg()
1619 char alg[PATH_MAX]; in print_usage() local
1621 usage_acl_alg(alg, sizeof(alg)); in print_usage()
[all …]
/dpdk/lib/net/
H A Drte_net_crc.h42 rte_net_crc_set_alg(enum rte_net_crc_alg alg);
H A Drte_net_crc.c292 rte_net_crc_set_alg(enum rte_net_crc_alg alg) in rte_net_crc_set_alg() argument
298 switch (alg) { in rte_net_crc_set_alg()
/dpdk/drivers/net/cnxk/
H A Drte_pmd_cnxk.h55 enum rte_pmd_cnxk_sec_action_alg alg; member
H A Dcnxk_ethdev_mtr.c109 switch (profile->alg) { in nix_mtr_profile_validate()
1050 cfg->alg = alg_map[profile->profile.alg]; in nix_mtr_config_map()
1053 switch (cfg->alg) { in nix_mtr_config_map()
/dpdk/lib/pipeline/
H A Drte_table_action.h226 enum rte_table_action_meter_algorithm alg; member
289 enum rte_table_action_meter_algorithm alg; member
/dpdk/drivers/common/sfc_efx/base/
H A Defx_rx.c33 __in efx_rx_hash_alg_t alg,
606 __in efx_rx_hash_alg_t alg, in efx_rx_scale_mode_set() argument
643 rc = efx_rx_scale_hash_flags_get(enp, alg, type_flags, in efx_rx_scale_mode_set()
687 if ((rc = erxop->erxo_scale_mode_set(enp, rss_context, alg, in efx_rx_scale_mode_set()
1279 __in efx_rx_hash_alg_t alg, in siena_rx_scale_mode_set() argument
1290 switch (alg) { in siena_rx_scale_mode_set()
H A Drhead_rx.c130 __in efx_rx_hash_alg_t alg, in rhead_rx_scale_mode_set() argument
136 rc = ef10_rx_scale_mode_set(enp, rss_context, alg, type, insert); in rhead_rx_scale_mode_set()
/dpdk/lib/ethdev/
H A Drte_mtr.h130 enum rte_mtr_algorithm alg; member
/dpdk/doc/guides/sample_app_ug/
H A Dl3_forward_access_ctrl.rst239 …e,lcore)[,(port,queue,lcore)] --rule_ipv4 FILENAME --rule_ipv6 FILENAME [--alg=<val>] [--max-pkt-l…
255 * --alg=<val>: optional, ACL classify method to use, one of:
272 …p 0x3 --config="(0,0,1),(1,0,2)" --rule_ipv4="rule_ipv4.db" --rule_ipv6="rule_ipv6.db" --alg=scalar
298 * The --alg=scalar option specifies the performing of rule lookup with a scalar function.
/dpdk/drivers/net/sfc/
H A Dsfc_rx.c1379 efx_rx_hash_alg_t alg; in sfc_rx_hash_init() local
1389 alg = EFX_RX_HASHALG_TOEPLITZ; in sfc_rx_hash_init()
1391 alg = EFX_RX_HASHALG_PACKED_STREAM; in sfc_rx_hash_init()
1395 rc = efx_rx_scale_hash_flags_get(sa->nic, alg, flags_supp, in sfc_rx_hash_init()
1421 rss->hash_alg = alg; in sfc_rx_hash_init()

12