On Mon, Nov 12, 2018 at 12:41:55PM +0100, Ursula Braun wrote: > The mlx4 driver does not trigger an IB_EVENT_PORT_ACTIVE when the > RoCE network interface is activated. When SMC determines the RoCE > device port to be used, it checks the port states. > This patch triggers IB events for NETDEV_UP and NETDEV_DOWN. > > v1->v2: > take into account previous port states (IB_PORT_DOWN vs. IB_PORT_ACTIVE). > > v2->v3: > this change log added. > > Signed-off-by: Ursula Braun <ubraun@xxxxxxxxxxxxx> > --- > drivers/infiniband/hw/mlx4/main.c | 27 +++++++++++++++++++++++++++ > drivers/infiniband/hw/mlx4/mlx4_ib.h | 1 + > 2 files changed, 28 insertions(+) > Thanks a lot for your work and patience. Acked-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>
Attachment:
signature.asc
Description: PGP signature