Skip to content

Add SAI TAM per-flow telemetry (TELEMETRY_TYPE_FLOW)#2315

Draft
akscs01 wants to merge 1 commit into
opencomputeproject:masterfrom
akscs01:sai-tam-flow-telemetry
Draft

Add SAI TAM per-flow telemetry (TELEMETRY_TYPE_FLOW)#2315
akscs01 wants to merge 1 commit into
opencomputeproject:masterfrom
akscs01:sai-tam-flow-telemetry

Conversation

@akscs01

@akscs01 akscs01 commented Jul 6, 2026

Copy link
Copy Markdown

Define the attribute block for SAI_TAM_TELEMETRY_TYPE_FLOW, which previously existed as an enum value with no operational attributes.

  • saitam.h: add SAI_TAM_TEL_TYPE_ATTR_FLOW_REPORT_INTERVAL_US to configure per-flow streaming cadence (conditional on FLOW type).
  • saiswitch.h: add switch-level attributes for hardware autonomous flow learning: TAM_FLOW_AUTO_LEARN_ENABLE, _AGING_TIME_S, and the read-only _FAILURES counter.
  • doc: add SAI-TAM-Flow-Telemetry.md describing the design, IPFIX record schema, cleanup semantics, and sample workflow.

Operator-configured flows reuse the existing ACL TAM_OBJECT action; COUNTER_SUBSCRIPTION telemetry is unchanged.

@akscs01 akscs01 marked this pull request as draft July 6, 2026 18:15
Define the attribute block for SAI_TAM_TELEMETRY_TYPE_FLOW, which
previously existed as an enum value with no operational attributes.

- saitam.h: add SAI_TAM_TEL_TYPE_ATTR_FLOW_REPORT_INTERVAL_US to
  configure per-flow streaming cadence (conditional on FLOW type).
- saiswitch.h: add switch-level attributes for hardware autonomous
  flow learning: TAM_FLOW_AUTO_LEARN_ENABLE, _AGING_TIME_S, and the
  read-only _FAILURES counter.
- doc: add SAI-TAM-Flow-Telemetry.md describing the design, IPFIX
  record schema, cleanup semantics, and sample workflow.

Operator-configured flows reuse the existing ACL TAM_OBJECT action;
COUNTER_SUBSCRIPTION telemetry is unchanged.

Signed-off-by: Aakash Kumar S <saakashkumar@marvell.com>
@akscs01 akscs01 force-pushed the sai-tam-flow-telemetry branch from fc1d18f to 2ca4288 Compare July 6, 2026 18:20
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.

2 participants