[pve-devel] [PATCH] activate_bridge_vlan: allow QinQ

Alexandre DERUMIER aderumier at odiso.com
Mon Sep 21 09:04:04 CEST 2015


>>that's my patch ;-) 
>>
>>https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg10607.html 
>>
>>Greets, 
>>Stefan 

Oh, yes, indeed. I totally miss that.

I think that now kernel 4.2 is the default, we can enable it.
User on forum has reported that it was working fine.


I'm also planning to add 802.1ad vlan in another patch.

(My mellanox switch with last update are now able to do QinQ, with 802.1ad-802.1q stack)



----- Mail original -----
De: "Stefan Priebe" <s.priebe at profihost.ag>
À: "aderumier" <aderumier at odiso.com>, "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 21 Septembre 2015 08:45:21
Objet: Re: [pve-devel] [PATCH] activate_bridge_vlan: allow QinQ

that's my patch ;-) 

https://www.mail-archive.com/pve-devel@pve.proxmox.com/msg10607.html 

Greets, 
Stefan 

Am 21.09.2015 um 08:42 schrieb Alexandre Derumier: 
> we should be able to create new bridge with double tagged interfaces 
> 
> Signed-off-by: Alexandre Derumier <aderumier at odiso.com> 
> --- 
> src/PVE/Network.pm | 2 +- 
> 1 file changed, 1 insertion(+), 1 deletion(-) 
> 
> diff --git a/src/PVE/Network.pm b/src/PVE/Network.pm 
> index 60afe50..981ac6a 100644 
> --- a/src/PVE/Network.pm 
> +++ b/src/PVE/Network.pm 
> @@ -413,7 +413,7 @@ sub activate_bridge_vlan { 
> 
> my @ifaces = (); 
> my $dir = "/sys/class/net/$bridge/brif"; 
> - PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+)', sub { 
> + PVE::Tools::dir_glob_foreach($dir, '((eth|bond)\d+(.\d+)?)', sub { 
> push @ifaces, $_[0]; 
> }); 
> 
> 


More information about the pve-devel mailing list