[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-net
Subject:    Re: [PATCH]: ipoib with mlx4 initialisation ordering
From:       Hans Petter Selasky <hps () selasky ! org>
Date:       2020-02-22 8:59:23
Message-ID: cd2f2dde-7055-4b4d-e9d9-0dc19d7e2065 () selasky ! org
[Download RAW message or body]

On 2020-02-22 01:48, Andreas Kempe wrote:
> Hello everyone,
> 
> We have had issues with our machine using IPoIB on FreeBSD with the
> mlx4 driver. The machine would hang on shutdown.
> 
> We traced the issue to IPoIB registering multicast groups that
> increase the reference count of the port in the ib_multicast client.
> When shutting down the machine, the kernel tore down the ib_multicast
> before it tore down IPoIB, causing it to wait forever for the
> references to disappear before it deleted the multicast client.
> 
> This issue can be remedied by changing the initialisation of the IPoIB
> module to happen after the mlx4 driver is initialised. By doing this,
> all multicast groups will be cleaned up before the ib_multicast client
> is destroyed.
> 
> See patch attached. Sponsored by: Lysator ACS
> 
> Cordially,
> Andreas Kempe

I'll have a closer look on Monday.

--HPS

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic