Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/meta/fbnic/
H A Dfbnic_rpc.c67 u32 flow_hash = fbn->rss_flow_hash[flow_type]; in fbnic_flow_hash_2_rss_en_mask() local
70 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L2DA, L2_DA, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
71 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP_SRC, IP_SRC, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
72 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP_DST, IP_DST, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
73 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L4_B_0_1, L4_SRC, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
74 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(L4_B_2_3, L4_DST, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
75 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP6_FL, OV6_FL_LBL, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
76 rss_en_mask |= FBNIC_FH_2_RSSEM_BIT(IP6_FL, IV6_FL_LBL, flow_hash); in fbnic_flow_hash_2_rss_en_mask()
320 u32 flow_hash, dest, rss_en_mask; in fbnic_rss_reinit() local
325 flow_hash = fbn->rss_flow_hash[flow_type]; in fbnic_rss_reinit()
[all …]
/linux/net/ethtool/
H A Drss.c23 int flow_hash[__ETHTOOL_A_FLOW_CNT]; member
105 data->flow_hash[i] = -1; /* Unsupported */ in rss_prepare_flow_hash()
109 data->flow_hash[i] = fields.data; in rss_prepare_flow_hash()
329 if (data->flow_hash[i] >= 0 && in rss_fill_reply()
330 nla_put_uint(skb, i, data->flow_hash[i])) { in rss_fill_reply()
738 if (data->flow_hash[i] >= 0 && in rss_check_rxfh_fields_sym()
739 !ethtool_rxfh_config_is_sym(data->flow_hash[i])) { in rss_check_rxfh_fields_sym()
783 if (data->has_flow_hash && data->flow_hash[i] == fields.data) in ethnl_set_rss_fields()
/linux/net/sched/
H A Dsch_cake.c709 u32 flow_hash = 0, srchost_hash = 0, dsthost_hash = 0; in cake_hash() local
775 flow_hash = flow_hash_from_keys(&keys); in cake_hash()
779 flow_hash = flow_override - 1; in cake_hash()
781 flow_hash = skb->hash; in cake_hash()
789 flow_hash ^= srchost_hash; in cake_hash()
792 flow_hash ^= dsthost_hash; in cake_hash()
795 reduced_hash = flow_hash % CAKE_QUEUES; in cake_hash()
799 if (likely(q->tags[reduced_hash] == flow_hash && in cake_hash()
814 if (q->tags[outer_hash + k] == flow_hash) { in cake_hash()
855 q->tags[reduced_hash] = flow_hash; in cake_hash()
/linux/net/openvswitch/
H A Dflow_table.c643 static u32 flow_hash(const struct sw_flow_key *key, in flow_hash() function
707 hash = flow_hash(&masked_key, &mask->range); in masked_flow_lookup()
1038 flow->flow_table.hash = flow_hash(&flow->key, &flow->mask->range); in flow_key_insert()