]> www.infradead.org Git - users/jedix/linux-maple.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)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:31:25 +0000 (19:31 -0500)
commit0b5adc0c51c97d89663f851097ad53e810e01fc0
treeeed321411981196218123558c338fe743c22cf84
parentfc48741fc18a25ab5001690f117dba2bd4af6224
i40e: fix lookup table when RSS disabled/enabled

Orabug: 24568124

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>
(cherry picked from commit d8ec98646483a9e1c0c9f511236ce8b933deed17)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/intel/i40e/i40e_main.c