]> git.baikalelectronics.ru Git - kernel.git/commit
i40evf: don't configure unused RSS queues
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 23 Jun 2015 00:26:38 +0000 (17:26 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 26 Jun 2015 09:52:27 +0000 (02:52 -0700)
commit7251aab71169cef2b7cc3d846d12e7eb113a121f
tree450f0c24178c50fc18cb728575daa620dd61dfc6
parentb273f76a45063115b957235a0ef246e95b7a68f7
i40evf: don't configure unused RSS queues

The driver will only configure as many queues as there are available
CPUs, up the maximum number of queues. However, it always configures
RSS as though it is using the maximum number of queues. This can cause
the device to drop a lot of RX traffic, as the packets get assigned to
nonfunctional queues.

Fix this by only configuring RSS with the number of active queues.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40evf/i40evf_main.c