-
Notifications
You must be signed in to change notification settings - Fork 0
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
CPU level UDP packet counter #4
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the updates, I have one comment.
Another comment/question. Then we should have |
Yes... kind of. It's redundant with 120-edge frame drops as long as long as samples can only be dropped in complete packets. I think there are also some race conditions in the code which would mean these counters aren't completely redundant, but I believe those are much more unlikely to be triggered. |
3e027aa
to
bac5003
Compare
This reverts commit 67894a0.
bac5003
to
b44adbe
Compare
I'm fine merging this code on the beaglebone side. However, I believe the agent code branch needs to be updated as well before we do that. Currently, when I look at the |
There is currently a PR here that adds that support: simonsobs/socs#647 I think there are possibly some issues remaining, but I was having some trouble emulating irig data packets locally which is why I ended up putting it on hold. I think it would still be good to get this working though. |
Add CPU level UDP packet counter to the HWP encoder.
To identify whether we are dropping the hwp encoder packet at PRU->CPU level or at network level (UDP packet loss), we add the CPU level packet counter. The
counter_index
is indexed at the PRU level.This has not been tested yet. We need to use an updated Encoder Agent together.