ACK/Cmnt: [PATCH v3 0/1][SRU][J][K][L] Intel E810 NICs hang on boot when bonds are configured

Andrei Gherzan andrei.gherzan at canonical.com
Tue Apr 4 10:38:38 UTC 2023


On 23/04/03 03:19PM, Heitor Alves de Siqueira wrote:
> BugLink: https://bugs.launchpad.net/bugs/2004262
> 
> [Impact]
>   * Intel E810-family NICs cause system hangs when booting with bonding enabled
>   * This happens due to the driver unplugging auxiliary devices
>   * The unplug event happens under RTNL lock context, which causes a deadlock
>     where the RDMA driver waits for the RNL lock to complete removal
> 
> [Test Plan]
>   * Users have reported that after setting up bonding on switch and server
>     side, the system will hang when starting network services
> 
> [Fix]
>   * The upstream patch defers unplugging/re-plugging of the auxiliary device,
>     so that it's not performed under the RTNL lock context.
>   * Fix was introduced by commit:
>       248401cb2c46 ice: avoid bonding causing auxiliary plug/unplug under RTNL lock
> 
> [Regression Potential]
>   * Regressions would manifest in devices that support RDMA functionality and
>     have been added to a bond
>   * We should look out for auxiliary devices that haven't been properly
>     unplugged, or that cause further issues with
>     ice_plug_aux_dev()/ice_unplug_aux_dev()
> 
> Dave Ertman (1):
>   ice: avoid bonding causing auxiliary plug/unplug under RTNL lock

Landed in 6.3 rc tags. It was also backported to 5.15, 6.1 and 6.2.

> 
>  drivers/net/ethernet/intel/ice/ice.h      | 14 +++++---------
>  drivers/net/ethernet/intel/ice/ice_main.c | 19 ++++++++-----------
>  2 files changed, 13 insertions(+), 20 deletions(-)
> 
> -- 
> 2.40.0
Acked-by: Andrei Gherzan <andrei.gherzan at canonical.com>
-- 
Andrei Gherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20230404/147ef82f/attachment.sig>


More information about the kernel-team mailing list