Create API for fast linkup configuration.#2203
Conversation
0693a69 to
a62e203
Compare
|
@prgeor Can you help review? |
c5c2e4a to
f69d599
Compare
| * @type sai_u16_range_t | ||
| * @flags READ_ONLY | ||
| */ | ||
| SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME_RANGE, |
There was a problem hiding this comment.
@iamjustadd What is the use case for this? How many samples will be used to derive the past link up time?
There was a problem hiding this comment.
@iamjustadd What is the use case for this? How many samples will be used to derive the past link up time?
SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME_RANGE is used to obtain the range that can be used for configuration of SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME. Please clarify regarding the "samples" question
There was a problem hiding this comment.
User should call SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME_RANGE before set FAST_LINKUP_POLLING_TIME. Different vendor may got different range.
There was a problem hiding this comment.
User should call SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME_RANGE before set FAST_LINKUP_POLLING_TIME. Different vendor may got different range.
correct. It is the purpose of SAI_SWITCH_ATTR_FAST_LINKUP_POLLING_TIME_RANGE
| /** | ||
| * @brief Time (in secs) during which the link must be UP and have the BER below the level configured with SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIME_BER to have the next linkup as fast link-up | ||
| * | ||
| * If either link failures or high BER event happen during the configured time then full link-up flow (not fast) will be used for next link-up. |
There was a problem hiding this comment.
@iamjustadd Which is the "configured time" referring to here?
There was a problem hiding this comment.
@iamjustadd Which is the "configured time" referring to here?
SAI_SWITCH_ATTR_FAST_LINKUP_GUARD_TIME
46db2be to
bc82fce
Compare
bc82fce to
8f84bcf
Compare
8f84bcf to
62b4c9b
Compare
f8f9e35 to
0694b31
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
@iamjustadd build failure. please fix |
0694b31 to
0851a8f
Compare
Please help review on this. Thanks. |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
0851a8f to
7eb56d2
Compare
|
/azp run |
|
Commenter does not have sufficient privileges for PR 2203 in repo opencomputeproject/SAI |
7eb56d2 to
9658eeb
Compare
Signed-off-by: Martin Liao <marliao@marliao-mlt.client.nvidia.com>
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Martin Liao <marliao@marliao-mlt.client.nvidia.com> Co-authored-by: Martin Liao <marliao@marliao-mlt.client.nvidia.com>
Hi team,
This PR is for creating SAI API for FR fast linkup.