Skip to content

Conversation

@marian-pritsak
Copy link
Contributor

No description provided.

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


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