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)
Mon, Jun 23, 9:41 PM
Unknown Object (File)
Sun, Jun 22, 10:34 PM
Unknown Object (File)
Sun, Jun 22, 6:22 AM
Unknown Object (File)
Sun, Jun 15, 7:38 PM
Unknown Object (File)
Sat, Jun 14, 6:23 PM
Unknown Object (File)
Fri, Jun 13, 5:10 AM
Unknown Object (File)
Thu, Jun 12, 5:07 AM
Unknown Object (File)
Wed, Jun 11, 1:08 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.