re-org actor admin/oper key updates
Subsystems (2)
cover re-org actor admin/oper key updates
I was observing machines entering into weird LACP state when the partner is in passive mode. This issue is not because of the partners in passive state but probably because of some operational key update which is pushing the state-machine is that weird state. This was happening randomly on about 1% of the machine (when the sample size is a large set of machines with a variety of NICs/ports bonded).
In this patch-series I'm attempting to unify the logic of actor-key / operational-key changes to one place to avoid possible errors in update. Also this eliminates the need for the event-handler to decide if the key needs update.
After this patch-set none of the machines (from same sample set) were exhibiting LACP-weirdness that was observed earlier.
Mahesh Bandewar (3):
bonding: Simplify __get_duplex function.
bonding: unify all places where actor-oper key needs to be updated.
bonding: simplify / unify event handling code for 3ad mode.
drivers/net/bonding/bond_3ad.c | 113 ++++++++++++++++++---------------------- drivers/net/bonding/bond_main.c | 14 +---- include/net/bond_3ad.h | 3 +- 3 files changed, 54 insertions(+), 76 deletions(-)
Signature · 1 line
2.6.0.rc2.230.g3dd15c0
David Miller
maintainerFrom: Mahesh Bandewar <[email protected]>
Date: Sat, 31 Oct 2015 12:44:55 -0700
Quoted 7 lines
I was observing machines entering into weird LACP state when the partner is in passive mode. This issue is not because of the partners in passive state but probably because of some operational key update which is pushing the state-machine is that weird state. This was happening randomly on about 1% of the machine (when the sample size is a large set of machines with a variety of NICs/ports bonded).
Quoted 7 lines
In this patch-series I'm attempting to unify the logic of actor-key / operational-key changes to one place to avoid possible errors in update. Also this eliminates the need for the event-handler to decide if the key needs update.
After this patch-set none of the machines (from same sample set) were exhibiting LACP-weirdness that was observed earlier.
Series applied, thanks.