-
Notifications
You must be signed in to change notification settings - Fork 191
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
Questions about examples/digest_messages #25
Comments
Hi @butuizd
device_id is the switch id, ctx_id, list_id and buffer_id somehow identify the digested packet. And it needs to be used to acknowledge it to the switch https://github.com/nsg-ethz/p4-learning/blob/master/examples/digest_messages/get_digest.py#L29 num is the number of aggregated digests.
If you want a different behaviour, use copy to cpu.
|
Thanks a lot @edgar-costa . If I use the p4runtime API, whether I can process the digest message in controller more easily ,which means I don't have to care the fields such as |
Well, then, all good! Our new version of p4-utils, will have a P4runtime based controller. |
I have 3 questions.
simple_switch
add several messages to a digest message? If it will, how can I make the switch send one message at a time instead several messages?bm_learning_ack_buffer()
do? And where can I get the information about it?The text was updated successfully, but these errors were encountered: