Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

marian-pritsak
Copy link
Contributor

No description provided.

/**
* @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;
Copy link
Collaborator

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

Copy link
Contributor

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?

Copy link
Collaborator

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,
Copy link
Collaborator

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 */
Copy link
Collaborator

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

@r12f
Copy link
Contributor

r12f commented Jun 7, 2024

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.

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.

3 participants