|
| | ZeroCopyRxBufferPool (uint32_t if_idx, uint32_t if_rxq, uint32_t rq_entries, const ZeroCopyRxArea &area) |
| | Construct a new Zero Copy Rx Buffer Pool object.
|
| | ZeroCopyRxBufferPool (Runtime &runtime, uint32_t if_idx, uint32_t if_rxq, uint32_t rq_entries, const ZeroCopyRxArea &area) |
| | Construct a new Zero Copy Rx Buffer Pool object.
|
| | ZeroCopyRxBufferPool (uint32_t if_idx, uint32_t if_rxq, uint32_t rq_entries, const ZeroCopyRxDMABufArea &area) |
| | Construct a new Zero Copy Rx Buffer Pool object.
|
| | ZeroCopyRxBufferPool (Runtime &runtime, uint32_t if_idx, uint32_t if_rxq, uint32_t rq_entries, const ZeroCopyRxDMABufArea &area) |
| | Construct a new Zero Copy Rx Buffer Pool object.
|
Buffer pool for zero-copy receive buffers.
This buffer pool utilizes the io_uring zcrx feature to provide zero-copy receive buffers. It can be used to receive data directly into user-space buffers without copying, which can improve performance for high-throughput network applications.
- Returns
- std::pair<int32_t, ZeroCopyRxBuffer> When passed to async operations, the return type will be a pair of the operation result and the ZeroCopyRxBuffer.
- Note
- The lifetime of this pool must not exceed the running period of the associated Runtime, and the lifetime of any ZeroCopyRxBuffer obtained from this pool must not exceed the lifetime of this pool.
Definition at line 67 of file zcrx.hpp.