diff options
author | Mitch Williams <mitch.a.williams@intel.com> | 2014-10-25 03:24:34 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2014-11-11 06:02:00 -0800 |
commit | cc0529271f23896208723e310fd75c2c88b3fd8c (patch) | |
tree | 037a8b55b9e2756d0e13c00501d379a1d9b1e4f6 /tools/perf/scripts/python | |
parent | f8d4db35e870896dd7b2ba70a30f4dfc53c39472 (diff) |
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 <mitch.a.williams@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions