Home
last modified time | relevance | path

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

/net/sched/
Dsch_cbs.c311 struct ethtool_link_ksettings ecmd; in cbs_set_port_rate() local
316 err = __ethtool_get_link_ksettings(dev, &ecmd); in cbs_set_port_rate()
320 if (ecmd.base.speed && ecmd.base.speed != SPEED_UNKNOWN) in cbs_set_port_rate()
321 speed = ecmd.base.speed; in cbs_set_port_rate()
329 ecmd.base.speed); in cbs_set_port_rate()
Dsch_taprio.c1299 struct ethtool_link_ksettings ecmd; in taprio_set_picos_per_byte() local
1304 err = __ethtool_get_link_ksettings(dev, &ecmd); in taprio_set_picos_per_byte()
1308 if (ecmd.base.speed && ecmd.base.speed != SPEED_UNKNOWN) in taprio_set_picos_per_byte()
1309 speed = ecmd.base.speed; in taprio_set_picos_per_byte()
1317 ecmd.base.speed); in taprio_set_picos_per_byte()
/net/bridge/
Dbr_device.c278 struct ethtool_link_ksettings ecmd; in br_get_link_ksettings() local
284 if (__ethtool_get_link_ksettings(pdev, &ecmd)) in br_get_link_ksettings()
287 if (ecmd.base.speed == (__u32)SPEED_UNKNOWN) in br_get_link_ksettings()
291 cmd->base.speed < ecmd.base.speed) in br_get_link_ksettings()
292 cmd->base.speed = ecmd.base.speed; in br_get_link_ksettings()
Dbr_if.c37 struct ethtool_link_ksettings ecmd; in port_cost() local
39 if (!__ethtool_get_link_ksettings(dev, &ecmd)) { in port_cost()
40 switch (ecmd.base.speed) { in port_cost()
56 if (ecmd.base.speed > SPEED_10000) in port_cost()
/net/packet/
Daf_packet.c630 struct ethtool_link_ksettings ecmd; in prb_calc_retire_blk_tmo() local
639 err = __ethtool_get_link_ksettings(dev, &ecmd); in prb_calc_retire_blk_tmo()
647 if (ecmd.base.speed < SPEED_1000 || in prb_calc_retire_blk_tmo()
648 ecmd.base.speed == SPEED_UNKNOWN) in prb_calc_retire_blk_tmo()
651 div = ecmd.base.speed / 1000; in prb_calc_retire_blk_tmo()