From f7ba80d80df0d1fc955247079bbfb77e731a00f3 Mon Sep 17 00:00:00 2001 From: Jonathan DiLorenzo Date: Thu, 8 Feb 2024 22:48:41 +0000 Subject: [PATCH] First attempt at supporting multicast resource guarantees. --- proto/p4/config/v1/p4info.proto | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/proto/p4/config/v1/p4info.proto b/proto/p4/config/v1/p4info.proto index ed548cec..71a7e089 100644 --- a/proto/p4/config/v1/p4info.proto +++ b/proto/p4/config/v1/p4info.proto @@ -73,6 +73,15 @@ message PkgInfo { string url = 8; // Miscellaneous metadata, structured; a way to extend PkgInfo repeated StructuredAnnotation structured_annotations = 9; + // Max number of multicast entries (i.e. multicast groups). + // If 0, there are no known guarantees. + int64 multicast_table_size = 11; + // The total number of replicas available across all groups. + // If 0, there are no known guarantees. + int64 multicast_table_max_replicas = 12; + // The maximum number of replicas that can be used per group/entry. + // If 0, `multicast_table_max_replicas` should be used. + int64 multicast_table_max_replicas_per_entry = 13; } // wrapping the enum in a message to avoid name collisions in C++, where "enum