Lines Matching defs:curr
1772 struct ethtool_channels channels, curr = { .cmd = ETHTOOL_GCHANNELS };
1784 dev->ethtool_ops->get_channels(dev, &curr);
1786 if (channels.rx_count == curr.rx_count &&
1787 channels.tx_count == curr.tx_count &&
1788 channels.combined_count == curr.combined_count &&
1789 channels.other_count == curr.other_count)
1793 if (channels.rx_count > curr.max_rx ||
1794 channels.tx_count > curr.max_tx ||
1795 channels.combined_count > curr.max_combined ||
1796 channels.other_count > curr.max_other)
1814 to_channel = curr.combined_count + max(curr.rx_count, curr.tx_count);