Page MenuHomeFreeBSD

IfAPI: Add if_altq_is_enabled() interface.
ClosedPublic

Authored by jhibbits on Jan 25 2023, 9:33 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 25, 2:48 PM
Unknown Object (File)
Tue, Jul 21, 10:50 AM
Unknown Object (File)
Mon, Jul 20, 2:51 PM
Unknown Object (File)
Mon, Jul 20, 9:44 AM
Unknown Object (File)
Sun, Jul 12, 9:02 AM
Unknown Object (File)
Jun 30 2026, 5:39 AM
Unknown Object (File)
Jun 30 2026, 1:54 AM
Unknown Object (File)
Jun 27 2026, 8:13 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 Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/net/if_var.h
649

Why do we need extern keyword here?

sys/net/if_var.h
649

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.