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 <[email protected]>
@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?

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 <[email protected]>
Signed-off-by: Jonathan DiLorenzo <[email protected]>
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