Page MenuHomeFreeBSD

bnxt_en: improve interrupt coalescing defaults and sysctl handling
Needs ReviewPublic

Authored by chandrakanth.patil_broadcom.com on Aug 21 2025, 4:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 28, 6:12 PM
Unknown Object (File)
Mon, Apr 27, 12:58 PM
Unknown Object (File)
Mon, Apr 20, 4:45 PM
Unknown Object (File)
Mon, Apr 20, 6:19 AM
Unknown Object (File)
Tue, Apr 7, 7:38 PM
Unknown Object (File)
Mar 20 2026, 8:00 AM
Unknown Object (File)
Mar 4 2026, 4:05 PM
Unknown Object (File)
Mar 3 2026, 6:06 AM
Subscribers
None

Details

Summary

Enhance interrupt coalescing support by improving defaults and sysctl behavior:

  • Initialize Rx and Tx coalescing parameters with sane defaults.
  • Set defaults early in bnxt_attach_pre() to avoid divide-by-zero faults when sysctls are queried before the interface is brought up.
  • Simplify sysctl handling for Rx and Tx completion coalescing.
  • Defer HWRM coalescing commands until the interface is UP, preventing failures when sysctls are set with the interface down.
  • Add a sysctl tunable for coalescing statistics collection interval, with default changed to 250ms.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped