Page MenuHomeFreeBSD

iflib: Simplify iflib_legacy_setup
ClosedPublic

Authored by krzysztof.galazka_intel.com on Jul 22 2024, 4:26 PM.
Tags
None
Referenced Files
F108339885: D46061.diff
Fri, Jan 24, 12:21 AM
Unknown Object (File)
Thu, Jan 16, 3:13 PM
Unknown Object (File)
Mon, Dec 30, 8:00 PM
Unknown Object (File)
Dec 13 2024, 1:51 PM
Unknown Object (File)
Dec 9 2024, 5:03 AM
Unknown Object (File)
Nov 30 2024, 6:15 PM
Unknown Object (File)
Nov 25 2024, 5:41 AM
Unknown Object (File)
Nov 24 2024, 9:11 AM

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.