Page MenuHomeFreeBSD

iflib: Simplify iflib_legacy_setup
ClosedPublic

Authored by kgalazka on Jul 22 2024, 4:26 PM.
Tags
None
Referenced Files
F167535717: D46061.diff
Sat, Aug 22, 1:37 PM
F167422068: D46061.id141230.diff
Fri, Aug 21, 3:50 PM
Unknown Object (File)
Thu, Aug 20, 4:03 AM
Unknown Object (File)
Wed, Aug 19, 4:43 PM
Unknown Object (File)
Wed, Aug 19, 3:49 PM
Unknown Object (File)
Tue, Aug 18, 6:56 AM
Unknown Object (File)
Mon, Aug 17, 2:12 AM
Unknown Object (File)
Sat, Aug 15, 5:40 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.