Hey folks,
I'm fighting with network setup, not sure if this config can work, so would be nice if you can share info or your config regarding similar setup.
Ports + bonding + bridge config:
Switch config (L2MTU = 10000):
Mellanox driver option (also tested probe_vf=1):
Mellanox firmware config:
Thanks for any tip.
I'm fighting with network setup, not sure if this config can work, so would be nice if you can share info or your config regarding similar setup.
- PVE: 6.3-3
- System: HPE ML350 Gen9
- Network card: HPE 546SFP+ (MLX312B) - 2-port SFP+ (part number: 779793-B21)
- Bridging: using OVS, bonding doesn't work for me on this card with linux bridge
- Switch: Mikrotik CRS317 with enabled RSTP
Ports + bonding + bridge config:
Code:
allow-vmbr0 ens1
auto ens1
iface ens1 inet manual
mtu 9000
allow-vmbr0 ens1d1
auto ens1d1
iface ens1d1 inet manual
mtu 9000
auto bond0
iface bond0 inet manual
ovs_bonds ens1 ens1d1
ovs_type OVSBond
ovs_bridge vmbr0
ovs_mtu 9000
ovs_options vlan_mode=native-untagged tag=1 bond_mode=balance-tcp other_config:lacp-time=fast lacp=active
auto vmbr0
iface vmbr0 inet manual
ovs_type OVSBridge
ovs_ports bond0 vlan2001 vlan2003 vlan3004 vlan3005
ovs_mtu 9000
Switch config (L2MTU = 10000):
Code:
1 R ;;; MCX312B
name="bonding2" mtu=9000 mac-address=<REMOVED> arp=enabled arp-timeout=auto slaves=sfp-sfpplus9,sfp-sfpplus10 mode=802.3ad primary=none link-monitoring=mii arp-interval=100ms arp-ip-targets="" mii-interval=100ms down-delay=100ms up-delay=100ms
lacp-rate=1sec transmit-hash-policy=layer-2-and-3 min-links=1
Mellanox driver option (also tested probe_vf=1):
Code:
options mlx4_core num_vfs=16 port_type_array=2,2 probe_vf=0
Mellanox firmware config:
Code:
Device #1:
----------
Device type: ConnectX3Pro
Device: 0000:04:00.0
Configurations: Next Boot
SRIOV_EN True(1)
NUM_OF_VFS 16
PHY_TYPE_P1 XFI(2)
XFI_MODE_P1 _10G(0)
FORCE_MODE_P1 False(0)
PHY_TYPE_P2 XFI(2)
XFI_MODE_P2 _10G(0)
FORCE_MODE_P2 False(0)
LOG_BAR_SIZE 5
BOOT_OPTION_ROM_EN_P1 True(1)
BOOT_VLAN_EN_P1 False(0)
BOOT_RETRY_CNT_P1 0
LEGACY_BOOT_PROTOCOL_P1 PXE(1)
BOOT_VLAN_P1 1
BOOT_OPTION_ROM_EN_P2 True(1)
BOOT_VLAN_EN_P2 False(0)
BOOT_RETRY_CNT_P2 0
LEGACY_BOOT_PROTOCOL_P2 PXE(1)
BOOT_VLAN_P2 1
IP_VER_P1 IPv4(0)
IP_VER_P2 IPv4(0)
CQ_TIMESTAMP True(1)
STEER_FORCE_VLAN False(0)
Thanks for any tip.
Last edited: