summaryrefslogtreecommitdiffstats
path: root/drivers/uwb
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-06-28 22:36:06 +0000
committerSaeed Mahameed <saeedm@mellanox.com>2019-07-01 16:40:30 -0700
commitd886aba677a0a75ad7fdb06e08418b481e09b036 (patch)
tree494fc66837231ec2e1e43f538ee1e0423c717191 /drivers/uwb
parent5ccf2770e83bf8739f0a7c8bed9186d7e5d2ecbc (diff)
downloadlinux-d886aba677a0a75ad7fdb06e08418b481e09b036.tar.bz2
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 'drivers/uwb')
0 files changed, 0 insertions, 0 deletions