mlxbf_gige: dont log RX errors by default

Bug #2138128 reported by David Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
New
Undecided
Alessio Faina
Jammy
Fix Committed
Undecided
Alessio Faina

Bug Description

SRU Justification:

[Impact]

During certain reset flows, the BF3 kernel log shows instances of this MAC receive error:
  mlxbf_gige MLNXBF17:00: rx_mac_error tx_ci=0x0 tx_pi=0x0 rx_ci=0x1 rx_pi=0x80 int_mask=0x1
This log shows that a packet was received with a MAC error, and this packet was dropped.
While everything is handled OK, this event should not be placed into dmesg log by default.

[Fix]

The initial "enable" value of the mlxbf_gige msglvl infrastructure logic
includes the value for NETIF_MSG_RX_ERR. The fix is to change the initial
value, removing NETIF_MSG_RX_ERR, and preventing any logging based on this
type of RX error. Instead, the driver has a counter tracking this type of
RX error and its value can be displayed via "ethtool -S oob_net0"

[Test Case]

* Exercise reboot, power cycle, and FW reset flows of BF3
* Verify no instances of "rx_mac_error" log entries in the dmesg output

[Regression Potential]

None

tags: added: kernel-daily-bug
Changed in linux-bluefield (Ubuntu):
assignee: nobody → Alessio Faina (alessiofaina)
Changed in linux-bluefield (Ubuntu Jammy):
assignee: nobody → Alessio Faina (alessiofaina)
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-1084.86 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
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.