Searched hist:"84 a6a7a99c0ac2f67366288c0625c9fba176b264" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/infiniband/hw/mlx5/ |
H A D | main.c | diff 84a6a7a99c0ac2f67366288c0625c9fba176b264 Mon Apr 23 09:01:55 CDT 2018 Parav Pandit <parav@mellanox.com> IB/mlx5: Fix represent correct netdevice in dual port RoCE
In commit bcf87f1dbbec ("IB/mlx5: Listen to netdev register/unresiter events in switchdev mode") incorrectly mapped primary device's netdevice to 2nd port netdevice. It always represented primary port's netdevice for 2nd port netdevice when ib representors were not used.
This results into failing to process CM request arriving on 2nd port due to incorrect mapping of netdevice.
This fix corrects it by considering the right mdev.
Cc: <stable@vger.kernel.org> # 4.16 Fixes: bcf87f1dbbec ("IB/mlx5: Listen to netdev register/unresiter events in switchdev mode") Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
|