| /f-stack/dpdk/drivers/net/bnxt/tf_core/ |
| H A D | tf_ext_flow_handle.h | 35 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 D | tf_em_common.c | 806 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 D | nitrox_sym_ctx.h | 48 uint64_t hash_type : 4; member 58 uint64_t hash_type : 4;
|
| H A D | nitrox_sym.c | 473 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 D | rss_config.h | 132 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 D | rss_config.c | 357 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 D | in_rss.c | 379 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 D | raw_ip.c | 492 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 D | tcp_ratelimit.c | 518 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 D | udp_usrreq.c | 1490 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 D | in6_rss.c | 402 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 D | raw_ip6.c | 469 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 D | in6_pcb.c | 429 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 D | udp6_usrreq.c | 956 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 D | hinic_pmd_niccfg.c | 986 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 D | cpt_mcode_defines.h | 279 uint64_t hash_type : 4; member 310 uint64_t hash_type :8; member
|
| H A D | cpt_ucode.h | 139 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 D | bnxt_vnic.h | 29 uint16_t hash_type; member
|
| H A D | bnxt_rxq.c | 178 vnic->hash_type = in bnxt_mq_rx_configure()
|
| H A D | bnxt_hwrm.c | 2178 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 D | mrvl_ethdev.c | 318 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 D | t4_msg.h | 83 __u8 hash_type:2; member 89 __u8 hash_type:2; member
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc_rx.c | 1282 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 D | ice_hash.c | 37 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 D | nfp_net.c | 1899 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()
|