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)
Sat, Jul 12, 4:57 AM
Unknown Object (File)
Wed, Jul 9, 7:26 PM
Unknown Object (File)
Wed, Jul 9, 6:16 PM
Unknown Object (File)
Mon, Jul 7, 4:12 AM
Unknown Object (File)
Jun 23 2025, 9:41 PM
Unknown Object (File)
Jun 22 2025, 10:34 PM
Unknown Object (File)
Jun 22 2025, 6:22 AM
Unknown Object (File)
Jun 15 2025, 7:38 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 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.