Home
last modified time | relevance | path

Searched refs:hash_type (Results 1 – 23 of 23) sorted by relevance

/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_ext_flow_handle.h38 hash_type) \ argument
51 (hash_type) = (((flow_handle) & TF_HASH_TYPE_FLOW_HANDLE_MASK) >> \
61 hash_type) \ argument
77 ((((uint64_t)hash_type) << TF_HASH_TYPE_FLOW_HANDLE_SFT) & \
90 hash_type) \ argument
92 hash_type = (((flow_handle) & TF_HASH_TYPE_FLOW_HANDLE_MASK) >> \
H A Dtf_em_common.c822 enum hcapi_cfa_em_table_type hash_type; in tf_delete_eem_entry() local
830 TF_GET_HASH_TYPE_FROM_FLOW_HANDLE(parms->flow_handle, hash_type); in tf_delete_eem_entry()
836 [(hash_type == 0 ? TF_KEY0_TABLE : TF_KEY1_TABLE)]; in tf_delete_eem_entry()
/dpdk/drivers/common/cnxk/
H A Droc_se.c92 if (unlikely(ctx->hash_type)) in cpt_ciph_type_set()
100 if (unlikely(ctx->hash_type)) in cpt_ciph_type_set()
112 if (unlikely(ctx->hash_type)) in cpt_ciph_type_set()
316 se_ctx->hash_type = type; in roc_se_auth_key_set()
336 fctx->enc.hash_type = type; in roc_se_auth_key_set()
337 se_ctx->hash_type = type; in roc_se_auth_key_set()
493 if (se_ctx->hash_type != ROC_SE_GMAC_TYPE) in roc_se_ciph_key_set()
H A Droc_se.h188 uint64_t hash_type : 4; member
285 uint64_t hash_type : 8; member
/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_ctx.h48 uint64_t hash_type : 4; member
58 uint64_t hash_type : 4;
H A Dnitrox_sym.c473 fctx->w0.hash_type = type; in configure_auth_ctx()
513 fctx->w0.hash_type = AUTH_NULL; in configure_aead_ctx()
/dpdk/drivers/net/hinic/base/
H A Dhinic_pmd_niccfg.c986 struct hinic_rss_engine_type hash_type; in hinic_rss_set_hash_engine() local
987 u16 out_size = sizeof(hash_type); in hinic_rss_set_hash_engine()
995 memset(&hash_type, 0, sizeof(hash_type)); in hinic_rss_set_hash_engine()
996 hash_type.mgmt_msg_head.resp_aeq_num = HINIC_AEQ1; in hinic_rss_set_hash_engine()
997 hash_type.func_id = hinic_global_func_id(hwdev); in hinic_rss_set_hash_engine()
998 hash_type.hash_engine = type; in hinic_rss_set_hash_engine()
999 hash_type.template_id = tmpl_idx; in hinic_rss_set_hash_engine()
1002 &hash_type, sizeof(hash_type), in hinic_rss_set_hash_engine()
1003 &hash_type, &out_size); in hinic_rss_set_hash_engine()
1004 if (err || !out_size || hash_type.mgmt_msg_head.status) { in hinic_rss_set_hash_engine()
[all …]
/dpdk/drivers/common/cpt/
H A Dcpt_ucode.h139 if (unlikely(ctx->hash_type)) in cpt_fc_ciph_set_type()
148 if (unlikely(ctx->hash_type)) in cpt_fc_ciph_set_type()
481 auth_type_t hash_type; in cpt_digest_gen_prep() local
520 hash_type = ctx->hash_type; in cpt_digest_gen_prep()
696 hash_type = cpt_ctx->hash_type; in cpt_enc_hmac_prep()
758 if (hash_type == GMAC_TYPE) { in cpt_enc_hmac_prep()
1038 int32_t hash_type, mac_len; in cpt_dec_hmac_prep() local
1072 hash_type = cpt_ctx->hash_type; in cpt_dec_hmac_prep()
1133 if (hash_type == GMAC_TYPE) { in cpt_dec_hmac_prep()
2532 cpt_ctx->hash_type = type; in cpt_fc_auth_set_key()
[all …]
H A Dcpt_mcode_defines.h285 uint64_t hash_type : 4; member
316 uint64_t hash_type :8; member
/dpdk/drivers/crypto/cnxk/
H A Dcnxk_se.h270 roc_se_auth_type hash_type; in cpt_digest_gen_prep() local
280 hash_type = ctx->hash_type; in cpt_digest_gen_prep()
301 if (unlikely(!hash_type && !ctx->enc_cipher)) { in cpt_digest_gen_prep()
400 uint32_t cipher_type, hash_type; in cpt_enc_hmac_prep() local
424 hash_type = se_ctx->hash_type; in cpt_enc_hmac_prep()
440 if (hash_type != ROC_SE_GMAC_TYPE) { in cpt_enc_hmac_prep()
460 if (hash_type == ROC_SE_GMAC_TYPE) { in cpt_enc_hmac_prep()
700 int32_t hash_type, mac_len; in cpt_dec_hmac_prep() local
724 hash_type = se_ctx->hash_type; in cpt_dec_hmac_prep()
740 if (hash_type != ROC_SE_GMAC_TYPE) { in cpt_dec_hmac_prep()
[all …]
/dpdk/drivers/net/bnxt/
H A Dbnxt_vnic.h29 uint16_t hash_type; member
H A Dbnxt_flow.c1119 uint16_t hash_type; in bnxt_vnic_rss_cfg_update() local
1218 hash_type = bnxt_rte_to_hwrm_hash_types(types); in bnxt_vnic_rss_cfg_update()
1221 if (hash_type) in bnxt_vnic_rss_cfg_update()
1222 vnic->hash_type = hash_type; in bnxt_vnic_rss_cfg_update()
1632 vnic->hash_type = in bnxt_validate_and_parse_flow()
H A Dbnxt_rxq.c181 vnic->hash_type = bnxt_rte_to_hwrm_hash_types(rss->rss_hf); in bnxt_mq_rx_configure()
H A Dbnxt_hwrm.c2352 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_hwrm_vnic_rss_cfg_p5()
2389 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_hwrm_vnic_rss_cfg()
5120 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_vnic_rss_configure_p5()
5179 if (!(vnic->rss_table && vnic->hash_type)) in bnxt_vnic_rss_configure()
H A Dbnxt_ethdev.c2152 vnic->hash_type = bnxt_rte_to_hwrm_hash_types(rss_conf->rss_hf); in bnxt_rss_hash_update_op()
2203 hash_types = vnic->hash_type; in bnxt_rss_hash_conf_get_op()
2240 vnic->hash_type); in bnxt_rss_hash_conf_get_op()
H A Dhsi_struct_def_dpdk.h23574 uint32_t hash_type; member
23701 uint32_t hash_type; member
36818 uint32_t hash_type; member
37081 uint32_t hash_type; member
/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c444 priv->ppio_params.inqs_params.hash_type = PP2_PPIO_HASH_T_NONE; in mrvl_configure_rss()
446 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
449 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
453 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
529 priv->ppio_params.inqs_params.hash_type = PP2_PPIO_HASH_T_NONE; in mrvl_dev_configure()
2326 enum pp2_ppio_hash_type hash_type = in mrvl_rss_hash_conf_get() local
2327 priv->ppio_params.inqs_params.hash_type; in mrvl_rss_hash_conf_get()
2331 if (hash_type == PP2_PPIO_HASH_T_NONE) in mrvl_rss_hash_conf_get()
2333 else if (hash_type == PP2_PPIO_HASH_T_2_TUPLE) in mrvl_rss_hash_conf_get()
2335 else if (hash_type == PP2_PPIO_HASH_T_5_TUPLE && priv->rss_hf_tcp) in mrvl_rss_hash_conf_get()
[all …]
/dpdk/drivers/net/nfp/
H A Dnfp_rxtx.c157 uint32_t hash_type = 0; in nfp_net_set_hash() local
191 hash_type = meta_info & NFP_NET_META_FIELD_MASK; in nfp_net_set_hash()
202 hash_type = rte_be_to_cpu_32(*(uint32_t *)NFP_HASH_TYPE_OFFSET); in nfp_net_set_hash()
208 switch (hash_type) { in nfp_net_set_hash()
/dpdk/drivers/net/cxgbe/base/
H A Dt4_msg.h83 __u8 hash_type:2; member
89 __u8 hash_type:2; member
/dpdk/drivers/net/sfc/
H A Dsfc_rx.c1341 sfc_rx_hash_types_mask_supp(efx_rx_hash_type_t hash_type, in sfc_rx_hash_types_mask_supp() argument
1363 flag = hash_type & tuple_mask; in sfc_rx_hash_types_mask_supp()
1471 efx_rx_hash_type_t hash_type = rss->hf_map[i].efx; in sfc_rx_hf_efx_to_rte() local
1473 if ((efx & hash_type) == hash_type) in sfc_rx_hf_efx_to_rte()
/dpdk/drivers/net/bnxt/tf_ulp/
H A Dbnxt_tf_pmd_shim.c85 vnic->hash_type = hwrm_type; in bnxt_rss_config_action_apply()
/dpdk/drivers/net/iavf/
H A Diavf_hash.c53 uint64_t hash_type; member
/dpdk/drivers/net/cxgbe/
H A Dsge.c1582 rss_hdr->hash_type) { in process_responses()