Author: jmg
Date: Wed Oct  9 21:48:00 2019
New Revision: 353374
URL: https://svnweb.freebsd.org/changeset/base/353374

Log:
  document how to apply altq to vlan interfaces w/ pf.
  
  Thanks to jhb for pointing out that this might possibly work.
  
  PR:           94182

Modified:
  head/share/man/man4/altq.4

Modified: head/share/man/man4/altq.4
==============================================================================
--- head/share/man/man4/altq.4  Wed Oct  9 21:45:40 2019        (r353373)
+++ head/share/man/man4/altq.4  Wed Oct  9 21:48:00 2019        (r353374)
@@ -25,7 +25,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd March 20, 2018
+.Dd October 9, 2019
 .Dt ALTQ 4
 .Os
 .Sh NAME
@@ -190,6 +190,23 @@ and
 .Xr ng_iface 4
 pseudo drivers also do support
 .Nm .
+.Pp
+The
+.Xr vlan 4
+driver does not directly support
+.Nm ,
+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:
+.Pp
+.Bd -literal -offset indent
+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
+.Ed
 .Sh SEE ALSO
 .Xr pf 4 ,
 .Xr pf.conf 5 ,
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to