Skip to content

Commit

Permalink
Merge branch 'sonic-net:main' into work-fix-sai_thrift-import-error
Browse files Browse the repository at this point in the history
  • Loading branch information
vikumarks authored Nov 8, 2024
2 parents c6c5078 + 37984c7 commit 8dc526b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
1 change: 0 additions & 1 deletion dash-pipeline/bmv2/dash_pipeline.p4
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ control dash_ingress(
}

apply {
meta.flow_enabled = false;

#ifndef TARGET_DPDK_PNA
meta.rx_encap.setValid();
Expand Down
14 changes: 8 additions & 6 deletions dash-pipeline/bmv2/stages/pre_pipeline.p4
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,23 @@ control pre_pipeline_stage(inout headers_t hdr,
const default_action = accept;
}

action set_underlay_mac(EthernetAddress neighbor_mac,
EthernetAddress mac) {
action set_internal_config(EthernetAddress neighbor_mac,
EthernetAddress mac,
bit<1> flow_enabled) {
meta.u0_encap_data.underlay_dmac = neighbor_mac;
meta.u0_encap_data.underlay_smac = mac;
meta.flow_enabled = (bool)flow_enabled;
}

/* This table API should be implemented manually using underlay SAI */
/* This table API should be implemented manually using SAI */
@SaiTable[ignored = "true"]
table underlay_mac {
table internal_config {
key = {
meta.appliance_id : ternary;
}

actions = {
set_underlay_mac;
set_internal_config;
}
}

Expand Down Expand Up @@ -120,7 +122,7 @@ control pre_pipeline_stage(inout headers_t hdr,
}

appliance.apply();
underlay_mac.apply();
internal_config.apply();
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,12 @@ The scaling requirement for PL redirect map are listed as below. The metrics are

| Metric | Requirement |
| ------ | ----------- |
| # of ENIs per DPU | 32 |
| # of ENIs per DPU (every 200G) | 32 |
| # of VNET mapping per ENI | 64K |
| # of PPS | 64M |
| VNET mapping change rate (CRUD) | (TBD) |
| # of VNI per ENI | 1 |
| # of MSEE source PA per ENI (v4 + v6, mixed) | 64 |
| # of fast path packets | Same as CPS. 3M per card. |
| # of tunnels | (TBD) |
| # of next hop in each tunnel | (TBD) |

### 4.2. Reliability requirements

Expand Down

0 comments on commit 8dc526b

Please sign in to comment.