HomeFreeBSD

iflib: Simplify iflib_legacy_setup

Description

iflib: Simplify iflib_legacy_setup

Follow the pattern from iflib_irq_alloc_generic function and use
iflib_fast_intr as a handler for RX only interrupts.

Also remove some intermediate variables and use consistent
way for referencing queue's structures.

Signed-off-by: Krzysztof Galazka <krzysztof.galazka@intel.com>

Reviewed by: markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D46061

Details

Provenance
krzysztof.galazka_intel.comAuthored on Sep 25 2024, 8:28 PM
Kevin Bowling <kbowling@FreeBSD.org>Committed on Sep 25 2024, 8:33 PM
Reviewer
markj
Differential Revision
D46061: iflib: Simplify iflib_legacy_setup
Parents
rGd2c2d5f4945a: stdio: Disable USE_XPRINTF envar.
Branches
Unknown
Tags
Unknown