aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorPatrisious Haddad <[email protected]>2024-12-03 22:49:18 +0200
committerJakub Kicinski <[email protected]>2024-12-04 19:43:46 -0800
commitd04c81a3e3ced59f68018a7906c82e421bf748a5 (patch)
treec320e7e0bd0c3815b7da3a03ddfe1ba9fc003102 /drivers/fpga/fpga-mgr.c
parent5f9b2bf019b7fb58e883dca7522c606c52612ea4 (diff)
net/mlx5: E-Switch, Fix switching to switchdev mode in MPV
Fix the mentioned commit change for MPV mode, since in MPV mode the IB device is shared between different core devices, so under this change when moving both devices simultaneously to switchdev mode the IB device removal and re-addition can race with itself causing unexpected behavior. In such case do rescan_drivers() only once in order to add the ethernet representor auxiliary device, and skip adding and removing IB devices. Fixes: ab85ebf43723 ("net/mlx5: E-switch, refactor eswitch mode change") Signed-off-by: Patrisious Haddad <[email protected]> Reviewed-by: Mark Bloch <[email protected]> Signed-off-by: Tariq Toukan <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions