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)
Thu, Jun 4, 7:52 PM
Unknown Object (File)
May 18 2026, 9:54 AM
Unknown Object (File)
May 18 2026, 5:26 AM
Unknown Object (File)
May 18 2026, 5:26 AM
Unknown Object (File)
May 14 2026, 10:21 PM
Unknown Object (File)
Apr 28 2026, 6:12 PM
Unknown Object (File)
Apr 27 2026, 12:58 PM
Unknown Object (File)
Apr 20 2026, 4:45 PM
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