Public bug reported:

SRU Justification:

[Impact]

The GIGE driver utilizes the msglvl infrastructure to log interesting
events during interface initialization, transmit, and receive.  The
problem is during heavy transmit traffic, the kernel log gets flooded
with log entries such as:

mlxbf_gige MLNXBF17:00: tx_fifo_full tx_ci=0x6e51 tx_pi=0x6eca rx_ci=0x24e8e 
rx_pi=0x4f0e int_mask=0x1
mlxbf_gige MLNXBF17:00:   din_drop=0x0 rx_dma=0x4000000 rx_fifo=0x30002000a 
rx_polarity=1
mlxbf_gige MLNXBF17:00: tx_fifo_full tx_ci=0x6e52 tx_pi=0x6ece rx_ci=0x24e90 
rx_pi=0x4f0e int_mask=0x1
mlxbf_gige MLNXBF17:00:   din_drop=0x0 rx_dma=0x4000001 rx_fifo=0x300000000 
rx_polarity=1

[Fix]

There are two fixes here:
1) make sure to use rate limiting "dev_dbg()"
2) don't log the transmit FIFO full events, instead just count them

[Test Case]

* Boot BF3 platform with software containing fix
* Check the kernel log via dmesg
* Start test that requires transmitting lots of traffic out DPU OOB port
* Verify that kernel log is not flooded with above messages

[Regression Potential]
This fix is straightforward and thus low risk

** Affects: linux-bluefield (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115754

Title:
  mlxbf_gige: kernel log is flooded during heavy TX traffic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-bluefield/+bug/2115754/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to