Page MenuHomeFreeBSD

IfAPI: Add if_altq_is_enabled() interface.
ClosedPublic

Authored by jhibbits on Jan 25 2023, 9:33 PM.
Tags
None
Referenced Files
F83147694: D38204.diff
Mon, May 6, 11:37 PM
Unknown Object (File)
Fri, Apr 26, 8:52 AM
Unknown Object (File)
Fri, Apr 26, 8:50 AM
Unknown Object (File)
Fri, Apr 26, 8:45 AM
Unknown Object (File)
Fri, Apr 26, 1:38 AM
Unknown Object (File)
Dec 20 2023, 8:02 AM
Unknown Object (File)
Dec 12 2023, 3:58 AM
Unknown Object (File)
Sep 6 2023, 12:25 AM
Subscribers

Details

Summary

The only user of the ALTQ_IS_ENABLED() in a driver checks against the
ifnet queue. Abstract that all out and present the interface to check
if ALTQ is enabled on the interface.

Sponsored by: Juniper Networks, Inc.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49237
Build 46127: arc lint + arc unit

Event Timeline

sys/net/if_var.h
648

Why do we need extern keyword here?

sys/net/if_var.h
648

We don't. It's gone.

This revision is now accepted and ready to land.Jan 31 2023, 5:06 PM
This revision was automatically updated to reflect the committed changes.