From: Emil Tantilov Date: Thu, 18 Sep 2014 08:05:02 +0000 (+0000) Subject: ixgbe: fix setting of TXDCTL.WTRHESH when ITR is set to 0 and no BQL X-Git-Tag: fixes-against-v3.18-rc2~144^2~55^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffefa9f64ce021b26aa3fd6558f1d3b6c47b3619;p=pandora-kernel.git ixgbe: fix setting of TXDCTL.WTRHESH when ITR is set to 0 and no BQL This patch consolidates the logic behind dynamically setting TXDCTL.WTHRESH depending on interrupt throttle rate (ITR) setting regardless of BQL. Previously TXDCTL.WTHRESH was dynamically being set only with BQL being enabled, but we have to set it regardless of BQL when ITR is low to avoid Tx stalls/hangs. CC: John Greene Reported by: Masayuki Gouji Signed-off-by: Emil Tantilov Tested-by: Phil Schmitt Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed