Skip to content

Commit

Permalink
Fix build issue in SAI P4
Browse files Browse the repository at this point in the history
  • Loading branch information
rkavitha-hcl committed Jun 22, 2024
1 parent d7685c8 commit 0ebb12d
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions sai_p4/instantiations/google/sai_pd.proto
Original file line number Diff line number Diff line change
Expand Up @@ -595,35 +595,6 @@ message AclIngressSecurityTableEntry {
bytes controller_metadata = 8;
}

// Table entry restrictions:
// dscp::mask != 0 -> (is_ip == 1 || is_ipv4 == 1 || is_ipv6 == 1);
// ## Forbid illegal combinations of IP_TYPE fields.
// is_ip::mask != 0 -> (is_ipv4::mask == 0 && is_ipv6::mask == 0);
// is_ipv4::mask != 0 -> (is_ip::mask == 0 && is_ipv6::mask == 0);
// is_ipv6::mask != 0 -> (is_ip::mask == 0 && is_ipv4::mask == 0);
// ## Forbid unsupported combinations of IP_TYPE fields.
// is_ipv4::mask != 0 -> (is_ipv4 == 1);
// is_ipv6::mask != 0 -> (is_ipv6 == 1);
message AclIngressCountingTableEntry {
message Match {
Optional is_ip = 1; // optional match / Format::HEX_STRING / 1 bits
Optional is_ipv4 = 2; // optional match / Format::HEX_STRING / 1 bits
Optional is_ipv6 = 3; // optional match / Format::HEX_STRING / 1 bits
Ternary dscp = 11; // ternary match / Format::HEX_STRING / 6 bits
Ternary route_metadata = 18; // ternary match / Format::HEX_STRING / 6 bits
}
Match match = 1;
message Action {
AclCountAction acl_count = 3;
}
Action action = 2;
int32 priority = 3;
BytesMeterConfig meter_config = 4;
BytesAndPacketsCounterData counter_data = 6;
MeterBytesAndPacketsCounterData meter_counter_data = 9;
bytes controller_metadata = 8;
}

// -- Actions ------------------------------------------------------------------

message SetDstMacAction {
Expand Down

0 comments on commit 0ebb12d

Please sign in to comment.