Searched refs:hash_fields (Results 1 – 7 of 7) sorted by relevance
562 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument566 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()569 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()572 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()575 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()578 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()584 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument588 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()591 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()594 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()[all …]
718 u16 hash_fields);
2600 u16 hash_fields) in ena_com_fill_hash_ctrl() argument2620 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()2623 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()2626 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
1927 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local1930 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() local1966 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 …]
2341 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local2344 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in rt6_multipath_custom_hash_outer()2351 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in rt6_multipath_custom_hash_outer()2353 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in rt6_multipath_custom_hash_outer()2355 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in rt6_multipath_custom_hash_outer()2357 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_FLOWLABEL) in rt6_multipath_custom_hash_outer()2359 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in rt6_multipath_custom_hash_outer()2361 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in rt6_multipath_custom_hash_outer()2372 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_inner() local2382 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in rt6_multipath_custom_hash_inner()[all …]
11007 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() argument11015 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in mlxsw_sp_mp_hash_inner_custom()11017 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in mlxsw_sp_mp_hash_inner_custom()11019 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11024 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) { in mlxsw_sp_mp_hash_inner_custom()11028 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) { in mlxsw_sp_mp_hash_inner_custom()11032 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11034 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in mlxsw_sp_mp_hash_inner_custom()11039 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in mlxsw_sp_mp_hash_inner_custom()11041 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in mlxsw_sp_mp_hash_inner_custom()[all …]
1869 ice_flow_set_rss_seg_info(struct ice_flow_seg_info *segs, u64 hash_fields, in ice_flow_set_rss_seg_info() argument1875 for_each_set_bit(i, (unsigned long *)&hash_fields, in ice_flow_set_rss_seg_info()