]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Fix adaptive moderation cq update
authorSagi Grimberg <sagig@mellanox.co.il>
Tue, 4 Jun 2013 05:13:26 +0000 (05:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 19:58:24 +0000 (12:58 -0700)
commit32dfda75a1f3d371b943114090574ed880f7f4bd
tree8200672a773085cc9c6bb957c33eec60479ff85d
parent62724116608b64fd037e410d0c95fb36051dcbe2
net/mlx4_en: Fix adaptive moderation cq update

When turning on adaptive_rx under adaptive moderation, the CQ's moderation
count wasn't updated according to rx_frames which resulted in too many
interrupts and bandwidth drop.

Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c