Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_ethtool.c2625 struct ethtool_link_ksettings safe_ks = {}; in ice_set_link_ksettings() local
2667 ice_phy_type_to_ethtool(netdev, &safe_ks); in ice_set_link_ksettings()
2673 safe_ks.link_modes.supported, in ice_set_link_ksettings()
2682 memset(&safe_ks, 0, sizeof(safe_ks)); in ice_set_link_ksettings()
2683 safe_ks.base.cmd = copy_ks.base.cmd; in ice_set_link_ksettings()
2684 safe_ks.base.link_mode_masks_nwords = in ice_set_link_ksettings()
2686 ice_get_link_ksettings(netdev, &safe_ks); in ice_set_link_ksettings()
2689 copy_ks.base.autoneg = safe_ks.base.autoneg; in ice_set_link_ksettings()
2691 copy_ks.base.speed = safe_ks.base.speed; in ice_set_link_ksettings()
2696 if (memcmp(&copy_ks.base, &safe_ks.base, sizeof(copy_ks.base))) { in ice_set_link_ksettings()
[all …]
/linux-6.12.1/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1223 struct ethtool_link_ksettings safe_ks; in i40e_set_link_ksettings() local
1270 memset(&safe_ks, 0, sizeof(struct ethtool_link_ksettings)); in i40e_set_link_ksettings()
1271 safe_ks.base.cmd = copy_ks.base.cmd; in i40e_set_link_ksettings()
1272 safe_ks.base.link_mode_masks_nwords = in i40e_set_link_ksettings()
1274 i40e_get_link_ksettings(netdev, &safe_ks); in i40e_set_link_ksettings()
1280 safe_ks.link_modes.supported, in i40e_set_link_ksettings()
1285 copy_ks.base.autoneg = safe_ks.base.autoneg; in i40e_set_link_ksettings()
1286 copy_ks.base.speed = safe_ks.base.speed; in i40e_set_link_ksettings()
1291 if (memcmp(&copy_ks.base, &safe_ks.base, in i40e_set_link_ksettings()
1323 if (!ethtool_link_ksettings_test_link_mode(&safe_ks, in i40e_set_link_ksettings()
[all …]