<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body>
<div style="font-family: Calibri, sans-serif; font-size: 11pt; color: inherit; background-color: transparent;">
<span style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt;">Hi DPDK users,</span><br>
</div>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I met a bond issue with dpdk bond mode 4. </div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
ENV: DPDK 20.11.7</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
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</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
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. </div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">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. </span></div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">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. </span></div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt"><br>
</span></div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<span style="color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif; font-size:12pt">Do you have any idea for the issue ? Is this a dpdk bug ?</span></div>
<div class="x_elementToProof" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted2" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
I search the email list, and I found <a href="mailto:vasiliev-viktor@protei-lab.ru" data-auth="NotApplicable" id="OWAAM134147" class="x_tWKOu x_mention x_ms-bgc-nlr x_ms-fcl-b">@Viktor Vasiliev</a> met a slimilar issue "<a href="http://patchwork.dpdk.org/project/dpdk/patch/20171228021231.15363-1-3chas3@gmail.com/" data-auth="NotApplicable" title="http://patchwork.dpdk.org/project/dpdk/patch/20171228021231.15363-1-3chas3@gmail.com/" id="LPlnk527801">bond
 mode 8023ad LACP system id changes when link goes down</a>", 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.</div>
<div class="x_elementToProof x_ContentPasted2" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted2" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Sorry to cc you, dpdk experts, I notice you all fix some bond related issues, may you could help, thanks you so much!</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
<br>
</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Br,</div>
<div class="x_elementToProof x_ContentPasted0" style="font-family:Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0); background-color:rgb(255,255,255)">
Christian</div>
</div>
</body>
</html>