diff options
author | 2017-12-18 05:15:25 -0500 | |
---|---|---|
committer | 2018-01-23 11:29:19 -0800 | |
commit | b356dac8ab9e5e5954e550f2e2501b28511e90b8 (patch) | |
tree | b88a09d8ddcff0b3c0b3d1933be1776d07aac101 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i40e/i40evf: Enable NVMUpdate to retrieve AdminQ and add preservation flags for NVM update (diff) | |
download | linux-dev-b356dac8ab9e5e5954e550f2e2501b28511e90b8.tar.xz linux-dev-b356dac8ab9e5e5954e550f2e2501b28511e90b8.zip |
i40e: avoid divide by zero
In some weird circumstances with DCB enabled, the firmware can fail to
configure the VSI, leaving us with zero traffic classes. Check for this
state when we configure RSS to avoid a panic.
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions