]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Address issues with Tx WHTRESH value not being set correctly
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:49:38 +0000 (07:49 +0000)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 15:04:24 +0000 (23:04 +0800)
commit425974527ce713125f0189c3f8e65f62681217da
tree9683c4a52e5aa6020ff140af348ea5da12733572
parent99ba9616e5fb688cc433d536334451af80ef8464
ixgbe: Address issues with Tx WHTRESH value not being set correctly

This change is meant to address the fact that the tx_itr_setting was
dropping to 0 when no separate Tx vectors were provided.  This had resulted
in the driver incorrectly configuring the Tx ring with a WTHRESH of 1 in
order to avoid Tx hangs even though that was not necessary. This change
makes it so that we instead take a look at the Tx ring's q_vector to
determine if the ring will have an ITR value less than 8us.

(cherry picked from commit e954b374b4e42c5335679ec6d79ca2c50ce5d422)
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_main.c