From: Alexander Duyck Date: Fri, 27 Jul 2012 23:49:30 +0000 (+0000) Subject: ixgbe: Initialize q_vector cpu and affinity masks correctly X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~625^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=245f292d71d3fdd7536c2e4986769d5b9b48fb7f;p=pandora-kernel.git 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 Tested-by: Phil Schmitt Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed