mlxbf_gige: stop interface during shutdown

Bug #2059951 reported by David Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
New
Undecided
Jose Ogando Justo
Jammy
Fix Committed
Undecided
Unassigned

Bug Description

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

Changed in linux-bluefield (Ubuntu):
assignee: nobody → Jose Ogando Justo (joseogando)
Changed in linux-bluefield (Ubuntu Jammy):
status: New → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

This bug is awaiting verification that the linux-bluefield/5.15.0-1040.42 kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed-jammy-linux-bluefield' to 'verification-done-jammy-linux-bluefield'. If the problem still exists, change the tag 'verification-needed-jammy-linux-bluefield' to 'verification-failed-jammy-linux-bluefield'.

If verification is not done by 5 working days from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: kernel-spammed-jammy-linux-bluefield-v2 verification-needed-jammy-linux-bluefield
tags: added: verification-done-jammy-linux-bluefield
removed: verification-needed-jammy-linux-bluefield
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.