Home
last modified time | relevance | path

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

/net/bridge/
Dbr_if.c40 struct ethtool_link_ksettings ecmd; in port_cost() local
42 if (!__ethtool_get_link_ksettings(dev, &ecmd)) { in port_cost()
43 switch (ecmd.base.speed) { in port_cost()
/net/packet/
Daf_packet.c573 struct ethtool_link_ksettings ecmd; in prb_calc_retire_blk_tmo() local
582 err = __ethtool_get_link_ksettings(dev, &ecmd); in prb_calc_retire_blk_tmo()
589 if (ecmd.base.speed < SPEED_1000 || in prb_calc_retire_blk_tmo()
590 ecmd.base.speed == SPEED_UNKNOWN) { in prb_calc_retire_blk_tmo()
594 div = ecmd.base.speed / 1000; in prb_calc_retire_blk_tmo()