aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memory_hotplug.h
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 /include/linux/memory_hotplug.h
parentnet/mlx5: Don't handle VF func change if host PF is disabled (diff)
downloadlinux-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/memory_hotplug.h')
0 files changed, 0 insertions, 0 deletions