mlx4_en: Coalescing target is equal for all mtu's
authorYevgeny Petrilin <yevgenyp@mellanox.co.il>
Mon, 1 Jun 2009 23:23:13 +0000 (23:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2009 09:29:06 +0000 (02:29 -0700)
commit3db36fb2c88d68ee28d20845d5bb805ea9a7f6d8
tree0ad3c9903e3dfd995a2ce14fa811aed1458c7ae0
parent3c2fa83f9c2bbb3e91992a2fc443b7104a07e0bc
mlx4_en: Coalescing target is equal for all mtu's

The interrupt moderation should not depend on number of incoming
bytes, but on number of incoming packets.
The previous scheme caused very high interrupts rate for small
messages when big MTU was configured.

Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/mlx4/en_ethtool.c
drivers/net/mlx4/en_netdev.c
drivers/net/mlx4/mlx4_en.h