Message ID | 1314783489-29944-1-git-send-email-ripduman.sohan@cl.cam.ac.uk |
---|---|
State | Superseded, archived |
Delegated to: | David Miller |
Headers | show |
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 0a52447..dac0a84 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c @@ -600,11 +600,8 @@ static int efx_ethtool_get_coalesce(struct net_device *net_dev, if (!efx_channel_has_tx_queues(channel)) continue; if (channel->irq_moderation < coalesce->tx_coalesce_usecs_irq) { - if (channel->channel < efx->n_rx_channels) - coalesce->tx_coalesce_usecs_irq = - channel->irq_moderation; - else - coalesce->tx_coalesce_usecs_irq = 0; + coalesce->tx_coalesce_usecs_irq = + channel->irq_moderation; } }