Skip to content

[sairedis] Meta changes for voq system ports#1

Open
vganesan-nokia wants to merge 2 commits into
masterfrom
voq1
Open

[sairedis] Meta changes for voq system ports#1
vganesan-nokia wants to merge 2 commits into
masterfrom
voq1

Conversation

@vganesan-nokia
Copy link
Copy Markdown
Owner

@vganesan-nokia vganesan-nokia commented Aug 18, 2020

The changes include (1) Meta layer changes for handling system port config list and system port config attributes of voq system port SAI object (2) syncd get response time increase to 5 minutes

Comment thread lib/src/sai_redis_fdb.cpp
REDIS_GENERIC_QUAD_ENTRY(FDB_ENTRY,fdb_entry);
REDIS_BULK_QUAD_ENTRY(FDB_ENTRY,fdb_entry);

// TODO remove when test corrected (SAI pointer must be advanced for this)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file changes needed part of first PR

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. I'll remove this change from this PR

Comment thread syncd/FlexCounter.cpp Outdated
MUTEX_UNLOCK; // explicit unlock

// nothing to collect, wait until notified
if (m_runFlexCounterThread) {
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want this changes as well?

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bug fix we made for a race condition. This is not part of the voq implementation. We observed that sometimes, orchagent will be stuck due to dead lock. This happens in our box. May not be problem with vs or other vendors. I'll remove this fix from this PR.

Comment thread syncd/tests.cpp


// TODO remove when SAI will introduce bulk APIs to those objects
sai_status_t sai_bulk_create_fdb_entry(
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you want these changes again ?.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. This is not part of voq implementation. I'll remove this change from this PR.

Signed-off-by: vedganes <vedavinayagam.ganesan@nokia.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants