commit | 79c54b6bbf06a4ecd5343ea3687cd36c01f76d56 | [log] [tgz] |
---|---|---|
author | Amir Vadai <amirv@mellanox.com> | Sun Dec 02 03:49:22 2012 +0000 |
committer | David S. Miller <davem@davemloft.net> | Sun Dec 02 20:22:58 2012 -0500 |
tree | 3b4ac724808698549336022732910ee213b14656 | |
parent | 2c46c9d5779d40e4a2f36f24017de4342344e258 [diff] |
net/mlx4_en: Fix TX moderation info loss after set_ringparam is called 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>