commit | bb2e7bd08521fe470902dfab3d40d1b067ef4514 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Sun Feb 18 15:28:56 2024 -0700 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Feb 18 15:28:56 2024 -0700 |
tree | fd702f1ae1a8e54f44d7dfae24a496fa440593bc | |
parent | 49db21796512b93c8f1684f23a37eeae61622c0a [diff] |
examples/proxy: move some of the tricky cqe -> buffer conversion to helpers Add replenish_buffer() which deals with adding a buffer back, and clean up the argument passing around it. This gets all of this out of the generic handling code, so it's easier to read. Signed-off-by: Jens Axboe <axboe@kernel.dk>