net/mlx4_en: Fix TX moderation info loss after set_ringparam is called
authorAmir Vadai <amirv@mellanox.com>
Sun, 2 Dec 2012 03:49:22 +0000 (03:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Dec 2012 01:22:58 +0000 (20:22 -0500)
We need to re-set tx moderation information after calling set_ringparam
else default tx moderation will be used.
Also avoid related code duplication, by putting it in a utility function.

Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found