Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Droute.c1950 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); in fib_multipath_custom_hash_outer() local
1953 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() local
1989 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 …]
/linux/net/ipv6/
H A Droute.c2404 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local
2407 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_OUTER_MASK)) in rt6_multipath_custom_hash_outer()
2414 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_IP) in rt6_multipath_custom_hash_outer()
2416 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_IP) in rt6_multipath_custom_hash_outer()
2418 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_IP_PROTO) in rt6_multipath_custom_hash_outer()
2420 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_FLOWLABEL) in rt6_multipath_custom_hash_outer()
2422 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_SRC_PORT) in rt6_multipath_custom_hash_outer()
2424 if (hash_fields & FIB_MULTIPATH_HASH_FIELD_DST_PORT) in rt6_multipath_custom_hash_outer()
2435 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_inner() local
2445 if (!(hash_fields & FIB_MULTIPATH_HASH_FIELD_INNER_MASK)) in rt6_multipath_custom_hash_inner()
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_router.c11222 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() argument
11230 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 …]
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_com.h797 u16 hash_fields);
H A Dena_com.c2809 u16 hash_fields) in ena_com_fill_hash_ctrl() argument
2828 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()