HomeFreeBSD

ixgbe: Restore AIM support

Description

ixgbe: Restore AIM support

AIM (adaptive interrupt moderation) was part of BSD11 driver. Upon IFLIB
migration, AIM feature got lost. Re-introducing AIM back into IFLIB
based IXGBE driver.

One caveat is that in BSD11 driver, a queue comprises both Rx and Tx
ring. Starting from BSD12, Rx and Tx have their own queues and rings.
Also, IRQ is now only configured for Rx side. So, when AIM is
re-enabled, we should now consider only Rx stats for configuring EITR
register in contrast to BSD11 where Rx and Tx stats were considered to
manipulate EITR register.

Reviewed by: gallatin, markj
Sponsored by: NetApp, Inc.
Differential Revision: https://reviews.freebsd.org/D27344

(cherry picked from commit 64881da478071431a2d9e62613997a5772c56cdf)

Details

Provenance
stallamr_netapp.comAuthored on May 3 2021, 5:45 PM
markjCommitted on May 17 2021, 2:21 AM
Reviewer
gallatin
Differential Revision
D27344: Bring back AIM (Adaptive Interrupt Moderation) that was lost in IFLIB migration.
Parents
rG2e762b02521c: Clean up fsck_ffs error message output.
Branches
Unknown
Tags
Unknown