]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Clear VF's configuration on disabling SRIOV
authorAya Levin <ayal@mellanox.com>
Tue, 3 Sep 2019 14:45:47 +0000 (17:45 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 1 Nov 2019 21:55:14 +0000 (14:55 -0700)
commitb07e557023da140fc1ef7f9c6eace0cc429873fb
treed4aad6d802e36608e89c150f558a895c73aa6539
parent05576031d4f5d80bd568e8072df9ea73e001d4d5
net/mlx5: Clear VF's configuration on disabling SRIOV

When setting number of VFs to 0 (disable SRIOV), clear VF's
configuration.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
drivers/net/ethernet/mellanox/mlx5/core/sriov.c