Skip to content

Commit

Permalink
minor update.
Browse files Browse the repository at this point in the history
  • Loading branch information
r12f committed Mar 11, 2024
1 parent 592d2c0 commit ee2e49f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion dash-pipeline/bmv2/dash_metadata.p4
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ enum bit<16> dash_direction_t {

enum bit<8> dash_packet_source_t {
EXTERNAL = 0, // Packets from external sources.
DPAPP = 1 // Packets from data plane app.
DPAPP = 1, // Packets from data plane app.
PEER = 2 // Packets from the paired DPU.
};

enum bit<8> dash_packet_type_t {
Expand Down
6 changes: 3 additions & 3 deletions documentation/high-avail/ha-api-hld.md
Original file line number Diff line number Diff line change
Expand Up @@ -337,9 +337,9 @@ To support the flow HA, due to the nature of having different type of packets, s
```c
// Packet source
enum bit<8> dash_packet_source_t {
EXTERNAL = 0,
DPAPP = 1,
PEER = 2,
EXTERNAL = 0, // Packets from external sources.
DPAPP = 1, // Packets from data plane app.
PEER = 2 // Packets from the paired DPU.
};
// Packet type
Expand Down

0 comments on commit ee2e49f

Please sign in to comment.