diff options
author | Mark Bloch <mbloch@nvidia.com> | 2021-08-04 02:19:59 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-08-05 23:50:52 +0300 |
commit | 598fe77df855feeeca9dfda2ffe622ac7724e5c3 (patch) | |
tree | a95bc9ed4fcdf4d5005438d990ad52ef75e188f9 /drivers/pwm | |
parent | db202995f5035f13a11df48a0af05edbb3720659 (diff) | |
download | linux-598fe77df855feeeca9dfda2ffe622ac7724e5c3.tar.xz |
net/mlx5: Lag, Create shared FDB when in switchdev mode
If both eswitches are in switchdev mode and the uplink representors
are enslaved to the same bond device create a shared FDB configuration.
When moving to shared FDB mode not only the hardware needs be configured
but the RDMA driver needs to reconfigure itself.
When such change is done, unload the RDMA devices, configure the hardware
and load the RDMA representors.
When destroying the lag (can happen if a PCI function is unbinded,
driver is unloaded or by just removing a netdev from the bond) make sure
to restore the system to the previous state only if possible.
For example, if a PCI function is unbinded there is no need to load the
representors as the device is going away.
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'drivers/pwm')
0 files changed, 0 insertions, 0 deletions