Skip to content

Adding custom range base values#2179

Merged
tjchadaga merged 2 commits intoopencomputeproject:masterfrom
pdhruv-marvell:adding_custom_range_base_value
Jul 16, 2025
Merged

Adding custom range base values#2179
tjchadaga merged 2 commits intoopencomputeproject:masterfrom
pdhruv-marvell:adding_custom_range_base_value

Conversation

@pdhruv-marvell
Copy link
Copy Markdown
Contributor

Title:
Add missing CUSTOM_RANGE_BASE values to enum definitions

Description:
This PR fixes an issue where the CUSTOM_RANGE_BASE value was missing from some enum types/stats.Specifically, the following additions were made:

  • Added SAI_SWITCH_STAT_CUSTOM_RANGE_BASE = 0x10000000 to sai_switch_stat_t
  • Added SAI_ACL_TABLE_SUPPORTED_MATCH_TYPE_CUSTOM_RANGE_BASE = 0x10000000 to sai_acl_table_supported_match_type_t
  • Added SAI_TAM_REPORT_MODE_CUSTOM_RANGE_BASE = 0x10000000 to sai_tam_report_mode_t

Why:
These enum types lacked defined custom range base values, making it impossible to use extended or custom values reliably.

Signed-off-by: Dhruvkumar Patel <pdhruvkumarr@marvell.com>
@kcudnik
Copy link
Copy Markdown
Collaborator

kcudnik commented Jun 20, 2025

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@rck-innovium
Copy link
Copy Markdown
Contributor

@kcudnik @tjchadaga Can this PR be merged or does it need to be discussed in the SAI community meeting? This PR is just defining the missing CUSTOM RANGE BASE.

@tjchadaga
Copy link
Copy Markdown
Collaborator

@rck-innovium, @pdhruv-marvell - we can just go ahead and merge this. Please resolve branch conflicts

@pdhruv-marvell
Copy link
Copy Markdown
Contributor Author

@tjchadaga - Branch conflict resolved

@tjchadaga
Copy link
Copy Markdown
Collaborator

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@tjchadaga tjchadaga merged commit d5007d8 into opencomputeproject:master Jul 16, 2025
3 checks passed
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.

4 participants