Page MenuHomeFreeBSD

iflib: Simplify iflib_legacy_setup
ClosedPublic

Authored by kgalazka on Jul 22 2024, 4:26 PM.
Tags
None
Referenced Files
F132589479: D46061.id143728.diff
Sat, Oct 18, 5:32 AM
F132589473: D46061.id141230.diff
Sat, Oct 18, 5:32 AM
F132589470: D46061.id.diff
Sat, Oct 18, 5:32 AM
F132536405: D46061.diff
Fri, Oct 17, 6:54 PM
Unknown Object (File)
Tue, Oct 7, 11:07 AM
Unknown Object (File)
Wed, Oct 1, 7:21 AM
Unknown Object (File)
Sep 15 2025, 7:51 PM
Unknown Object (File)
Sep 15 2025, 7:41 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

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

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.