Recent Commits to NES-Open-Switch:master

Showing posts with label sync. Show all posts
Showing posts with label sync. Show all posts

Thursday, March 31, 2016

LACP upgrade - 11: updating member port distribution and collection handler

Updated #distribution and #collection #handler for #member-ports in #LACP module. The handler #enables the collection and distribution operations #sequentially on each port. After an #aggregator port is selected to be #attached with the member port member port moves to the #synchronized #state with the peer port. i.e. both peer agrees that same aggregator link is used for attaching from both peer systems. Once the synchronization is attained the handler #enables #collection operation on the member port and the #HAL #calls will be done for enabling collecting operation in the #hardware as well. Once this is done, informs the peer about this with an updated LACP PDU. Once both the peers are collecting data from each side of the link for the same aggregator port the #distribution operation will be started on the member port by the handler in the next step. The #HAL call will be done and the updated LACP PDU will be sent to peer to inform them as well. Once both collection and distribution operations are enabled on the member ports the link will be fully participating in the aggregation operation.

#LACP update 24 ...
[commit 10442a8c8cd0bf6e7bba44a62cf01c3fda3a99d3] (https://github.com/nes-repo/NES-Open-Switch/commit/10442a8c8cd0bf6e7bba44a62cf01c3fda3a99d3)

Wednesday, March 30, 2016

LACP upgrade - 10: updating LACP PDU partner info handler

Updated the LACP #PDU #handler in #LACP module. This handler will #process the #PDU while #received on port. The #peer #partner #info of the received port is #updated from the info received in the LACP PDU. The info in the PDU is checked against the actor port specific info to #decide whether the #peer port is in #sync with the received port. The partner info like oper-port, oper-priority, oper-system-id, oper-system-priority, oper-key and oper-stat are populated according to the values received from LDU. The actor specific info like port, port-priority, system-id, system-priority and oper-key are cross checked with the info in PDU to decide whether synchronization has been attained with the peer port.

#LACP update 23 ...
[commit 4b8005f9df419c5b8f573ca219af71cc45c67a10] (https://github.com/nes-repo/NES-Open-Switch/commit/4b8005f9df419c5b8f573ca219af71cc45c67a10)