-
Notifications
You must be signed in to change notification settings - Fork 275
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
[vslib] SAI_KEY_VS_OPER_SPEED_IS_CONFIGURED_SPEED, SAI_PORT_ATTR_HOST_TX_READY_STATUS support #1458
base: master
Are you sure you want to change the base?
[vslib] SAI_KEY_VS_OPER_SPEED_IS_CONFIGURED_SPEED, SAI_PORT_ATTR_HOST_TX_READY_STATUS support #1458
Conversation
5108c19
to
75fcfc2
Compare
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
Signed-off-by: Wataru Ishida <wataru.ishid@gmail.com>
9d0654e
to
93f6805
Compare
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
@kcudnik I have addressed the review comments and rebased onto the master branch. Could you please take a look again? |
@kcudnik Thank you for approving the PR. Could you also merge this? I'm planning to open another PR in the sonic-buildimage repo and want to include this fix in it. |
There are 4 pr which were reverted on master in buldimage because broadcom issues, can we wait to next week after that we will be reverted to avoid conlicts |
@kcudnik sure, no problem. Thank you for letting me know. |
This PR adds two features to
vslib
.SAI_KEY_VS_OPER_SPEED_IS_CONFIGURED_SPEED
: whentrue
,SAI_PORT_ATTR_SPEED
returns the configured speed instead of the value retrieved via/sys/class/net/<name>/speed
.SAI_PORT_ATTR_HOST_TX_READY_STATUS
: always returnstrue
. Required to support runningxcvrd
in the VS env.