Skip to content

Commit

Permalink
Removing not needed things in the counter name.
Browse files Browse the repository at this point in the history
  • Loading branch information
r12f committed Jan 9, 2024
1 parent 77a14f0 commit df28ea3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dash-pipeline/bmv2/dash_pipeline.p4
Original file line number Diff line number Diff line change
Expand Up @@ -286,9 +286,9 @@ control dash_ingress(
// MAX_METER_BUCKET = MAX_ENI(64) * NUM_BUCKETS_PER_ENI(4096)
#define MAX_METER_BUCKETS 262144
#ifdef TARGET_BMV2_V1MODEL
@SaiCounter[name="outbound_bytes_counter", action_names="meter_bucket_action", as_attr="true"]
@SaiCounter[name="outbound", action_names="meter_bucket_action", as_attr="true"]
counter(MAX_METER_BUCKETS, CounterType.bytes) meter_bucket_outbound;
@SaiCounter[name="inbound_bytes_counter", action_names="meter_bucket_action", as_attr="true"]
@SaiCounter[name="inbound", action_names="meter_bucket_action", as_attr="true"]
counter(MAX_METER_BUCKETS, CounterType.bytes) meter_bucket_inbound;
#endif // TARGET_BMV2_V1MODEL
action meter_bucket_action(@SaiVal[type="sai_uint32_t", skipattr="true"] bit<32> meter_bucket_index) {
Expand Down

0 comments on commit df28ea3

Please sign in to comment.