diff options
author | Amir Vadai <amirv@mellanox.com> | 2012-12-02 03:49:22 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-12-02 20:22:58 -0500 |
commit | 79c54b6bbf06a4ecd5343ea3687cd36c01f76d56 (patch) | |
tree | 3b4ac724808698549336022732910ee213b14656 /drivers/net/ethernet/mellanox/mlx4/mlx4_en.h | |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/mlx4_en.h')
0 files changed, 0 insertions, 0 deletions