ixgbe: fix Tx timeouts with BQL
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 25 Jan 2013 06:19:20 +0000 (06:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 16 Feb 2013 07:51:14 +0000 (23:51 -0800)
commit67da097e1295071da700862e7faa8a294b182b42
treea8806aac14268ff4aaca79c2e1be483b2481eb55
parent71858acbe5c38e82554d92d041741ea949e46b99
ixgbe: fix Tx timeouts with BQL

This patch makes sure that TXDCTL.WTHRESH is set to 1 when BQL is enabled
and EITR is set to more than 100k interrupts per second to avoid Tx timeouts.

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>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c