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

Heitor Alves de Siqueira halves at canonical.com
Fri Mar 31 12:22:18 UTC 2023


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

 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




More information about the kernel-team mailing list