Home
last modified time | relevance | path

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

12

/f-stack/dpdk/drivers/net/bnxt/tf_core/
H A Dtf_ext_flow_handle.h35 hash_type) \ argument
48 (hash_type) = (((flow_handle) & TF_HASH_TYPE_FLOW_HANDLE_MASK) >> \
58 hash_type) \ argument
74 ((((uint64_t)hash_type) << TF_HASH_TYPE_FLOW_HANDLE_SFT) & \
87 hash_type) \ argument
89 hash_type = (((flow_handle) & TF_HASH_TYPE_FLOW_HANDLE_MASK) >> \
H A Dtf_em_common.c806 enum hcapi_cfa_em_table_type hash_type; in tf_delete_eem_entry() local
814 TF_GET_HASH_TYPE_FROM_FLOW_HANDLE(parms->flow_handle, hash_type); in tf_delete_eem_entry()
820 [(hash_type == 0 ? TF_KEY0_TABLE : TF_KEY1_TABLE)]; in tf_delete_eem_entry()
/f-stack/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()
/f-stack/freebsd/net/
H A Drss_config.h132 u_int rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type);
133 int rss_hash2bucket(uint32_t hash_val, uint32_t hash_type,
H A Drss_config.c357 rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type) in rss_hash2cpuid() argument
360 switch (hash_type) { in rss_hash2cpuid()
378 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument
381 switch (hash_type) { in rss_hash2bucket()
/f-stack/freebsd/netinet/
H A Din_rss.c379 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v4() local
385 &hash_val, &hash_type); in rss_soft_m2cpuid_v4()
392 M_HASHTYPE_SET(m, hash_type); in rss_soft_m2cpuid_v4()
H A Draw_ip.c492 uint32_t hash_type, hash_val; in rip_output() local
495 ip->ip_dst, 0, 0, ip->ip_p, &hash_type); in rip_output()
497 M_HASHTYPE_SET(m, hash_type); in rip_output()
538 uint32_t hash_type, hash_val; in rip_output() local
541 ip->ip_src, 0, 0, ip->ip_p, &hash_type); in rip_output()
543 M_HASHTYPE_SET(m, hash_type); in rip_output()
H A Dtcp_ratelimit.c518 uint32_t hash_type; in rt_setup_new_rs() local
697 hash_type = M_HASHTYPE_RSS_TCP_IPV4; in rt_setup_new_rs()
699 hash_type = M_HASHTYPE_OPAQUE_HASH; in rt_setup_new_rs()
702 hash_type, in rt_setup_new_rs()
H A Dudp_usrreq.c1490 uint32_t hash_val, hash_type; in udp_output() local
1493 lport, fport, pr, &hash_type); in udp_output()
1495 M_HASHTYPE_SET(m, hash_type); in udp_output()
/f-stack/freebsd/netinet6/
H A Din6_rss.c402 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v6() local
408 &hash_val, &hash_type); in rss_soft_m2cpuid_v6()
415 M_HASHTYPE_SET(m, hash_type); in rss_soft_m2cpuid_v6()
H A Draw_ip6.c469 uint32_t hash_type, hash_val; in rip6_output() local
473 &hash_type); in rip6_output()
475 inp->inp_flowtype = hash_type; in rip6_output()
H A Din6_pcb.c429 uint32_t hash_type, hash_val; in in6_pcbconnect_mbuf() local
433 inp->inp_socket->so_proto->pr_protocol, &hash_type); in in6_pcbconnect_mbuf()
435 inp->inp_flowtype = hash_type; in in6_pcbconnect_mbuf()
H A Dudp6_usrreq.c956 uint32_t hash_type, hash_val; in udp6_output() local
962 inp->inp_lport, fport, pr, &hash_type); in udp6_output()
964 M_HASHTYPE_SET(m, hash_type); in udp6_output()
/f-stack/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 …]
/f-stack/dpdk/drivers/common/cpt/
H A Dcpt_mcode_defines.h279 uint64_t hash_type : 4; member
310 uint64_t hash_type :8; member
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()
697 hash_type = cpt_ctx->hash_type; in cpt_enc_hmac_prep()
757 if (hash_type == GMAC_TYPE) { in cpt_enc_hmac_prep()
1024 int32_t hash_type, mac_len; in cpt_dec_hmac_prep() local
1058 hash_type = cpt_ctx->hash_type; in cpt_dec_hmac_prep()
1117 if (hash_type == GMAC_TYPE) { in cpt_dec_hmac_prep()
2464 cpt_ctx->hash_type = type; in cpt_fc_auth_set_key()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_vnic.h29 uint16_t hash_type; member
H A Dbnxt_rxq.c178 vnic->hash_type = in bnxt_mq_rx_configure()
H A Dbnxt_hwrm.c2178 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_hwrm_vnic_rss_cfg_thor()
2215 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_hwrm_vnic_rss_cfg()
4838 req.hash_type = rte_cpu_to_le_32(vnic->hash_type); in bnxt_vnic_rss_configure_thor()
4895 if (!(vnic->rss_table && vnic->hash_type)) in bnxt_vnic_rss_configure()
4904 if (vnic->rss_table && vnic->hash_type) { in bnxt_vnic_rss_configure()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_ethdev.c318 priv->ppio_params.inqs_params.hash_type = PP2_PPIO_HASH_T_NONE; in mrvl_configure_rss()
320 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
323 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
327 priv->ppio_params.inqs_params.hash_type = in mrvl_configure_rss()
400 priv->ppio_params.inqs_params.hash_type = PP2_PPIO_HASH_T_NONE; in mrvl_dev_configure()
1979 enum pp2_ppio_hash_type hash_type = in mrvl_rss_hash_conf_get() local
1980 priv->ppio_params.inqs_params.hash_type; in mrvl_rss_hash_conf_get()
1984 if (hash_type == PP2_PPIO_HASH_T_NONE) in mrvl_rss_hash_conf_get()
1986 else if (hash_type == PP2_PPIO_HASH_T_2_TUPLE) in mrvl_rss_hash_conf_get()
1988 else if (hash_type == PP2_PPIO_HASH_T_5_TUPLE && priv->rss_hf_tcp) in mrvl_rss_hash_conf_get()
[all …]
/f-stack/dpdk/drivers/net/cxgbe/base/
H A Dt4_msg.h83 __u8 hash_type:2; member
89 __u8 hash_type:2; member
/f-stack/dpdk/drivers/net/sfc/
H A Dsfc_rx.c1282 sfc_rx_hash_types_mask_supp(efx_rx_hash_type_t hash_type, in sfc_rx_hash_types_mask_supp() argument
1304 flag = hash_type & tuple_mask; in sfc_rx_hash_types_mask_supp()
1412 efx_rx_hash_type_t hash_type = rss->hf_map[i].efx; in sfc_rx_hf_efx_to_rte() local
1414 if ((efx & hash_type) == hash_type) in sfc_rx_hf_efx_to_rte()
/f-stack/dpdk/drivers/net/ice/
H A Dice_hash.c37 uint64_t hash_type; member
1128 if (rss_type == ht_map->hash_type) { in ice_hash_parse_action()
/f-stack/dpdk/drivers/net/nfp/
H A Dnfp_net.c1899 uint32_t hash_type = 0; in nfp_net_set_hash() local
1933 hash_type = meta_info & NFP_NET_META_FIELD_MASK; in nfp_net_set_hash()
1944 hash_type = rte_be_to_cpu_32(*(uint32_t *)NFP_HASH_TYPE_OFFSET); in nfp_net_set_hash()
1950 switch (hash_type) { in nfp_net_set_hash()

12