Searched refs:hash_fields (Results 1 – 7 of 7) sorted by relevance
563 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument567 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()570 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()573 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()576 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()579 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()585 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument589 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()592 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()595 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()[all …]
718 u16 hash_fields);
2508 u16 hash_fields) in ena_com_fill_hash_ctrl() argument2527 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()2530 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()2533 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
1945 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local1948 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()1955 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()1957 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()1959 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()1961 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()1963 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()1974 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local1984 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()1995 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()[all …]
2345 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local2348 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in rt6_multipath_custom_hash_outer()2355 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in rt6_multipath_custom_hash_outer()2357 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in rt6_multipath_custom_hash_outer()2359 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in rt6_multipath_custom_hash_outer()2361 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_FLOWLABEL) in rt6_multipath_custom_hash_outer()2363 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in rt6_multipath_custom_hash_outer()2365 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in rt6_multipath_custom_hash_outer()2376 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_inner() local2386 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in rt6_multipath_custom_hash_inner()[all …]
11008 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() argument11016 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in mlxsw_sp_mp_hash_inner_custom()11018 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in mlxsw_sp_mp_hash_inner_custom()11020 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11025 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) { in mlxsw_sp_mp_hash_inner_custom()11029 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) { in mlxsw_sp_mp_hash_inner_custom()11033 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11035 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in mlxsw_sp_mp_hash_inner_custom()11040 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in mlxsw_sp_mp_hash_inner_custom()11042 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()