Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/net/ethernet/amazon/ena/
Dena_ethtool.c506 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument
510 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()
513 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()
516 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()
519 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()
522 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()
528 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument
532 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()
535 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()
538 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()
[all …]
Dena_com.h718 u16 hash_fields);
Dena_com.c2608 u16 hash_fields) in ena_com_fill_hash_ctrl() argument
2628 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()
2631 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()
2634 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
/Linux-v6.1/net/ipv4/
Droute.c1927 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local
1930 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()
1937 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()
1939 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()
1941 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()
1943 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()
1945 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()
1956 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local
1966 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()
1977 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()
[all …]
/Linux-v6.1/net/ipv6/
Droute.c2340 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local
2343 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in rt6_multipath_custom_hash_outer()
2350 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in rt6_multipath_custom_hash_outer()
2352 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in rt6_multipath_custom_hash_outer()
2354 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in rt6_multipath_custom_hash_outer()
2356 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_FLOWLABEL) in rt6_multipath_custom_hash_outer()
2358 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in rt6_multipath_custom_hash_outer()
2360 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in rt6_multipath_custom_hash_outer()
2371 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_inner() local
2381 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in rt6_multipath_custom_hash_inner()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c10099 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() argument
10107 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in mlxsw_sp_mp_hash_inner_custom()
10109 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in mlxsw_sp_mp_hash_inner_custom()
10111 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()
10116 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) { in mlxsw_sp_mp_hash_inner_custom()
10120 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) { in mlxsw_sp_mp_hash_inner_custom()
10124 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()
10126 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in mlxsw_sp_mp_hash_inner_custom()
10131 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in mlxsw_sp_mp_hash_inner_custom()
10133 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in mlxsw_sp_mp_hash_inner_custom()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_flow.c1886 ice_flow_set_rss_seg_info(struct ice_flow_seg_info *segs, u64 hash_fields, in ice_flow_set_rss_seg_info() argument
1892 for_each_set_bit(i, (unsigned long *)&hash_fields, in ice_flow_set_rss_seg_info()