Project

General

Profile

Actions

Bug #9413

closed

VLAN driver missing ALTQ support

Added by Jim Pingle over 5 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Traffic Shaper (ALTQ)
Target version:
Start date:
03/19/2019
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.5.0
Affected Architecture:
All

Description

The VLAN driver on 2.5.0 is missing ALTQ support

There were error(s) loading the rules: pfctl: <nic>.3000: driver does not support altq

See also: #7219 (When this happened on the move to 2.4)

Actions #1

Updated by James Tandy over 5 years ago

On an upgrade to the 2.5 dev snapshot, I had multiple messages about this, warning me the em0.90 didnt support altq, on the first boot.
As I was digging through my config to try and work out where it was coming from, these suddenly stopped.
At no point did I get any warnings about the other 15 or so vlans on that parent nic.

Not much help for debugging I'm afraid!

Actions #2

Updated by Viktor Gurov almost 5 years ago

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=94182:

vlan driver does not directly support altq
but as packets (mbufs) are passed to the underlying interface, a queue
can be defined for the underlying interface, and any packets directed
to the queue will be processed at the interface level.
An example:

altq on igb0 cbq queue { def aq }
queue def bandwidth 90% cbq (default borrow)
queue aq bandwidth 10Mb cbq

pass in on igb0.10 proto udp all queue aq keep state

Actions #3

Updated by Jim Pingle almost 5 years ago

That doesn't work for some cases like lagg and ix, which do not support ALTQ natively, and can't have it enabled for various reasons. Using VLANs to enact ALTQ shaping is a workaround for those interfaces (and others)

Actions #4

Updated by Luiz Souza over 4 years ago

  • Assignee set to Luiz Souza
Actions #5

Updated by Luiz Souza over 4 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

ALTQ support committed to 2.5 branch.

Please test with the next snapshot.

Actions #6

Updated by Anonymous about 4 years ago

  • Assignee changed from Luiz Souza to Jim Pingle

Please test/close

Actions #7

Updated by Jim Pingle about 4 years ago

  • Status changed from Feedback to Resolved

ALTQ rules loaded without error on the latest 2.5.0 snapshot.

Actions

Also available in: Atom PDF