From: Alexander Duyck Date: Fri, 10 Feb 2012 02:08:37 +0000 (+0000) Subject: ixgbe: Default to queue pairs when number of queues is less than CPUs X-Git-Tag: v3.4-rc1~177^2~65 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f15486dd0f6e8423cb33fa8513ed9d074476471;p=pandora-kernel.git ixgbe: Default to queue pairs when number of queues is less than CPUs The old code had several errors in how it was determining the vector budget. In order to simplify things this patch updates the code so that it will attempt to always allocated paired Rx/Tx vectors instead of attempting to allocate individual vectors when the number of queues is less than the number of CPUs. Signed-off-by: Alexander Duyck Tested-by: Stephen Ko Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed