From: Mitch Williams Date: Sat, 25 Oct 2014 03:24:34 +0000 (+0000) Subject: i40evf: don't use more queues than CPUs X-Git-Tag: omap-for-v3.20/drop-legacy-3517~122^2~219^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc0529271f23896208723e310fd75c2c88b3fd8c;p=pandora-kernel.git i40evf: don't use more queues than CPUs It's kind of silly to configure and attempt to use a bunch of queue pairs when you're running on a single (virtual) CPU. Instead of unconditionally configuring all of the queues that the PF gives us, clamp the number of queue pairs to the number of CPUs. Change-ID: I321714c9e15072ee76de8f95ab9a81f86ed347d1 Signed-off-by: Mitch Williams Signed-off-by: Patrick Lu Tested-by: Jim Young Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed