* bond mode 8023ad LACP system id changes when link goes down
@ 2023-01-30 11:27 Viktor Vasiliev
0 siblings, 0 replies; only message in thread
From: Viktor Vasiliev @ 2023-01-30 11:27 UTC (permalink / raw)
I have troubles with bond mode 8023ad. I have two bonded network
adapters connected to my router. When one of router's ports goes down
and second port continues working, then LACP system id is changed. As a
result, I got the message: "preferred partner system not equal self
system". I expect that system id should not change in this case. I tried
to set bond mac using rte_eth_bond_mac_address_set, but it did not help.
The system id in LACP frames was copied from mac address of physical
network adapter. I've looked at DPDK source code,
bond_mode_8023ad_mac_address_update and bond_mode_8023ad_periodic_cb,
and found this call:
where slave_addr is the mac address of physical network adapter. So,
there's no chance to use manually assigned bond mac as actor system id.
I've modified the sources like this and rebuild DPDK:
Now it works, bond mac is used as actor system id in LACP frames, and
there's no "preferred partner system not equal self system" message.
Please tell if there's another way to achieve my goal, or modifying DPDK
sources is the only solution. If so, is it a bug in DPDK?
Thank you in advance,
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-02-02 8:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-30 11:27 bond mode 8023ad LACP system id changes when link goes down Viktor Vasiliev
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).