Recent Commits to NES-Open-Switch:master

Showing posts with label PDU. Show all posts
Showing posts with label PDU. Show all posts

Tuesday, April 5, 2016

LACP upgrade - 13: cleaning up LAG module

Cleaned up #LAG and #LACP modules with #miscellaneous #changes. Corrected the #PDU #handler in LACP module. Reordered PDU buffer data-structure. Removed definitions of the old module data-structures in LAG module. Corrected #aggregator #member-port #list iterator routine. Corrected #member-port #statistics iterator routines with direct references from member-port configuration entries. Updated #custom #aggregator configuration entries with direct reference from the aggregator configuration entries.

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

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)

Tuesday, March 22, 2016

LACP upgrade - 9: updating LACP PDU transmit handler

Updated the #PDU #transmit #handler in the #LACP module. Whenever updated LACP packets has to be sent to the #peer #partner node, the PDUs are #composed from the internal data-structures in this routine. This routine access the member port data-structures for #creating the individual #TLVs in the LACP PDU. The data-structure references has been corrected to the native member port structures. This routine passes the created PDUs to the appropriate #platform #handlers to send them out of the actual port.

#LACP update 22 ...
[commit 3a79dce87f1ea9b2225c02fea5d33a08a22e7d0b] (https://github.com/nes-repo/NES-Open-Switch/commit/3a79dce87f1ea9b2225c02fea5d33a08a22e7d0b)

Friday, March 18, 2016

LACP upgrade - 8: updating the LACP PDU processing routine

Updated the internal #LACP #PDU #processing routine in LACP module. This handler #disects the LACP #packet in to individual #TLVs and do the respective handling. The LACP PDU receive handler passes the incoming PDUs to this routine for processing. The routine has been upgraded to use the native member port level data-structures for it's internal processing.

#LACP update 21 ...
[commit 71ff8fe16a341f52e8887bb8abb5648f3ab1bebb] (https://github.com/nes-repo/NES-Open-Switch/commit/71ff8fe16a341f52e8887bb8abb5648f3ab1bebb)

Thursday, March 17, 2016

LACP upgrade - 7: updating the received LACP PDU handler

Updated incoming #LACP #PDU #handler in LACP module. The PDU handler has been updated to use native member port structures. The #peer #partner #data-structures on the particular member port are updated and internal LACP state on the port is updated in the handler. The routine to update the peer partner data-structures with the #administratively configured #default #values has been updated to remove references to the augmented data-structures. The #partner #info #expire #handler also has been updated in the same lines.

#LACP update 20 ...
[commit 1e4f29e70604d243bb4d80becf1e76e91007504b] (https://github.com/nes-repo/NES-Open-Switch/commit/1e4f29e70604d243bb4d80becf1e76e91007504b)

Wednesday, March 9, 2016

LACP upgrade - 6: updating member port aggregator attach handler

Updated #member #port #attach #handler with the aggregator in the #LACP module. This handler make the #hardware calls to #attach the member port with the selected aggregator and mark the member port state as attached. The #remote #peer is informed of this by sending a #new #LACP #PDU and peer is marked as #synchronized. Later, when peer responds with it's PDU the actual #distribution and #collection operations will be #started for member ports. On attaching the member port with the aggregator the LAG distribution and collection operations will be started in hardware. i.e. The traffic sent out on the aggregator port will be distributed to the member ports and traffic received on the member ports will be collected on to the combined aggregator port.

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

Wednesday, December 30, 2015

LAG upgrade - 19: updating standard extended member port agent mapper routines

Updated #standard #extended #member #port agent routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use standard #member #port #based #indexing. This will access the extended member port entries #embedded in the standard #member #port entries and there by removing the redundant indexing. The standard extended member port entries contain #attributes like the #custom #destination #address for the #LACP control and marker #PDUs.

#LAG update 27 ...
[commit bc7c27612e082a5ff1fea525aee47d42a1a54611] (https://github.com/nes-repo/NES-Open-Switch/commit/bc7c27612e082a5ff1fea525aee47d42a1a54611)

Friday, December 18, 2015

LAG upgrade - 16: optimizing standard extended LAG member port entries

Updated #standard #extended #member #port agent mapper routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use standard member port entry based #indexing. This will access the port entries by using the #native #indexing. This removes references to the standard member port statistics indexing used earlier. The extended entries add support for #attributes like #custom #destination #address for the #LACP control and marker #PDUs, these will #default to the standard #Slow_Protocols_Multicast address.

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

Friday, August 14, 2015

LACP update - 12: corrections in PDU definitions

Added #top level #PDU #serialization routine s in LACP module. This enables #automatic #handling of #PDU #format s while it is sent out and when it is being received.

#LACP update 12 ...
[commit ef5675db621e0025a2f3d38d59c92209a055c434]

Thursday, August 13, 2015

LACP update - 11: corrections in PDU definitions

Corrected PDU definition s in LACP module. This #fix es minor #issue s #with the #LACP #PDU #trailer definition.

#LACP update 11 ...
[commit 557759dbac1f779f2637c989e5ad0fbc742f0219]

Thursday, July 23, 2015

MSTP update - 4: added xSTP protocol constants and PDU defenitions

Added #xSTP #protocol #constant s and #PDU #definition s in MSTP module. Updated LIB module with #IEEE defined #xSTP #MAC #address es and #LLC #address constants. Added #STP and #MSTP PDU definitions in MSTP module.

#802-1S MSTP update 4 + #Lib update 10 ...
[commit d60cb9373aa02b4fd37192e490a86d8d1471766f]

Friday, June 26, 2015

MSTP update - 2: adding module message queue

Added #module level #message #queue in MSTP module. The #xSTP / #SPB #protocol #PDUs will be #sent to the #MSTP module by adding them in the module message queue.

#802-1S MSTP update 2 ...
[commit ec198cd720919e477124ef1cd48a8817ec1a5444]

Wednesday, June 24, 2015

LACP PDU processing update - 1: link LACP PDU processing routine with module message queue

Added changes in LACP module to connect the #message #queue with #PDU #processing routine. This will extract the LACP PDUs added in the message queue and send them to PDU processing routine. This will perform the #aggregator and #member #port related operations based on the #received #LACP #PDU s.

#LACP update 10 ...
[commit 6f3b40b819e9b87dd223d058a6523ea33ee7af88]

Wednesday, May 27, 2015

LACP update - 9: LACP incoming PDU receive

Created a #message #queue in LACP module for #handling #LACP #PDU s. This will enable #HAL module to #trap the #LACP #PDU s from #ports and pass them over to #LACP module as messages for processing. The message library APIs for sending and receiving the messages are used for this purpose. The thread APIs are used to create a #waiting #message #loop in LACP module.

#LACP update 9 ...
[commit cd26cb21872499e77291c808ee98b7f7299d65be]

Monday, May 18, 2015

Lib message update - 1

Added #message #utilities support in the #library. This will enable generic message #PDU #send, #receive and #other miscellaneous #operations support. Corrected thread and synchronization utilities accordingly for messaging operations.

#Lib update 5 ...
[commit e4e2b0583bd279b3115c066cf4652e8807c45e67]