diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2012-10-24 08:12:10 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2012-11-01 02:00:10 -0700 |
commit | 3af3361e6c25ea58c72c31efa9f0eb9f9bee4749 (patch) | |
tree | 8dfcf89d191c81c4be33026583f9ae97b510c836 /drivers/net/ethernet/intel/igb | |
parent | 3645adbbab4329dd83a41674a56bf4afcdcc5914 (diff) |
ixgbe: fix default setting of TXDCTL.WTHRESH
The q_vector->itr check in ixgbe_configure_tx_ring() was done prior to it
being set, which resulted in TXDCTL.WTHRESH always being set to 1 on driver
load, while consequent resets would set it to 8.
This patch moves the setting of q_vector->itr in ixgbe_alloc_q_vector() to
make sure that TXDCTL.WTHRESH is set to 8 by default.
Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb')
0 files changed, 0 insertions, 0 deletions