Lines Matching refs:channels
1019 int ethtool_set_channels(int *fd, const char *ifname, const netdev_channels *channels) { in ethtool_set_channels() argument
1031 assert(channels); in ethtool_set_channels()
1033 if (!channels->rx.set && in ethtool_set_channels()
1034 !channels->tx.set && in ethtool_set_channels()
1035 !channels->other.set && in ethtool_set_channels()
1036 !channels->combined.set) in ethtool_set_channels()
1048 if (channels->rx.set) in ethtool_set_channels()
1049 UPDATE_WITH_MAX(ecmd.rx_count, ecmd.max_rx, channels->rx.value, need_update); in ethtool_set_channels()
1051 if (channels->tx.set) in ethtool_set_channels()
1052 UPDATE_WITH_MAX(ecmd.tx_count, ecmd.max_tx, channels->tx.value, need_update); in ethtool_set_channels()
1054 if (channels->other.set) in ethtool_set_channels()
1055 … UPDATE_WITH_MAX(ecmd.other_count, ecmd.max_other, channels->other.value, need_update); in ethtool_set_channels()
1057 if (channels->combined.set) in ethtool_set_channels()
1058 … UPDATE_WITH_MAX(ecmd.combined_count, ecmd.max_combined, channels->combined.value, need_update); in ethtool_set_channels()