Page MenuHomeFreeBSD

iflib: Simplify iflib_legacy_setup
ClosedPublic

Authored by kgalazka on Jul 22 2024, 4:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 13, 5:48 PM
Unknown Object (File)
Fri, Oct 9, 7:17 PM
Unknown Object (File)
Fri, Sep 25, 11:09 PM
Unknown Object (File)
Mon, Sep 21, 7:19 PM
Unknown Object (File)
Sat, Sep 19, 8:49 AM
Unknown Object (File)
Sep 12 2026, 3:06 PM
Unknown Object (File)
Aug 22 2026, 1:37 PM
Unknown Object (File)
Aug 21 2026, 3:50 PM

Details

Summary

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>

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 58763
Build 55651: arc lint + arc unit

Event Timeline

markj added inline comments.
sys/net/iflib.c
6447

This is safe because info->ifi_task != NULL, ok.

This revision was not accepted when it landed; it landed in state Needs Review.Sep 25 2024, 8:34 PM
This revision was automatically updated to reflect the committed changes.