Home
last modified time | relevance | path

Searched refs:flow_hash (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/meta/fbnic/
Dfbnic_rpc.c64 u32 flow_hash = fbn->rss_flow_hash[flow_type]; in fbnic_flow_hash_2_rss_en_mask() local
67 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L2DA, L2_DA, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
68 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP_SRC, IP_SRC, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
69 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP_DST, IP_DST, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
70 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L4_B_0_1, L4_SRC, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
71 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L4_B_2_3, L4_DST, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
272 u32 flow_hash, dest, rss_en_mask; in fbnic_rss_reinit() local
277 flow_hash = fbn->rss_flow_hash[flow_type]; in fbnic_rss_reinit()
281 !(RXH_DISCARD & flow_hash) ? in fbnic_rss_reinit()
/linux-6.12.1/net/sched/
Dsch_cake.c636 u32 flow_hash = 0, srchost_hash = 0, dsthost_hash = 0; in cake_hash() local
702 flow_hash = flow_hash_from_keys(&keys); in cake_hash()
706 flow_hash = flow_override - 1; in cake_hash()
708 flow_hash = skb->hash; in cake_hash()
716 flow_hash ^= srchost_hash; in cake_hash()
719 flow_hash ^= dsthost_hash; in cake_hash()
722 reduced_hash = flow_hash % CAKE_QUEUES; in cake_hash()
726 if (likely(q->tags[reduced_hash] == flow_hash && in cake_hash()
741 if (q->tags[outer_hash + k] == flow_hash) { in cake_hash()
784 q->tags[reduced_hash] = flow_hash; in cake_hash()
/linux-6.12.1/net/openvswitch/
Dflow_table.c645 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() function
709 hash = flow_hash(&masked_key, &mask->range); in masked_flow_lookup()
1040 flow->flow_table.hash = flow_hash(&flow->key, &flow->mask->range); in flow_key_insert()