Skip to content

Support wildcard write Counters  #612

Description

@duskmoon314

bmv2 (simple_switch_grpc) lacks some p4runtime operations because PI currently does not support them. This issue, similar to #376, is created to discuss wildcard write Counters.

My basic thought is that we can add a loop to write all counter entries instead of only writing one entry when an index is provided. If this is not appropriate, please explain the reason.

I would like to contribute, but I don't fully understand how PI works with bmv2. PI has targets/bmv2, bmv2 has PI, and both have _pi_counter_write. Where should I start to add implementations? And how can I build bmv2 with a modified PI?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions