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
Unknown Object (File)
Thu, Oct 17, 1:56 AM
Unknown Object (File)
Mon, Oct 14, 9:03 PM
Unknown Object (File)
Sun, Oct 13, 8:37 PM
Unknown Object (File)
Sat, Oct 12, 2:57 PM
Unknown Object (File)
Fri, Oct 11, 7:02 AM
Unknown Object (File)
Wed, Oct 9, 12:19 AM
Unknown Object (File)
Fri, Oct 4, 2:13 AM
Unknown Object (File)
Thu, Oct 3, 12:31 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.Wed, Sep 25, 8:34 PM
This revision was automatically updated to reflect the committed changes.