Date: Wed, 9 Oct 2019 21:48:00 +0000 (UTC) From: John-Mark Gurney <jmg@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353374 - head/share/man/man4 Message-ID: <201910092148.x99Lm0KX066103@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 ,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910092148.x99Lm0KX066103>