Hi grive:
I'm using the bond4 mode of the mlx5 NIC, I have two ports.
Now I want to implement the hotplug function based on the failsafe module.

I've verified that the sub-device is two ports and it works well:
--vdev, 'net_failsafe0,mac=04:e8:92:7d:dd:e5,dev(08:00.0),dev(08:00.1)', -b, 
'08:00.0', -b,' 08:00.1'

I wonder if subdevieces can be a bonding, and if so, how should I configure it?
So far, I've verified that the following configuration does not work:
"--vdev", 
"net_bonding0,mac=04:e8:92:7d:dd:e4,mode=4,slave=0000:08:00.0,slave=0000:08:00.1,xmit_policy=l34","--vdev",
 "net_failsafe0,mac=04:e8:92:7d:dd:e5,dev(08:00.0),dev(08:00.1)",  "-b", 
"08:00.0", "-b", "08:00.1"
"--vdev", 
"net_bonding0,mac=04:e8:92:7d:dd:e4,mode=4,slave=0000:08:00.0,slave=0000:08:00.1,xmit_policy=l34","--vdev",
 "net_failsafe0,mac=04:e8:92:7d:dd:e5,dev(net_bonding0)"
"--vdev", 
"net_bonding0,mac=04:e8:92:7d:dd:e4,mode=4,slave=0000:08:00.0,slave=0000:08:00.1,xmit_policy=l34","--vdev",
 "net_failsafe0,mac=04:e8:92:7d:dd:e5,dev(08:00.0),dev(08:00.1)"


Thanks!

Reply via email to