oob_net0 up but stops processing Rx packets
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-bluefield (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
SRU Justification:
[Impact]
* The oob_net0 interface, managed by the mlxbf_gige driver, will be
up and enabled but can stop processing received packets if three
specific conditions occur:
1) driver has received more than (N * RxRingSize) packets but less
than (N+1 * RxRingSize) packets where N is an odd number.
Note: the command "ethtool -g oob_net0" will display the current
receive ring size, which currently defaults to 128.
2) the driver's interface was disabled via "ifconfig oob_net0 down"
during the window described in #1.
3) the driver's interface is re-enabled via "ifconfig oob_net0 up"
Without this fix, the driver needs to be unloaded and re-loaded
to correct this condition.
[Fix]
* The fix is to ensure that the driver's "valid_polarity" field
is cleared during the open() method so that it always matches
the receive polarity used by hardware.
[Test Case]
* To test this fix, need to send in a specific number of packets to
the "oob_net0" interface, then issue "ifconfig oob_net0 down" to
disable the interface. A subsequent "ifconfig oob_net0 up" command
will succesfully bring up the "oob_net0" interface and start the
processing of received packets.
[Regression Potential]
* There is low risk of this fix causing any problems.
[Other]
* The mlxbf_gige driver will display v1.25 in modinfo after these changes.
CVE References
Changed in linux-bluefield (Ubuntu Focal): | |
status: | New → In Progress |
Changed in linux-bluefield (Ubuntu Focal): | |
status: | In Progress → Fix Committed |
This bug is awaiting verification that the linux-bluefield /5.4.0- 1020.23 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- focal' to 'verification- done-focal' . If the problem still exists, change the tag 'verification- needed- focal' to 'verification- failed- focal'.
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!