Skip to content

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

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

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
@akscs01
akscs01 force-pushed the sai-tam-flow-telemetry branch from fc1d18f to 2ca4288 Compare July 6, 2026 18:20
@akscs01
akscs01 force-pushed the sai-tam-flow-telemetry branch 2 times, most recently from 36203ae to 8b54056 Compare July 17, 2026 06:04
Define the attribute block for SAI_TAM_TELEMETRY_TYPE_FLOW, which
previously existed as an enum value with no operational attributes.

- 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 8b54056 to b2e23ca Compare July 17, 2026 06:05
@akscs01
akscs01 marked this pull request as ready for review July 17, 2026 10:37
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

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