i40e: Limiting RSS queues to CPUs
authorAleksandr Loktionov <aleksandr.loktionov@intel.com>
Wed, 19 Dec 2018 14:45:37 +0000 (06:45 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 22 Jan 2019 14:57:04 +0000 (06:57 -0800)
commit3647cd6eaf83d7f6145a3ccac73f5286496490d2
treef085714d4b3e49221959031c77af6262cbd54906
parentf3fef2b6e1cc802fdf3e2dd543447a8ce15568a7
i40e: Limiting RSS queues to CPUs

Limiting RSS queues number to online CPUs number in order to
avoid issues with creating misconfigured RSS queues.

Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov@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