Skip to content

Conversation

@jonathan-dilorenzo
Copy link
Contributor

Specifically, clarify that P4Runtime clients are only discouraged from sending ActionProfile members with duplicate actions when using the sum_of_weights group size calculation, since the same may literally not be achievable using the weight field otherwise.

Specifically, clarify that P4Runtime clients are only discouraged from sending ActionProfile members with duplicate actions when using the `sum_of_weights` group size calculation, since the same may literally not be achievable using the `weight` field otherwise.

Signed-off-by: Jonathan DiLorenzo <dilo@google.com>
@smolkaj
Copy link
Member

smolkaj commented Jul 10, 2025

since the same may literally not be achievable using the weight field otherwise.

Could you provide a concrete example? I may be slow to understand, but I'm not seeing it.

@smolkaj
Copy link
Member

smolkaj commented Jul 11, 2025

Did you by any chance sum_of_members rather than sum_of_weights?

Signed-off-by: Jonathan DiLorenzo <dilo@google.com>
Copy link
Collaborator

@chrispsommers chrispsommers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Jonathan DiLorenzo <dilo@google.com>
Signed-off-by: Jonathan DiLorenzo <dilo@google.com>
@jonathan-dilorenzo
Copy link
Contributor Author

@smolkaj and @chrispsommers, are we ready to merge this? Is it blocked on something?

@chrispsommers
Copy link
Collaborator

@smolkaj and @chrispsommers, are we ready to merge this? Is it blocked on something?

@smolkaj Can you resolve your comment and merge? Thanks.

@smolkaj smolkaj merged commit e6fbe05 into main Dec 18, 2025
9 checks passed
@smolkaj smolkaj deleted the jonathan-dilorenzo-patch-1 branch December 18, 2025 20:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants