Skip to content

Commit

Permalink
Change typo
Browse files Browse the repository at this point in the history
Signed-off-by: Ze Gan <[email protected]>
  • Loading branch information
Pterosaur committed Oct 28, 2024
1 parent c4703a7 commit 0f29644
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
17 changes: 2 additions & 15 deletions doc/TAM/SAI-Proposal-TAM-stream-telemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ packet-beta

#### IPFIX data

An IPFIX data message consists of two hierarchical levels: bulk and snapshots. A bulk contains multiple snapshots, and a snapshot is a binary block that can be interpreted using the IPFIX template mentioned above.
An IPFIX data message consists of a snapshot that is a binary block that can be interpreted using the IPFIX template mentioned above.

The binary structure of a snapshot is as follows:

Expand All @@ -223,10 +223,9 @@ packet-beta
160-191: "Data N + 1: Stats N"
```

- The bulk count can be configured via SAI.
- The snapshot structure is derived from the IPFIX template, which is based on the stats we want to record.

Below is an example of an IPFIX message for the same stats record as the IPFIX template example, with a bulk count of 3:
Below is an example of an IPFIX message for the same stats record as the IPFIX template example:

``` mermaid
Expand All @@ -245,18 +244,6 @@ packet-beta
224-287: "Port 1: SAI_PORT_STAT_IF_IN_ERRORS = 10"
288-351: "Port 2: SAI_PORT_STAT_IF_IN_ERRORS = 0"
352-415: "Port 3: SAI_PORT_STAT_IF_IN_ERRORS = 5"
416-431: "Set ID = 256"
432-447: "Set Length = 32 bytes"
448-511: "observationTimeNanoseconds = 20000"
512-575: "Port 1: SAI_PORT_STAT_IF_IN_ERRORS = 15"
576-639: "Port 2: SAI_PORT_STAT_IF_IN_ERRORS = 0"
640-703: "Port 3: SAI_PORT_STAT_IF_IN_ERRORS = 6"
704-719: "Set ID = 256"
720-735: "Set Length = 32 bytes"
736-799: "observationTimeNanoseconds = 30000"
800-863: "Port 1: SAI_PORT_STAT_IF_IN_ERRORS = 20"
864-927: "Port 2: SAI_PORT_STAT_IF_IN_ERRORS = 0"
928-991: "Port 3: SAI_PORT_STAT_IF_IN_ERRORS = 8"
```

#### Netlink message
Expand Down
2 changes: 1 addition & 1 deletion doc/TAM/netlink_dma_channel.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 0f29644

Please sign in to comment.