From nobody Mon Nov 25 06:51:48 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass(p=none dis=none) header.from=solinno.co.uk ARC-Seal: i=1; a=rsa-sha256; t=1715204371; cv=none; d=zohomail.com; s=zohoarc; b=RNf5H+wqP6v4QSl5fZ8CisJUj1Gse7Wyak5Z4XVbshL5h8SPQX6bFcB2d5kVcLNtA+pAetWx5Fz/ZJX7wiILtU6HffLRZnhGWCA/34AHiScTBY+0cP31WpWHbPGs1Y/WA2lovzcheRvyAy/JafXwrLHbEJ3rq/FDFblUeEsrs1g= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1715204371; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=+GTeTYXtWXwE310wbU4VX1csw5mmVkcvY4bXpVx73fQ=; b=deI1LGdl4z3RzT6secCjyQsUKGyGFGDl2ygfq4KfITxobtg5SZ34roBZSp6yPCtVL5uVwbfI1zsE6Oka3+48JCCzEmX/SgfK97oVD1aCxhQNeAZzmvGZJAsNY69WCR1pHo6fFOZyUpdaXmYgTu0PbXe03jfnCy28jWhanKN/Cdk= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1715204371328605.08034744438; Wed, 8 May 2024 14:39:31 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.718969.1121582 (Exim 4.92) (envelope-from ) id 1s4p0D-0004oc-48; Wed, 08 May 2024 21:39:05 +0000 Received: by outflank-mailman (output) from mailman id 718969.1121582; Wed, 08 May 2024 21:39:05 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s4p0D-0004oV-12; Wed, 08 May 2024 21:39:05 +0000 Received: by outflank-mailman (input) for mailman id 718969; Wed, 08 May 2024 21:39:03 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1s4p0B-00044I-A9 for xen-devel@lists.xenproject.org; Wed, 08 May 2024 21:39:03 +0000 Received: from doppler.solinno.uk (doppler.solinno.uk [81.2.106.178]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 611f7b26-0d83-11ef-909c-e314d9c70b13; Wed, 08 May 2024 23:38:59 +0200 (CEST) Received: from folly.solinno.co.uk (folly.dyn.solinno.co.uk [192.168.2.135]) by doppler.solinno.uk (Postfix) with ESMTPSA id 292668009F; Wed, 8 May 2024 22:38:59 +0100 (BST) Received: by folly.solinno.co.uk (Postfix, from userid 1000) id 030132017E; Wed, 8 May 2024 22:38:59 +0100 (BST) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 611f7b26-0d83-11ef-909c-e314d9c70b13 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=solinno.co.uk; s=mail; t=1715204339; bh=+Btd9KVZELds4IWrVvm32cKo9jGdEkoWQ7GZ1KHgtYw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=iHPObwfQZEAy1JyUCQI4BAtqbCaTT/dlCv37rO2Tt0tG39UPsSmaCC9mwPwyFt4IQ +rimKjAj/Q+t6x+DEPJ27PJCTpSOZdmsPehguoNqyyneNPNuf2gvVcmRHkcrIvg8fC q2CkZe+gi2jwfxPg+R2DcTX6MLSnk/wLidltzK4g= From: Leigh Brown To: xen-devel@lists.xenproject.org Cc: andrew.cooper3@citrix.com, anthony.perard@citrix.com, Leigh Brown Subject: [RFC PATCH v2 4/5] docs/man: document VIF vlan keyword Date: Wed, 8 May 2024 22:38:23 +0100 Message-Id: <20240508213824.55824-5-leigh@solinno.co.uk> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240508213824.55824-1-leigh@solinno.co.uk> References: <20240508213824.55824-1-leigh@solinno.co.uk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @solinno.co.uk) X-ZM-MESSAGEID: 1715204372699100004 Content-Type: text/plain; charset="utf-8" Document the new `vlan' keyword in xl-network-configuration(5). Signed-off-by: Leigh Brown Reviewed-by: Jason Andryuk --- docs/man/xl-network-configuration.5.pod.in | 38 ++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/docs/man/xl-network-configuration.5.pod.in b/docs/man/xl-netwo= rk-configuration.5.pod.in index f3e379bcf8..c35c0922b3 100644 --- a/docs/man/xl-network-configuration.5.pod.in +++ b/docs/man/xl-network-configuration.5.pod.in @@ -259,6 +259,44 @@ Specifies the MTU (i.e. the maximum size of an IP payl= oad, exclusing headers). T default value is 1500 but, if the VIF is attached to a bridge, it will be = set to match unless overridden by this parameter. =20 +=3Dhead2 vlan + +Specifies the VLAN configuration. The format of this parameter is one or m= ore +VLAN IDs or ranges separated by forward slashes. Each term can be: + +=3Dover + +=3Ditem * + +B - a single VLAN ID in the range 1 to 4094. This can optionally fol= lowed +by a B

to indicate the PVID or by a B to indicate an untagged VLAN. = C

+implies B. + +=3Ditem * + +B-B - a range of VLAN IDs from B to B, both be= tween +1 and 4094 and B being less than or equal to B. This can be +optionally followed by a B to indicate that the range of VLANs are unta= gged. + +=3Ditem * + +B+BxB - describing a range of VLAN IDs starting at B<= vlan> +with B additional entries, each incremented by B. This can = be=20 +optionally followed by a B to indicate that the range of VLANs are unta= gged. + +=3Dback + +Note, one VLAN ID must be marked as the PVID. In the case of a vlan=20 +specification consisting of a single VLAN ID (e.g. C), the B

= suffix +may be omitted. Specifying more than one untagged VLAN ID is an advanced=20 +configuration - use with caution. + +For example: + + 'vlan=3D10' -- meaning a single VLAN that is the PVID. + 'vlan=3D10p/20' -- VLAN 10 is the PVID and VLAN 20 is tagged. + 'vlan=3D10p/100+10x4' -- VLANs 10, 100, 110, 120, 130, 140, 150. + =3Dhead2 trusted / untrusted =20 An advisory setting for the frontend driver on whether the backend should = be --=20 2.39.2