"ethtool -S oob_net0" does not report interrupt counts

Bug #1942931 reported by David Thompson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-bluefield (Ubuntu)
New
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned

Bug Description

SRU Justification:

[Impact]
* The command "ethtool -S oob_net0" displays a set of statistics
  related to mlxbf_gige driver. This set of statistics does not
  include the driver's interrupt counts.

[Fix]
* The fix is to extend the statistics list supported by "ethtool -S"
  so that it includes MAC, receive packet, and LLU/PLU interrupt counts.

[Test Case]
* The command "ethtool -S oob_net0" should be executed before and
  after this fix to verify that three new fields are displayed:
        mac_intr_count
        rx_intr_count
        llu_plu_intr_count

[Regression Potential]
* There is low risk of this fix causing any problems.

[Other]
* n/a

CVE References

Changed in linux-bluefield (Ubuntu Focal):
status: New → In Progress
Changed in linux-bluefield (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote :

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!

tags: added: verification-needed-focal
Revision history for this message
Kelsey Steele (kelsey-steele) wrote :

Hi David, may you please verify this bug is resolved in the kernel sitting in proposed? You can find instructions for how to complete that in comment #1. Thank you!

Revision history for this message
Meriton Tuli (meriton) wrote :

Using 5.4.0-1020-bluefield, this Issue has been fixed:
# ethtool -S oob_net0
NIC statistics:
     hw_access_errors: 0
     tx_invalid_checksums: 0
     tx_small_frames: 3
     tx_index_errors: 0
     sw_config_errors: 0
     sw_access_errors: 0
     rx_truncate_errors: 0
     rx_mac_errors: 0
     rx_din_dropped_pkts: 0
     tx_fifo_full: 0
     rx_filter_passed_pkts: 729
     rx_filter_discard_pkts: 13
     mac_intr_count: 3
     rx_intr_count: 725
     llu_plu_intr_count: 0

tags: added: verification-done-focal
removed: verification-needed-focal
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (45.3 KiB)

This bug was fixed in the package linux-bluefield - 5.4.0-1020.23

---------------
linux-bluefield (5.4.0-1020.23) focal; urgency=medium

  * focal/linux-bluefield: 5.4.0-1020.23 -proposed tracker (LP: #1944877)

  * liburing stops working after upgrading to 5.4.0-1012 (LP: #1946219)
    - SAUCE: Revert "block: don't ignore REQ_NOWAIT for direct IO"

  * mlxbf_gige: update driver version to 1.25 (LP: #1943065)
    - SAUCE: mlxbf_gige: update driver version to 1.25

  * oob_net0 up but stops processing Rx packets (LP: #1942932)
    - SAUCE: mlxbf_gige: clear valid_polarity upon open

  * "ethtool -S oob_net0" does not report interrupt counts (LP: #1942931)
    - SAUCE: mlxbf_gige: add interrupt counts to "ethtool -S"

  [ Ubuntu: 5.4.0-89.100 ]

  * focal/linux: 5.4.0-89.100 -proposed tracker (LP: #1944901)
  * Packaging resync (LP: #1786013)
    - debian/dkms-versions -- update from kernel-versions (main/2021.09.27)
  * ext4 journal recovery fails w/ data=journal + mmap (LP: #1847340)
    - jbd2: introduce/export functions
      jbd2_journal_submit|finish_inode_data_buffers()
    - jbd2, ext4, ocfs2: introduce/use journal callbacks
      j_submit|finish_inode_data_buffers()
    - ext4: data=journal: fixes for ext4_page_mkwrite()
    - ext4: data=journal: write-protect pages on j_submit_inode_data_buffers()
    - ext4: fix mmap write protection for data=journal mode
  * CVE-2021-40490
    - ext4: fix race writing to an inline_data file while its xattrs are changing
  * Obsolete patch "UBUNTU: SAUCE: ext4: fix directory index node split
    corruption" (LP: #1942902)
    - Revert "UBUNTU: SAUCE: ext4: fix directory index node split corruption"
  * psock_snd.sh in net from ubuntu_kernel_selftests ADT failure with
    focal/groovy/hirsute/impish (LP: #1892213)
    - selftests/net: remove min gso test in packet_snd
  * Focal update: v5.4.143 upstream stable release (LP: #1944212)
    - ext4: fix EXT4_MAX_LOGICAL_BLOCK macro
    - x86/fpu: Make init_fpstate correct with optimized XSAVE
    - ath: Use safer key clearing with key cache entries
    - ath9k: Clear key cache explicitly on disabling hardware
    - ath: Export ath_hw_keysetmac()
    - ath: Modify ath_key_delete() to not need full key entry
    - ath9k: Postpone key cache entry deletion for TXQ frames reference it
    - mtd: cfi_cmdset_0002: fix crash when erasing/writing AMD cards
    - media: zr364xx: propagate errors from zr364xx_start_readpipe()
    - media: zr364xx: fix memory leaks in probe()
    - media: drivers/media/usb: fix memory leak in zr364xx_probe
    - USB: core: Avoid WARNings for 0-length descriptor requests
    - dmaengine: xilinx_dma: Fix read-after-free bug when terminating transfers
    - dmaengine: usb-dmac: Fix PM reference leak in usb_dmac_probe()
    - ARM: dts: am43x-epos-evm: Reduce i2c0 bus speed for tps65218
    - dmaengine: of-dma: router_xlate to return -EPROBE_DEFER if controller is not
      yet available
    - scsi: megaraid_mm: Fix end of loop tests for list_for_each_entry()
    - scsi: scsi_dh_rdac: Avoid crash during rdac_bus_attach()
    - scsi: core: Avoid printing an error if target_alloc() returns -ENXIO
    - scsi: core: Fix capacity set to zero a...

Changed in linux-bluefield (Ubuntu Focal):
status: Fix Committed → Fix Released
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.