Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c492 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument
496 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()
499 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()
502 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()
505 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()
508 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()
514 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument
518 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()
521 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()
524 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()
[all …]
Dena_com.h716 u16 hash_fields);
Dena_com.c2530 u16 hash_fields) in ena_com_fill_hash_ctrl() argument
2549 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()
2551 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()
2554 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
/Linux-v5.10/drivers/net/ethernet/intel/ice/
Dice_flow.c1177 ice_flow_set_rss_seg_info(struct ice_flow_seg_info *segs, u64 hash_fields, in ice_flow_set_rss_seg_info() argument
1183 for_each_set_bit(i, (unsigned long *)&hash_fields, in ice_flow_set_rss_seg_info()