alistair23-linux/drivers/net/ethernet/intel
Alexander Duyck 245f292d71 ixgbe: Initialize q_vector cpu and affinity masks correctly
When enabling DCB the rings belonging to a q_vector on CPU 0 were not
reinitializing their DCA registers.  Upon closer inspection the issue was
that the q_vector CPU variable was left at 0 resulting in the driver not
updating the DCA registers.

In order to guarantee the DCA registers will be updated I am adding a
couple line change so that we initialize the CPU variable to -1 which will
force a DCA update the first time an interrupt fires on that q_vector.

In addition we were setting the CPU affinity hint to all CPUs when we were
not specifying a CPU.  Instead we should leave it as all zeros to avoid any
possible confusion about the fact that we shouldn't be giving a hint.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2012-10-19 03:52:02 -07:00
..
e1000 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
e1000e e1000e: Change wthresh to 1 to avoid possible Tx stalls 2012-10-10 22:59:18 -04:00
igb Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2012-10-02 13:38:27 -07:00
igbvf netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgb netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
ixgbe ixgbe: Initialize q_vector cpu and affinity masks correctly 2012-10-19 03:52:02 -07:00
ixgbevf ixgbe/ixgbevf: Limit maximum jumbo frame size to 9.5K to avoid Tx hangs 2012-10-09 02:53:53 -07:00
e100.c netdev: make pci_error_handlers const 2012-09-07 16:35:00 -06:00
Kconfig Kconfig: Fix Kconfig for Intel ixgbe and igb PTP support. 2012-06-20 00:52:54 -07:00
Makefile