[dpdk-dev] [PATCH v3] net/bonding: fix LACP system address check

Ferruh Yigit ferruh.yigit at intel.com
Fri Mar 5 10:21:28 CET 2021


On 3/5/2021 1:43 AM, Min Hu (Connor) wrote:

> 在 2021/2/18 0:26, Ferruh Yigit 写道:
>> From: Vadim Podovinnikov <podovinnikov at protei.ru>
>>
>> In bond (LACP) we have several NICs (ports), when we have negotiation
>> with peer about what port we prefer, we send information about what
>> system we preferred in partner system name field. Peer also sends us
>> what partner system name it prefer.
>>
>> When we receive a message from it we must compare its preferred system
>> name with our system name, but not with our port mac address
>>
>> In my test I have several problems with that:
>> 1. If master port (mac address same as system address) shuts down (I
>>     have two ports) I loose connection
>> 2. If secondary port (mac address not same as system address) receives
>>     message before master port, my connection is not established.
>>
>> Fixes: 56cbc0817399 ("net/bonding: fix LACP negotiation")
>> Cc: stable at dpdk.org
>>
>> Signed-off-by: Vadim Podovinnikov <podovinnikov at protei.ru>
 >
 > Acked-by: Min Hu (Connor) <humin29 at huawei.com>
 >

Applied to dpdk-next-net/main, thanks.


More information about the dev mailing list