2025-10-30 14:26:27 -04:00
|
|
|
#include "stagingBuffer.h"
|
|
|
|
|
|
|
|
|
|
namespace smo {
|
|
|
|
|
namespace stim_buff {
|
|
|
|
|
|
2025-10-30 17:53:58 -04:00
|
|
|
// Static defaults for io_uring
|
2025-10-30 14:26:27 -04:00
|
|
|
const StagingBuffer::InputEngineConstraints
|
2025-10-30 17:53:58 -04:00
|
|
|
StagingBuffer::InputEngineConstraints::ioUringConstraints(
|
|
|
|
|
4096, // slotStartAlignmentByteVal (page alignment for DMA)
|
|
|
|
|
1472 // slotPadToNBytes (MTU 1500 - UDP/IP header 28)
|
|
|
|
|
);
|
2025-10-30 14:26:27 -04:00
|
|
|
|
|
|
|
|
} // namespace stim_buff
|
|
|
|
|
} // namespace smo
|
|
|
|
|
|
2025-10-25 14:44:43 -04:00
|
|
|
|