Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2197 struct ethtool_link_ksettings safe_ks = {}; in ice_set_link_ksettings() local
2239 ice_phy_type_to_ethtool(netdev, &safe_ks); in ice_set_link_ksettings()
2245 safe_ks.link_modes.supported, in ice_set_link_ksettings()
2254 memset(&safe_ks, 0, sizeof(safe_ks)); in ice_set_link_ksettings()
2255 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2256 safe_ks.base.link_mode_masks_nwords = in ice_set_link_ksettings()
2258 ice_get_link_ksettings(netdev, &safe_ks); in ice_set_link_ksettings()
2261 copy_ks.base.autoneg = safe_ks.base.autoneg; in ice_set_link_ksettings()
2263 copy_ks.base.speed = safe_ks.base.speed; in ice_set_link_ksettings()
2268 if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1221 struct ethtool_link_ksettings safe_ks; in i40e_set_link_ksettings() local
1268 memset(&safe_ks, 0, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings()
1269 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings()
1270 safe_ks.base.link_mode_masks_nwords = in i40e_set_link_ksettings()
1272 i40e_get_link_ksettings(netdev, &safe_ks); in i40e_set_link_ksettings()
1278 safe_ks.link_modes.supported, in i40e_set_link_ksettings()
1283 copy_ks.base.autoneg = safe_ks.base.autoneg; in i40e_set_link_ksettings()
1284 copy_ks.base.speed = safe_ks.base.speed; in i40e_set_link_ksettings()
1289 if (memcmp(&copy_ks.base, &safe_ks.base, in i40e_set_link_ksettings()
1321 if (!ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings()
[all …]