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

Add SAI_ACL_ENTRY_ATTR_FIELD_VRF_ID and SAI_ACL_ENTRY_ATTR_FIELD_IPMC_NPU_META_DST_HIT match qualifiers for acl table #1952

Merged
merged 1 commit into from
Feb 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 39 additions & 2 deletions inc/saiacl.h
Original file line number Diff line number Diff line change
Expand Up @@ -1514,10 +1514,28 @@ typedef enum _sai_acl_table_attr_t
*/
SAI_ACL_TABLE_ATTR_FIELD_INNER_DST_MAC = SAI_ACL_TABLE_ATTR_FIELD_START + 0x15c,

/**
* @brief VRF_ID
*
* @type bool
* @flags CREATE_ONLY
* @default false
*/
SAI_ACL_TABLE_ATTR_FIELD_VRF_ID = SAI_ACL_TABLE_ATTR_FIELD_START + 0x15d,

/**
* @brief IPMC_TABLE_HIT fields.
*
* @type bool
* @flags CREATE_ONLY
* @default false
*/
SAI_ACL_TABLE_ATTR_FIELD_IPMC_NPU_META_DST_HIT = SAI_ACL_TABLE_ATTR_FIELD_START + 0x15e,

/**
* @brief End of ACL Table Match Field
*/
SAI_ACL_TABLE_ATTR_FIELD_END = SAI_ACL_TABLE_ATTR_FIELD_INNER_DST_MAC,
SAI_ACL_TABLE_ATTR_FIELD_END = SAI_ACL_TABLE_ATTR_FIELD_IPMC_NPU_META_DST_HIT,

/**
* @brief ACL table entries associated with this table.
Expand Down Expand Up @@ -2568,10 +2586,29 @@ typedef enum _sai_acl_entry_attr_t
*/
SAI_ACL_ENTRY_ATTR_FIELD_INNER_DST_MAC = SAI_ACL_ENTRY_ATTR_FIELD_START + 0x15c,

/**
* @brief VRF_ID
*
* @type sai_acl_field_data_t sai_object_id_t
* @flags CREATE_AND_SET
* @objects SAI_OBJECT_TYPE_VIRTUAL_ROUTER
* @default disabled
*/
SAI_ACL_ENTRY_ATTR_FIELD_VRF_ID = SAI_ACL_ENTRY_ATTR_FIELD_START + 0x15d,

/**
* @brief IPMC_TABLE_HIT
*
* @type sai_acl_field_data_t bool
* @flags CREATE_AND_SET
* @default disabled
*/
SAI_ACL_ENTRY_ATTR_FIELD_IPMC_NPU_META_DST_HIT = SAI_ACL_ENTRY_ATTR_FIELD_START + 0x15e,

/**
* @brief End of Rule Match Fields
*/
SAI_ACL_ENTRY_ATTR_FIELD_END = SAI_ACL_ENTRY_ATTR_FIELD_INNER_DST_MAC,
SAI_ACL_ENTRY_ATTR_FIELD_END = SAI_ACL_ENTRY_ATTR_FIELD_IPMC_NPU_META_DST_HIT,

/*
* Actions [sai_acl_action_data_t]
Expand Down
Loading