Home
last modified time | relevance | path

Searched refs:adver (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/tools/testing/selftests/net/forwarding/
Dethtool_lib.sh28 local adver=$1; shift
33 if (($adver)); then
39 local -a dev_linkmodes=($(dev_speeds_get $dev 1 $adver))
63 local adver=$1; shift
66 if (($adver)); then
95 adver=$1; shift
97 local -a dev1_speeds=($(dev_speeds_get $dev1 $with_mode $adver))
98 local -a dev2_speeds=($(dev_speeds_get $dev2 $with_mode $adver))
110 local adver=$1; shift
114 speeds_arr=($(common_speeds_get $dev1 $dev2 $with_mode $adver))
Dethtool.sh135 local adver=$1; shift
137 local -a speeds_arr=($(common_speeds_get $dev1 $dev2 0 $adver))
142 local -a speeds_mode_arr=($(common_speeds_get $dev1 $dev2 1 $adver))
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1142 static bool ext_link_mode_requested(const unsigned long *adver) in ext_link_mode_requested() argument
1149 return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); in ext_link_mode_requested()
1152 static bool ext_requested(u8 autoneg, const unsigned long *adver, bool ext_supported) in ext_requested() argument
1154 bool ext_link_mode = ext_link_mode_requested(adver); in ext_requested()
1164 const unsigned long *adver; in mlx5e_ethtool_set_link_ksettings() local
1177 u32 (*ethtool2ptys_adver_func)(const unsigned long *adver); in mlx5e_ethtool_set_link_ksettings()
1179 adver = link_ksettings->link_modes.advertising; in mlx5e_ethtool_set_link_ksettings()
1184 ext = ext_requested(autoneg, adver, ext_supported); in mlx5e_ethtool_set_link_ksettings()
1196 link_modes = autoneg == AUTONEG_ENABLE ? ethtool2ptys_adver_func(adver) : in mlx5e_ethtool_set_link_ksettings()