aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorDmytro Linkin <[email protected]>2020-01-13 13:46:13 +0200
committerSaeed Mahameed <[email protected]>2020-01-24 12:04:32 -0800
commit3b83b6c2e024d85b770ddb1e19a513b5d7587f6f (patch)
tree8a096435452c12cf12f5af68de2faca46a6b1c9a /drivers/fpga/fpga-mgr.c
parentc0702a4bd41829f05638ec2dab70f6bb8d8010ce (diff)
net/mlx5e: Clear VF config when switching modes
Currently VF in LEGACY mode are not able to go up. Also in OFFLOADS mode, when switching to it first time, VF can go up independently to his representor, which is not expected. Perform clearing of VF config when switching modes and set link state to AUTO as default value. Also, when switching to OFFLOADS mode set link state to DOWN, which allow VF link state to be controlled by its REP. Fixes: 1ab2068a4c66 ("net/mlx5: Implement vports admin state backup/restore") Fixes: 556b9d16d3f5 ("net/mlx5: Clear VF's configuration on disabling SRIOV") Signed-off-by: Dmytro Linkin <[email protected]> Signed-off-by: Roi Dayan <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions