Skip to content

HOST_TX_READY_NOTIFY attr changed to set after query capabilities#12

Closed
noaOrMlnx wants to merge 1 commit intomasterfrom
host_tx_ready_notify_callback_change
Closed

HOST_TX_READY_NOTIFY attr changed to set after query capabilities#12
noaOrMlnx wants to merge 1 commit intomasterfrom
host_tx_ready_notify_callback_change

Conversation

@noaOrMlnx
Copy link
Copy Markdown
Owner

What I did
Changed SAI_SWITCH_ATTR_PORT_HOST_TX_READY_NOTIFY callback attribute to be set only after query capabilities approved that CMIS mgmt. feature is enabled.

Why I did it
Before that change, in orchagent/main.cpp, that attribute was set without checking if SAI version is not supporting this feature.
This could cause an issue to unsupported SAI versions with supported SONiC versions.

How I verified it
Made sure all functionality is the same as before, and this attribute set will not break not-supporting SAI versions.

Details if related

@noaOrMlnx noaOrMlnx force-pushed the host_tx_ready_notify_callback_change branch from 03c85dd to 9546d2a Compare March 5, 2024 10:36
@noaOrMlnx noaOrMlnx force-pushed the host_tx_ready_notify_callback_change branch from 9546d2a to 47319dd Compare March 5, 2024 14:17
@noaOrMlnx noaOrMlnx requested a review from keboliu March 6, 2024 11:42
@noaOrMlnx noaOrMlnx closed this Mar 10, 2024
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