[SRU][J:linux-bluefield][PATCH v1 0/1] mlxbf_gige: stop interface during shutdown

David Thompson davthompson at nvidia.com
Tue Apr 2 14:14:30 UTC 2024


BugLink: https://bugs.launchpad.net/bugs/2059951

SRU Justification:

[Impact]
The mlxbf_gige driver shutdown() is invoked during reboot
processing, but the stop() logic is not guaranteed to execute
on all distros. If stop() does not execute NAPI remains enabled
during system shutdown and can cause an exception if NAPI is
scheduled when interface is shutdown but not stopped.

[Fix]
The networking interface managed by the mlxbf_gige driver must
be stopped during reboot processing so that it is put into a
clean state and driver callbacks won't be called.

[Test Case]
* Put BF platform into a reboot loop
* Ensure that BF platform brings up "oob_net0" interface each reboot,
  and that no mlxbf_gige driver exceptions occur

[Regression Potential]
There is low potential for regression as this brings in upstream content.

[Other]
None

David Thompson (1):
  mlxbf_gige: stop interface during shutdown

 .../net/ethernet/mellanox/mlxbf_gige/mlxbf_gige_main.c | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

-- 
2.30.1




More information about the kernel-team mailing list