[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v4 1/2] tools/hotplug/Linux: Add bridge VLAN support


  • To: Jason Andryuk <jandryuk@xxxxxxxxx>
  • From: Anthony PERARD <anthony.perard@xxxxxxxxxx>
  • Date: Mon, 12 Oct 2026 14:32:29 +0200
  • Authentication-results: eu.smtp.expurgate.cloud; dkim=pass header.s=selector1 header.d=vates.tech header.i="@vates.tech" header.h="From:Subject:Date:Message-ID:To:Cc:MIME-Version:Content-Type:In-Reply-To:References:Feedback-ID"
  • Cc: Leigh Brown <leigh@xxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
  • Delivery-date: Mon, 12 Oct 2026 12:32:38 +0000
  • Feedback-id: default:8631fc262581453bbf619ec5b2062170:Sweego
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On Sat, May 18, 2024 at 08:03:13AM -0400, Jason Andryuk wrote:
> On Fri, May 17, 2024 at 10:05 AM Leigh Brown <leigh@xxxxxxxxxxxxx> wrote:
> >
> > Update add_to_bridge shell function to read the vlan parameter from
> > xenstore and set the bridge VLAN configuration for the VID.
> >
> > Add additional helper functions to parse the vlan specification,
> > which consists of one or more of the following:
> >
> > a) single VLAN (e.g. 10).
> > b) contiguous range of VLANs (e.g. 10-15).
> > c) discontiguous range with base, increment and count
> >    (e.g. 100+10x9 which gives VLAN IDs 100, 110, ... 190).
> >
> > A single VLAN can be suffixed with "p" to indicate the PVID, or
> > "u" to indicate untagged. A range of VLANs can be suffixed with
> > "u" to indicate untagged.  A complex example would be:
> >
> >    vlan=1p/10-15/20-25u
> >
> > This capability requires the iproute2 bridge command to be
> > installed.  An error will be generated if the vlan parameter is
> > set and the bridge command is not available.
> >
> > Signed-off-by: Leigh Brown <leigh@xxxxxxxxxxxxx>
> 
> Reviewed-by: Jason Andryuk <jason.andryuk@xxxxxxx>

Acked-by: Anthony PERARD <anthony.perard@xxxxxxxxxx>

Thanks,


--
Anthony Perard | Vates XCP-ng Developer

XCP-ng & Xen Orchestra - Vates solutions

web: https://vates.tech

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.