Page MenuHomeFreeBSD

Don't re-evaluate ALTQ kernel configuration due to events on non-ALTQ interfaces
ClosedPublic

Authored by pkelsey on Jan 22 2019, 1:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 12, 10:16 PM
Unknown Object (File)
Thu, Nov 27, 10:57 AM
Unknown Object (File)
Wed, Nov 26, 11:19 PM
Unknown Object (File)
Nov 23 2025, 5:51 PM
Unknown Object (File)
Nov 23 2025, 11:59 AM
Unknown Object (File)
Nov 22 2025, 9:48 PM
Unknown Object (File)
Nov 22 2025, 8:06 PM
Unknown Object (File)
Nov 20 2025, 9:12 PM
Subscribers

Details

Summary

Prior to this patch, events on interfaces that couldn't possibly be part of a PF ALTQ configuration, such as vlan(4), would trigger a copy-existing / install-new / teardown-old PF ALTQ configuration cycle. This would result in needlessly lengthy vlan(4) creation times on systems with active PF configurations that had a large number (hundreds or thousands) of queues. On such systems that also employ hundreds or thousands of vlan(4) interfaces, the time required to create those interfaces became untenable.

Test Plan

Tested with a pf.conf containing ~4k queues. vlan(4) creation times are reduced from ~200ms each to < 10ms each.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped