diff options
author | 2016-09-09 17:35:18 +0300 | |
---|---|---|
committer | 2016-09-10 21:21:49 -0700 | |
commit | 6b6adee3dad25bbe568ee24fc843372d02fb425f (patch) | |
tree | f2cc288c029b1372227fe31b09150c120bb8836f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net/mlx5: Skip waiting for vf pages in internal error (diff) | |
download | linux-dev-6b6adee3dad25bbe568ee24fc843372d02fb425f.tar.xz linux-dev-6b6adee3dad25bbe568ee24fc843372d02fb425f.zip |
net/mlx5: SRIOV core code refactoring
Simplify the code and makes it look modular and symmetric.
Split sriov enable/disable to two levels: device level and pci level.
When user enable/disable sriov (via sriov_configure driver callback) we
will enable/disable both device and pci sriov.
When driver load/unload we will enable/disable (on demand) only device
sriov while keeping the PCI sriov enabled for next driver load.
On internal/pci error, VFs will be kept enabled on PCI and the reset
is done only in device level.
Signed-off-by: Mohamad Haj Yahia <mohamad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions