Skip to content

Commit

Permalink
Updated new int64 platform properties to int32.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathan-dilorenzo committed Apr 24, 2024
1 parent 548d4a3 commit 6a36f97
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions docs/v1/P4Runtime-Spec.mdk
Original file line number Diff line number Diff line change
Expand Up @@ -1305,14 +1305,14 @@ where the `PlatformProperties` message looks as follows:
message PlatformProperties {
// The minimum number of multicast entries (i.e. multicast groups) that the
// platform is required to support. If 0, there are no requirements.
int64 multicast_group_table_size = 1;
int32 multicast_group_table_size = 1;
// The minimum number of replicas that the platform is required to support
// across all groups. If 0, there are no requirements.
int64 multicast_group_table_total_replicas = 2;
int32 multicast_group_table_total_replicas = 2;
// The number of replicas that the platform is required to support per
// group/entry. If 0, `multicast_group_table_total_replicas` should be used.
// Must be no larger than `multicast_group_table_total_replicas`.
int64 multicast_group_table_max_replicas_per_entry = 3;
int32 multicast_group_table_max_replicas_per_entry = 3;
}
~ End Proto

Expand Down
18 changes: 9 additions & 9 deletions go/p4/config/v1/p4info.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions proto/p4/config/v1/p4info.proto
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,14 @@ message Documentation {
message PlatformProperties {
// The minimum number of multicast entries (i.e. multicast groups) that the
// platform is required to support. If 0, there are no requirements.
int64 multicast_group_table_size = 1;
int32 multicast_group_table_size = 1;
// The minimum number of replicas that the platform is required to support
// across all groups. If 0, there are no requirements.
int64 multicast_group_table_total_replicas = 2;
int32 multicast_group_table_total_replicas = 2;
// The number of replicas that the platform is required to support per
// group/entry. If 0, `multicast_group_table_total_replicas` should be used.
// Must be no larger than `multicast_group_table_total_replicas`.
int64 multicast_group_table_max_replicas_per_entry = 3;
int32 multicast_group_table_max_replicas_per_entry = 3;
}

// Top-level package documentation describing the forwarding pipeline config
Expand Down
Loading

0 comments on commit 6a36f97

Please sign in to comment.