Home
last modified time | relevance | path

Searched refs:hash_val (Results 1 – 19 of 19) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dst.c251 #define PTR_NOT_EQUAL(table, ptr, hash_val, key) \ argument
252 ((ptr) != 0 && (ptr->hash != (hash_val) || !EQUAL((table), (key), (ptr)->key)))
260 #define FIND_ENTRY(table, ptr, hash_val, bin_pos) do {\ argument
261 bin_pos = hash_val%(table)->num_bins;\
263 if (PTR_NOT_EQUAL(table, ptr, hash_val, key)) \
266 while (PTR_NOT_EQUAL(table, ptr->next, hash_val, key)) {\
275 unsigned int hash_val, bin_pos; in st_lookup() local
278 hash_val = do_hash(key, table); in st_lookup()
279 FIND_ENTRY(table, ptr, hash_val, bin_pos); in st_lookup()
290 #define ADD_DIRECT(table, key, value, hash_val, bin_pos)\ argument
[all …]
/freebsd/contrib/flex/src/
H A Dsym.c75 int hash_val = hashfunct (sym, table_size); in addsym() local
76 struct hash_entry *sym_entry = table[hash_val]; in addsym()
94 if ((successor = table[hash_val]) != 0) { in addsym()
106 table[hash_val] = new_entry; in addsym()
/freebsd/sys/dev/ice/
H A Dice_rss.h90 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument
99 *bucket_id = hash_val; in rss_hash2bucket()
/freebsd/sys/net/
H A Drss_config.c349 rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type) in rss_hash2cpuid() argument
359 return (rss_getcpu(rss_getbucket(hash_val))); in rss_hash2cpuid()
370 rss_hash2bucket(uint32_t hash_val, uint32_t hash_type, uint32_t *bucket_id) in rss_hash2bucket() argument
380 *bucket_id = rss_getbucket(hash_val); in rss_hash2bucket()
H A Drss_config.h130 u_int rss_hash2cpuid(uint32_t hash_val, uint32_t hash_type);
131 int rss_hash2bucket(uint32_t hash_val, uint32_t hash_type,
/freebsd/sys/dev/qcom_ess_edma/
H A Dqcom_ess_edma_rx.c337 int num_rfds, port_id, priority, hash_type, hash_val, flow_cookie, vlan; in qcom_ess_edma_rx_ring_complete() local
382 hash_val = rrd->rrd2; in qcom_ess_edma_rx_ring_complete()
395 hash_val, in qcom_ess_edma_rx_ring_complete()
469 m->m_pkthdr.flowid = hash_val; in qcom_ess_edma_rx_ring_complete()
/freebsd/sys/netinet/
H A Din_rss.c369 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v4() local
375 &hash_val, &hash_type); in rss_soft_m2cpuid_v4()
381 m->m_pkthdr.flowid = hash_val; in rss_soft_m2cpuid_v4()
H A Draw_ip.c491 uint32_t hash_type, hash_val; in rip_send() local
493 hash_val = fib4_calc_software_hash(ip->ip_src, in rip_send()
495 m->m_pkthdr.flowid = hash_val; in rip_send()
544 uint32_t hash_type, hash_val; in rip_send() local
546 hash_val = fib4_calc_software_hash(ip->ip_dst, in rip_send()
548 m->m_pkthdr.flowid = hash_val; in rip_send()
H A Dudp_usrreq.c1441 uint32_t hash_val, hash_type; in udp_send() local
1443 hash_val = fib4_calc_packet_hash(laddr, faddr, in udp_send()
1445 m->m_pkthdr.flowid = hash_val; in udp_send()
H A Din_pcb.c1172 uint32_t hash_val, hash_type; in in_pcbconnect() local
1174 hash_val = fib4_calc_software_hash(inp->inp_laddr, in in_pcbconnect()
1178 inp->inp_flowid = hash_val; in in_pcbconnect()
/freebsd/sys/netinet6/
H A Din6_rss.c394 uint32_t hash_val, hash_type; in rss_soft_m2cpuid_v6() local
400 &hash_val, &hash_type); in rss_soft_m2cpuid_v6()
406 m->m_pkthdr.flowid = hash_val; in rss_soft_m2cpuid_v6()
H A Draw_ip6.c458 uint32_t hash_type, hash_val; in rip6_send() local
460 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in rip6_send()
462 inp->inp_flowid = hash_val; in rip6_send()
H A Din6_pcb.c482 uint32_t hash_type, hash_val; in in6_pcbconnect() local
484 hash_val = fib6_calc_software_hash(&inp->in6p_laddr, in in6_pcbconnect()
487 inp->inp_flowid = hash_val; in in6_pcbconnect()
H A Dudp6_usrreq.c925 uint32_t hash_type, hash_val; in udp6_send() local
930 hash_val = fib6_calc_packet_hash(laddr, faddr, in udp6_send()
932 m->m_pkthdr.flowid = hash_val; in udp6_send()
/freebsd/sys/contrib/dpdk_rte_lpm/
H A Drte_lpm6.c455 uint64_t hash_val;
460 (void **) &hash_val);
462 *next_hop = (uint32_t) hash_val;
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_listen.c1505 synqe->rss_hash = be32toh(rss->hash_val); in do_pass_accept_req()
/freebsd/sys/dev/cxgbe/crypto/
H A Dt4_crypto.c354 cpl->rss_hdr_int.hash_val = 0; in ccr_write_phys_dsgl()
/freebsd/sys/dev/cxgbe/common/
H A Dt4_msg.h388 __be32 hash_val; member
/freebsd/sys/dev/cxgbe/
H A Dt4_sge.c2014 m0->m_pkthdr.flowid = be32toh(d->rss.hash_val); in eth_rx()