-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LACP Mode Support for LAG #79
Conversation
Signed-off-by: root <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I've (1) offered some suggested improvements and (2) pointed out a few possible errors, but I didn't see any definite showstoppers.
* SWITCHLINK_DB_STATUS_ITEM_NOT_FOUND otherwise | ||
*/ | ||
switchlink_db_status_t switchlink_db_update_lag_member_oper_state( | ||
switchlink_db_lag_member_info_t* lag_member_info) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can lag_member_info
be a pointer to const
?
switchlink_db_status_t switchlink_db_update_lag_member_oper_state( | ||
switchlink_db_lag_member_info_t* lag_member_info) { | ||
krnlmon_assert(lag_member_info != NULL); | ||
tommy_node* node = tommy_list_head(&switchlink_db_lag_member_obj_list); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can node
be a pointer to const
?
Signed-off-by: Kumar, Aashish <[email protected]>
Signed-off-by: root <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR includes the code changes done in krnlmon module to support LAG in LACP mode.