Searched refs:hash_fields (Results 1 – 6 of 6) sorted by relevance
694 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument698 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type()701 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type()704 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type()707 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type()710 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type()716 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument720 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash()723 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash()726 if (hash_fields & RXH_IP_SRC) in ena_flow_data_to_flow_hash()[all …]
797 u16 hash_fields);
2809 u16 hash_fields) in ena_com_fill_hash_ctrl() argument2828 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl()2831 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl()2834 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl()
1950 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local1953 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in fib_multipath_custom_hash_outer()1960 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in fib_multipath_custom_hash_outer()1962 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in fib_multipath_custom_hash_outer()1964 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in fib_multipath_custom_hash_outer()1966 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in fib_multipath_custom_hash_outer()1968 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in fib_multipath_custom_hash_outer()1979 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_inner() local1989 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in fib_multipath_custom_hash_inner()2000 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in fib_multipath_custom_hash_inner()[all …]
2405 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local2408 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in rt6_multipath_custom_hash_outer()2415 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in rt6_multipath_custom_hash_outer()2417 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in rt6_multipath_custom_hash_outer()2419 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in rt6_multipath_custom_hash_outer()2421 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_FLOWLABEL) in rt6_multipath_custom_hash_outer()2423 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in rt6_multipath_custom_hash_outer()2425 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in rt6_multipath_custom_hash_outer()2436 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_inner() local2446 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in rt6_multipath_custom_hash_inner()[all …]
11222 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() argument11230 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) in mlxsw_sp_mp_hash_inner_custom()11232 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) in mlxsw_sp_mp_hash_inner_custom()11234 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11239 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_IP) { in mlxsw_sp_mp_hash_inner_custom()11243 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_IP) { in mlxsw_sp_mp_hash_inner_custom()11247 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_IP_PROTO) in mlxsw_sp_mp_hash_inner_custom()11249 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_FLOWLABEL) in mlxsw_sp_mp_hash_inner_custom()11254 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_SRC_PORT) in mlxsw_sp_mp_hash_inner_custom()11256 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_DST_PORT) in mlxsw_sp_mp_hash_inner_custom()[all …]