]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: use same number of queues as CPUs
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Tue, 26 Nov 2013 10:49:17 +0000 (10:49 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 16 Dec 2013 08:49:28 +0000 (00:49 -0800)
commita9fa04d946ecb9eb488a1d2a239990d9d99b03f1
tree7e3742b6d0e2db2d54a9764c2433a0f77d9ddf02
parentf58193ab559a586c2af27e832950ca9d0ca53c6e
i40e: use same number of queues as CPUs

The current driver default sets the number of transmit/receive
queue pairs based on the current node's CPU count.

A better method is to use the total number of CPUs in the system
to suggest the number of queue pairs, which aligns better with
the behavior of ixgbe, and also with the expectations of the
kernel XPS and other subsystems in the stack.

Change-Id: If3e20c7f100f13e51d69762594d948f247ffe0c8
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c