Searched refs:ecmd (Results 1 – 1 of 1) sorted by relevance
35 struct ethtool_cmd ecmd = { .cmd = ETHTOOL_GSET, }; in port_cost() local37 if (!dev->ethtool_ops->get_settings(dev, &ecmd)) { in port_cost()38 switch(ecmd.speed) { in port_cost()