Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/net/forwarding/
H A 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))
H A 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))
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1157 static bool ext_link_mode_requested(const unsigned long *adver) in ext_link_mode_requested() argument
1164 return bitmap_intersects(modes, adver, __ETHTOOL_LINK_MODE_MASK_NBITS); in ext_link_mode_requested()
1167 static bool ext_requested(u8 autoneg, const unsigned long *adver, bool ext_supported) in ext_requested() argument
1169 bool ext_link_mode = ext_link_mode_requested(adver); in ext_requested()
1179 const unsigned long *adver; in mlx5e_ethtool_set_link_ksettings() local
1192 u32 (*ethtool2ptys_adver_func)(const unsigned long *adver); in mlx5e_ethtool_set_link_ksettings()
1194 adver = link_ksettings->link_modes.advertising; in mlx5e_ethtool_set_link_ksettings()
1199 ext = ext_requested(autoneg, adver, ext_supported); in mlx5e_ethtool_set_link_ksettings()
1211 link_modes = autoneg == AUTONEG_ENABLE ? ethtool2ptys_adver_func(adver) : in mlx5e_ethtool_set_link_ksettings()