DPDK usage discussions
 help / color / mirror / Atom feed
* bond mode 4 lacp system id change cause link lost
       [not found] <SY4P282MB27589ACB320E459BA1520828ACAF9@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM>
@ 2023-02-27  8:46 ` Hong Christian
  0 siblings, 0 replies; only message in thread
From: Hong Christian @ 2023-02-27  8:46 UTC (permalink / raw)
  To: users, Viktor Vasiliev; +Cc: Yicai Lu, Krzysztof Kanas, Declan Doherty

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

Hi DPDK users,

I met a bond issue with dpdk bond mode 4.

ENV: DPDK 20.11.7
EAL parameters: --file-prefix node-1 --log-level pmd.net.bond:8 --vdev net_bonding0,mode=4,slave=d8:00.0,slave=d9:00.0 --vdev net_bonding1,mode=4,slave=d8:00.1,slave=d9:00.1

Here we only forcus on net_bonding0, which has two slave ports(1,3) in this bonding, and I set a bond mac 11:22:33:44:55:66 in app.
The bond link is lost while shutdown one slave port. The reason seems the actor system id is changed while shutdown port 0. It cause port 3 to renegotiate and link down in this senario.
I compared this with a linux bond behavior, the difference is that linux bonding device do not change system id while I shutdown one port.

Do you have any idea for the issue ? Is this a dpdk bug ?

I search the email list, and I found @Viktor Vasiliev<mailto:vasiliev-viktor@protei-lab.ru> met a slimilar issue "bond mode 8023ad LACP system id changes when link goes down<http://patchwork.dpdk.org/project/dpdk/patch/20171228021231.15363-1-3chas3@gmail.com/>", I use your patch and it fix bonding status issue but no user pkts could send out while I shutdown one port ... so it's still not valid for me. Do you have any progress on your issue ? Thanks in advance.

Sorry to cc you, dpdk experts, I notice you all fix some bond related issues, may you could help, thanks you so much!

Br,
Christian

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

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

only message in thread, other threads:[~2023-02-27  8:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <SY4P282MB27589ACB320E459BA1520828ACAF9@SY4P282MB2758.AUSP282.PROD.OUTLOOK.COM>
2023-02-27  8:46 ` bond mode 4 lacp system id change cause link lost Hong Christian

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).