/kernel/linux/linux-5.10/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 492 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument 496 if (hash_fields & ENA_ADMIN_RSS_L2_DA) in ena_flow_hash_to_flow_type() 499 if (hash_fields & ENA_ADMIN_RSS_L3_DA) in ena_flow_hash_to_flow_type() 502 if (hash_fields & ENA_ADMIN_RSS_L3_SA) in ena_flow_hash_to_flow_type() 505 if (hash_fields & ENA_ADMIN_RSS_L4_DP) in ena_flow_hash_to_flow_type() 508 if (hash_fields & ENA_ADMIN_RSS_L4_SP) in ena_flow_hash_to_flow_type() 514 static u16 ena_flow_data_to_flow_hash(u32 hash_fields) in ena_flow_data_to_flow_hash() argument 518 if (hash_fields & RXH_L2DA) in ena_flow_data_to_flow_hash() 521 if (hash_fields & RXH_IP_DST) in ena_flow_data_to_flow_hash() 524 if (hash_fields in ena_flow_data_to_flow_hash() 540 u16 hash_fields; ena_get_rss_hash() local 591 u16 hash_fields; ena_set_rss_hash() local [all...] |
H A D | ena_com.c | 2533 u16 hash_fields) in ena_com_fill_hash_ctrl() 2552 if ((hash_fields & supported_fields) != hash_fields) { in ena_com_fill_hash_ctrl() 2554 proto, hash_fields, supported_fields); in ena_com_fill_hash_ctrl() 2557 hash_ctrl->selected_fields[proto].fields = hash_fields; in ena_com_fill_hash_ctrl() 2531 ena_com_fill_hash_ctrl(struct ena_com_dev *ena_dev, enum ena_admin_flow_hash_proto proto, u16 hash_fields) ena_com_fill_hash_ctrl() argument
|
H A D | ena_com.h | 705 * @hash_fields: bit mask of ena_admin_flow_hash_fields 716 u16 hash_fields);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/amazon/ena/ |
H A D | ena_ethtool.c | 562 static u32 ena_flow_hash_to_flow_type(u16 hash_fields) in ena_flow_hash_to_flow_type() argument 566 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() argument 588 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 in ena_flow_data_to_flow_hash() 610 u16 hash_fields; ena_get_rss_hash() local 661 u16 hash_fields; ena_set_rss_hash() local [all...] |
H A D | ena_com.c | 2600 u16 hash_fields) in ena_com_fill_hash_ctrl() 2620 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() 2598 ena_com_fill_hash_ctrl(struct ena_com_dev *ena_dev, enum ena_admin_flow_hash_proto proto, u16 hash_fields) ena_com_fill_hash_ctrl() argument
|
H A D | ena_com.h | 707 * @hash_fields: bit mask of ena_admin_flow_hash_fields 718 u16 hash_fields);
|
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | route.c | 1927 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 in fib_multipath_custom_hash_inner() 2016 u32 hash_fields = READ_ONCE(net->ipv4.sysctl_fib_multipath_hash_fields); fib_multipath_custom_hash_fl4() local [all...] |
/kernel/linux/linux-6.6/net/ipv6/ |
H A D | route.c | 2341 u32 hash_fields = ip6_multipath_hash_fields(net); in rt6_multipath_custom_hash_outer() local 2344 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() local 2382 if (!(hash_fields in rt6_multipath_custom_hash_inner() 2432 u32 hash_fields = ip6_multipath_hash_fields(net); rt6_multipath_custom_hash_fl6() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_router.c | 11007 u32 hash_fields) in mlxsw_sp_mp_hash_inner_custom() 11015 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 in mlxsw_sp_mp_hash_inner_custom() 11006 mlxsw_sp_mp_hash_inner_custom(struct mlxsw_sp_mp_hash_config *config, u32 hash_fields) mlxsw_sp_mp_hash_inner_custom() argument 11051 u32 hash_fields; mlxsw_sp_mp4_hash_init() local 11108 u32 hash_fields = ip6_multipath_hash_fields(mlxsw_sp_net(mlxsw_sp)); mlxsw_sp_mp6_hash_init() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 1169 * @hash_fields: fields to be hashed on for the segment(s) 1177 ice_flow_set_rss_seg_info(struct ice_flow_seg_info *segs, u64 hash_fields, in ice_flow_set_rss_seg_info() argument 1183 for_each_set_bit(i, (unsigned long *)&hash_fields, in ice_flow_set_rss_seg_info()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/ |
H A D | ice_flow.c | 1861 * @hash_fields: fields to be hashed on for the segment(s) 1869 ice_flow_set_rss_seg_info(struct ice_flow_seg_info *segs, u64 hash_fields, in ice_flow_set_rss_seg_info() argument 1875 for_each_set_bit(i, (unsigned long *)&hash_fields, in ice_flow_set_rss_seg_info()
|