diff options
| author | 2019-06-28 22:36:06 +0000 | |
|---|---|---|
| committer | 2019-07-01 16:40:30 -0700 | |
| commit | d886aba677a0a75ad7fdb06e08418b481e09b036 (patch) | |
| tree | 494fc66837231ec2e1e43f538ee1e0423c717191 /include/linux/processor.h | |
| parent | net/mlx5: Don't handle VF func change if host PF is disabled (diff) | |
| download | linux-dev-d886aba677a0a75ad7fdb06e08418b481e09b036.tar.xz linux-dev-d886aba677a0a75ad7fdb06e08418b481e09b036.zip | |
net/mlx5: Reduce dependency on enabled_vfs counter and num_vfs
While enabling SR-IOV, PCI core already checks that if SR-IOV is already
enabled, it returns failure error code.
Hence, remove such duplicate check from mlx5_core driver.
While at it, make mlx5_device_disable_sriov() to perform cleanup of VFs in
reverse order of mlx5_device_enable_sriov().
Signed-off-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions
