-
Notifications
You must be signed in to change notification settings - Fork 521
Some questions regarding buffer rings #1431
noteflakes
started this conversation in
General
-
Hi, I'm exploring the use of buffer rings for sending and receiving bundles. I have a couple of questions:
- Do buffers added to the buffer ring have to be page-aligned or can I use non-aligned buffers as well?
- Is there a possibility to remove buffers from a buffer ring? The use case I'm aiming for is being able to reuse a buffer ring for sending bundles. In the case of an error, or incomplete send, the buffer ring might still contain buffer entries. If I want to reuse it for sending bundles, I'll need to first remove all existing buffers from the ring. Or am I missing anything?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions
Replies: 1 comment
-
- Buffers do not have to be aligned to anything other than what the normal request would require. For send/recv, there are no alignment restrictions.
- If whatever send(s) you have using the ring are not active, then you can manipulate the ring entries as you see fit.
Beta Was this translation helpful? Give feedback.
All reactions
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment