DPDK usage discussions
 help / color / mirror / Atom feed
* [net/failsafe] can a subdevice be a bonding?
@ 2023-09-02  9:21 jiangheng (G)
  0 siblings, 0 replies; only message in thread
From: jiangheng (G) @ 2023-09-02  9:21 UTC (permalink / raw)
  To: users, grive, Matan Azrad

[-- Attachment #1: Type: text/plain, Size: 1063 bytes --]

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!

[-- Attachment #2: Type: text/html, Size: 4103 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-09-02  9:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-09-02  9:21 [net/failsafe] can a subdevice be a bonding? jiangheng (G)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).