]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
i40e: fix lookup table when RSS disabled/enabled
authorAlan Brady <alan.brady@intel.com>
Wed, 27 Jul 2016 19:02:38 +0000 (12:02 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Aug 2016 18:43:12 +0000 (11:43 -0700)
commitd8ec98646483a9e1c0c9f511236ce8b933deed17
treecf5e1b750ea5168d698f5ad1cb5833af710fde12
parent6a23449a2356d7d41addb0c89f512dfef455beb2
i40e: fix lookup table when RSS disabled/enabled

This patch fixes the bug which causes RSS to continue to work
after being disabled.  After disabling RSS, traffic would continue
to be assigned to different queues instead of falling back to a
single queue. Without this patch, attempting to disable RSS would
not work as expected. This patch fixes the bug by clearing the
lookup table used by RSS such that all traffic is assigned to a
single queue.  This patch also addresses the issue of reinstating
 the lookup table should RSS then be re-enabled.

Change-ID: Ib20c7c6a7e9f1f772bb787370f8a8c664796b141
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c