Recent Commits to NES-Open-Switch:master

Showing posts with label member. Show all posts
Showing posts with label member. Show all posts

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)

Friday, February 5, 2016

LAG upgrade - 27: updating member port activation handler

Updating the #member #port #activation handler in LAG module. The references to the augmented custom member port data-structures has been updated to the standard member port data-structures. This allows to directly use the #standard #member #port data-structure and use the #embedded custom member port data-structure for internal operations. The #status related parameters are kept in the custom data-structure and on member port status #change these are updated as #active / #not-in-service. When ports are not ready to participate in the normal operations because of inconsistency in the applied configuration the state is set as #not-ready.

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

Thursday, February 4, 2016

LAG upgrade - 26: cleaning up LAG management framework for data-structure changes

Added miscellaneous changes in #management #framework in LAG module. #Cleaned up #aggregator #activation handler and added #initialized aggregator #parameters with their #default values. Corrected standard #extended #member #port #iterator routine to provide reference to the standard member port, so that extended parameters embedded in them can be accessed in the mapper routine. Corrected #member #port #create #API to create #statistics, #debug and #extended port #data-structures as part of the member port creation. Corrected #aggregator #create #API to create the #member port #list as part of aggregator creation.

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

Thursday, January 21, 2016

LAG upgrade - 24: removing custom member port create API

Removed #custom #member #port #create / #remove API in LAG module. The custom member port entries are #embedded in the #standard #member #port entries and the standard member port create / remove API already handles the required functionality. Hence the redundant external API is being removed.

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

Wednesday, January 20, 2016

LAG upgrade - 23: updating custom member port parameters agent mapper routines

Updated #custom #member #port parameters 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 member list embedded in the member port and there by removing the redundant indexing. The custom member port entries holds the attributes like the #port-aggregator-group, #LACP-enable, #LACP-passive-enable, #LACP-slow-timer-enable, #dynamic-key-management-enable, etc ...

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

Thursday, December 31, 2015

LAG upgrade - 20: optimizing custom member port parameter entries

Updated #custom #member #port #parameter 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 custom member port entries by using the #native #indexing. This removes references to the custom member port indexing used earlier. The custom member port parameter entries has been embedded in the standard member port entries. The custom aggregator parameter entries holds the #attributes like the #port-aggregator-group, #LACP-enable, #LACP-passive-enable, #LACP-slow-timer-enable, #dynamic-key-management-enable, etc ...

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

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)

Sunday, December 20, 2015

LAG upgrade - 17: updating member port debug parameters agent mapper routines

Updated #member #port #debug parameters 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 member list embedded in the member port and there by removing the redundant indexing.

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

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)

Sunday, December 6, 2015

LAG upgrade - 14: optimizing member port debug parameter entries

Updated #member #port #debug agent routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use member port based #indexing. This will access the port debug parameters embedded in the member port and there by removing the redundant indexing. The member port statistics include #rx-state, #mux-state, #actor-churn-state, #partner-churn-state and various actor and partner debug counters.

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

Thursday, December 3, 2015

LAG upgrade - 13: updating member port agent mapper routines

Updated #member #port agent mapper routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use member port based #indexing. This will access the port entries by using the #native #indexing. This removes references to the augmented data-structures used earlier.

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

Wednesday, December 2, 2015

LAG upgrade - 12: optimizing member port statistics parameter entries

Updated #member #port #statistics agent routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use member port based #indexing. This will access the port statistics embedded in the member port and there by removing the redundant indexing. Corrected minor member list iterator routine issues. The member port statistics include #rx-count for #LACP-PDU s, #marker-PDU s, #marker-response-PDU s, #unknown-PDUs and #illeagal-PDU s. It maintains #tx-count for #LACP-PDU s, #marker-PDUs and #marker-response-PDU s.

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

Friday, November 27, 2015

LAG upgrade - 11: updating member port list agent mapper routines

Updated #member #port #list agent routines in LAG module. The agent #iterator routines and #mapper #routine has been updated to use #aggregator #based #indexing. This will access the member list embedded in the aggregator and there by removing the redundant indexing.

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

Tuesday, November 24, 2015

LAG upgrade - 10: optimizing member port configuration entries

Hard-linked #member #port #list #configuration in LAG module. The member port list has been #embedded in the #standard #aggregator configuration #entries. This removes the redundant indexing scheme and optimizes the memory used by the member port list entries. The member port list is a #single #entry corresponding to each #aggregator #port, it contains a #bit-map of member port #interface-indexes. For #scalability reasons this data-structure is #not #used any more and the #custom #member #port list is used which can be used in all cases.

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

Monday, November 23, 2015

LAG upgrade - 9: member port API update

Updated #external #create / #remove #API for #member #ports in LAG module. Removed references to augmented data-structures from these routines. The external #create API creates the member port configuration entry and it's #associated #data-structures like port #statistics and #debugging parameters. The #custom member port parameter entries and #extended configuration entries are also #instantiated along with the create operation. On the #remove call these #dependent #structures are #removed first followed by the member port itself.

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

Sunday, November 22, 2015

LAG upgrade - 8: optimizing standard member port parameter entries

Added #new #indexing for #member #ports in LAG module. Updated #native #create / #remove #routines for the new indexing. Removed dependency on the augmented data-structure on these routines and updated for #default #indexing.

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

Saturday, November 14, 2015

LAG update - 5: starting framework upgrade

#Upgrading the #agent #framework for #aggregator and #member #ports in LAG module. Added new upgraded data-structures for aggregator and member ports for upgrade.

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

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]

Thursday, June 18, 2015

LAG update - 3: member port status update

Updated #member #port #status #API in LAG module. #Moved the member port status API from internal headers #to #external #header s. This will make status update operation independent of LAG internal data-structures.

#LAG update 11 ...
[commit 576b89ec9294d46997cbf2d7c5a860f2ab30a182]

Tuesday, May 26, 2015

LAG logical port update - 2

Added changes in lag module for handling the #lag #aggregator #logical #interface #status #change s. Similar status handler has been added for #lag #member #port s as well. When member port status is changed in other modules (e.g. ethernet) it will cascaded to lag module. The member port status changes may cause aggregator port status change as well. This will enable lag module to perform aggregator specific operations to be performed on relation with the member port status change.

#LAG update 9 ...
[commit 58cf74e3070a523621f97d5b1a0ad465fcedc08b]