HomeFreeBSD

IfAPI: Add if_altq_is_enabled() interface.

Description

IfAPI: Add if_altq_is_enabled() interface.

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.
Reviewed By: glebius
Differential Revision: https://reviews.freebsd.org/D38204

Details

Provenance
jhibbitsAuthored on Jan 25 2023, 8:08 PM
Reviewer
glebius
Differential Revision
D38204: IfAPI: Add if_altq_is_enabled() interface.
Parents
rG31cfaf191b08: IfAPI: Add l2com accessor for firewire.
Branches
Unknown
Tags
Unknown