libxlio
libxlio copied to clipboard
issue: 3613619 Avoid posting RX WQEs for Neigh ring
Description
Neigh ring was used only for TX and wasted RX buffers.
What
For Neigh ring we mark this ring as TX only and when QP is created RX WQEs are not posted to it's RQ. This allows saving memory especially for multi process use cases.
Why ?
Avoid waste of memory.
Change type
What kind of change does this PR introduce?
- [ ] Bugfix
- [X] Feature
- [ ] Code style update
- [ ] Refactoring (no functional changes, no api changes)
- [ ] Build related changes
- [ ] CI related changes
- [ ] Documentation content changes
- [ ] Tests
- [ ] Other
Check list
- [X] Code follows the style de facto guidelines of this project
- [X] Comments have been inserted in hard to understand places
- [ ] Documentation has been updated (if necessary)
- [ ] Test has been added (if possible)