From owner-svn-src-all@freebsd.org Wed Oct 9 21:48:01 2019 Return-Path: Delivered-To: svn-src-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0F8DC130ADE; Wed, 9 Oct 2019 21:48:01 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46pSWN6g3Xz44VR; Wed, 9 Oct 2019 21:48:00 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C423D1EE19; Wed, 9 Oct 2019 21:48:00 +0000 (UTC) (envelope-from jmg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x99Lm063066104; Wed, 9 Oct 2019 21:48:00 GMT (envelope-from jmg@FreeBSD.org) Received: (from jmg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x99Lm0KX066103; Wed, 9 Oct 2019 21:48:00 GMT (envelope-from jmg@FreeBSD.org) Message-Id: <201910092148.x99Lm0KX066103@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jmg set sender to jmg@FreeBSD.org using -f From: John-Mark Gurney Date: Wed, 9 Oct 2019 21:48:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r353374 - head/share/man/man4 X-SVN-Group: head X-SVN-Commit-Author: jmg X-SVN-Commit-Paths: head/share/man/man4 X-SVN-Commit-Revision: 353374 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2019 21:48:01 -0000 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 ,