Home
last modified time | relevance | path

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

/drivers/net/ethernet/qlogic/qede/
Dqede_ethtool.c536 struct qed_link_output current_link; in qede_get_link_ksettings() local
540 memset(&current_link, 0, sizeof(current_link)); in qede_get_link_ksettings()
541 edev->ops->common->get_link(edev->cdev, &current_link); in qede_get_link_ksettings()
543 linkmode_copy(link_modes->supported, current_link.supported_caps); in qede_get_link_ksettings()
544 linkmode_copy(link_modes->advertising, current_link.advertised_caps); in qede_get_link_ksettings()
545 linkmode_copy(link_modes->lp_advertising, current_link.lp_caps); in qede_get_link_ksettings()
547 if ((edev->state == QEDE_STATE_OPEN) && (current_link.link_up)) { in qede_get_link_ksettings()
548 base->speed = current_link.speed; in qede_get_link_ksettings()
549 base->duplex = current_link.duplex; in qede_get_link_ksettings()
557 base->port = current_link.port; in qede_get_link_ksettings()
[all …]