-
Notifications
You must be signed in to change notification settings - Fork 475
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
[DASH] Update headers changes due to autogen #2027
base: master
Are you sure you want to change the base?
[DASH] Update headers changes due to autogen #2027
Conversation
Signed-off-by: Marian Pritsak <[email protected]>
/** | ||
* @brief Notification data format received from SAI HA scope callback | ||
*/ | ||
typedef struct _sai_ha_scope_event_data_t | ||
{ | ||
/** Event type */ | ||
sai_ha_scope_event_t event_type; |
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.
such changes will not be backward compatible
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.
if we put this event data at the end, will this be backward compatible?
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.
no xD chanigng struct size will not be backward compatible at all, but if you need to add something, add it at the end
@@ -74,6 +74,8 @@ typedef enum _sai_object_type_extensions_t | |||
|
|||
SAI_OBJECT_TYPE_HA_SCOPE, | |||
|
|||
SAI_OBJECT_TYPE_ROUTING_GROUP, |
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.
similar here adding at the middle
|
||
/** DASH ENI INLINE_FLOW_DELETE_ACK_IGNORED_RECV stat count */ | ||
SAI_ENI_STAT_INLINE_FLOW_DELETE_ACK_IGNORED_RECV, | ||
/** DASH ENI INLINE_FLOW_DELETE_ACK_IGNORED stat count */ |
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.
changing enums names also wil not be backward compatible
Yea, we need to at least get this change in before the generator produces non-compatible code: sonic-net/DASH#578. It is pending on sonic-net/DASH#576, which is pending on sonic-net/DASH#577. |
No description provided.