]> www.infradead.org Git - users/jedix/linux-maple.git/commit
i40e: Fix RSS to not be limited by the number of CPUs
authorCatherine Sullivan <catherine.sullivan@intel.com>
Mon, 16 May 2016 17:26:41 +0000 (10:26 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Wed, 8 Mar 2017 00:30:33 +0000 (19:30 -0500)
commitdb1c74218759a7ceec61fcd14edbf8eb89f6c564
tree07f7f9e1a77f7b50e5d291837472a5a4cd21e573
parentf041ba87b798a2831f5163441dfd886ef2915026
i40e: Fix RSS to not be limited by the number of CPUs

Orabug: 24568124

Limiting qcount to pf->num_lan_msix, effectively limits the RSS queues
to only use the number of CPUs, and ignore all other queues. We don't
want to do this. If the user has changed the RSS settings to use more
queues then CPUS, we want to trust they know what they are doing and
let them. More importantly, if we tell them that is what we did, we want
to actually do it and allow traffic into all of the queues we have
allocated. This does not change the default setting to initially
allocate only the number of CPUS of queue pairs.

Change-ID: Ie941a96e806e4bcd016addb4e17affb46770ada5
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 7d64402f5ae5acb8258860ace394a21b4584fe8f)
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