it - net-next plumbings
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2016-09-07 20:28:24 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-09-23 00:21:52 -0700
commite24fcf28959298e07cae9ee19eb9a4b2b399b4fb (patch)
treee9edd04796fda20d219c4d1a63e5556550964323
parentfa81da7e5b261cf8010f65253661522d3ff71714 (diff)
ixgbe: Support 4 queue RSS on VFs with 1 or 2 queue RSS on PF
Instead of limiting the VFs if we don't use 4 queues for RSS in the PF we can instead just limit the RSS queues used to a power of 2. By doing this we can support use cases where VFs are using more queues than the PF is currently using and can support RSS if so desired. The only limitation on this is that we cannot support 3 queues of RSS in the PF or VF. In either of these cases we should fall back to 2 queues in order to be able to use the power of 2 masking provided by the psrtype register. Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>