Lines Matching defs:curr
1810 struct ethtool_channels channels, curr = { .cmd = ETHTOOL_GCHANNELS };
1823 dev->ethtool_ops->get_channels(dev, &curr);
1825 if (channels.rx_count == curr.rx_count &&
1826 channels.tx_count == curr.tx_count &&
1827 channels.combined_count == curr.combined_count &&
1828 channels.other_count == curr.other_count)
1832 if (channels.rx_count > curr.max_rx ||
1833 channels.tx_count > curr.max_tx ||
1834 channels.combined_count > curr.max_combined ||
1835 channels.other_count > curr.max_other)
1857 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count);