some nic like mellanox connectx or intel i40e don't work well vlan-aware bridge because they are limited in number of vlan filtering in hardware
Signed-off-by: Alexandre Derumier <aderum...@odiso.com> --- src/PVE/INotify.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/PVE/INotify.pm b/src/PVE/INotify.pm index c86c2de..c4dd85d 100644 --- a/src/PVE/INotify.pm +++ b/src/PVE/INotify.pm @@ -1668,6 +1668,8 @@ sub __write_etc_network_interfaces { $iface = $bondslaves->{$iface} if $bondslaves->{$iface}; if ($bridgeports->{$iface} && $bridges->{$bridgeports->{$iface}}->{bridge_vlan_aware}) { $ifaces->{$phys_iface}->{'rx-vlan-filter'} = 'off' if !defined($ifaces->{$phys_iface}->{'rx-vlan-filter'}); + } else { + delete $ifaces->{$phys_iface}->{'rx-vlan-filter'}; } } -- 2.39.2 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel