Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get register ID from name #518

Closed
simoelazzab opened this issue Sep 3, 2020 · 1 comment
Closed

How to get register ID from name #518

simoelazzab opened this issue Sep 3, 2020 · 1 comment

Comments

@simoelazzab
Copy link

Hello ,
Is there a way to get regiser_id using pi_p4info APIs like pi_p4info_counter_id_from_name for counters ?
The pi_p4info_any_id_from_name API requires a pi_res_type_id_t type but I could not find the type that corresponds to registers.

@antoninbas
Copy link
Member

There is currently no support for registers in PI (and thus in the P4Runtime implementation included in this repo, which relies on the PI library). If you want to contribute any part of the implementation, it would be very welcome.

Closing this issue since it is a duplicate of #376

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

No branches or pull requests

2 participants