diff options
Diffstat (limited to 'drivers/net/mlx4/en_ethtool.c')
-rw-r--r-- | drivers/net/mlx4/en_ethtool.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/mlx4/en_ethtool.c b/drivers/net/mlx4/en_ethtool.c index 91d81169e04e..091f99052c91 100644 --- a/drivers/net/mlx4/en_ethtool.c +++ b/drivers/net/mlx4/en_ethtool.c | |||
@@ -268,8 +268,7 @@ static int mlx4_en_set_coalesce(struct net_device *dev, | |||
268 | 268 | ||
269 | priv->rx_frames = (coal->rx_max_coalesced_frames == | 269 | priv->rx_frames = (coal->rx_max_coalesced_frames == |
270 | MLX4_EN_AUTO_CONF) ? | 270 | MLX4_EN_AUTO_CONF) ? |
271 | MLX4_EN_RX_COAL_TARGET / | 271 | MLX4_EN_RX_COAL_TARGET : |
272 | priv->dev->mtu + 1 : | ||
273 | coal->rx_max_coalesced_frames; | 272 | coal->rx_max_coalesced_frames; |
274 | priv->rx_usecs = (coal->rx_coalesce_usecs == | 273 | priv->rx_usecs = (coal->rx_coalesce_usecs == |
275 | MLX4_EN_AUTO_CONF) ? | 274 | MLX4_EN_AUTO_CONF) ? |