Home
last modified time | relevance | path

Searched refs:lksettings (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dqos.c704 struct ethtool_link_ksettings lksettings; in mlx5_esw_qos_lag_link_speed_get_locked() local
718 if (master && !__ethtool_get_link_ksettings(master, &lksettings)) in mlx5_esw_qos_lag_link_speed_get_locked()
719 speed = lksettings.base.speed; in mlx5_esw_qos_lag_link_speed_get_locked()
/linux/drivers/infiniband/core/
H A Dverbs.c1986 struct ethtool_link_ksettings lksettings = {}; in ib_get_eth_speed() local
1996 rc = __ethtool_get_link_ksettings(netdev, &lksettings); in ib_get_eth_speed()
2001 if (!rc && lksettings.base.speed != (u32)SPEED_UNKNOWN) { in ib_get_eth_speed()
2002 netdev_speed = lksettings.base.speed; in ib_get_eth_speed()
2010 ib_get_width_and_speed(netdev_speed, lksettings.lanes, in ib_get_eth_speed()