dope_core/driver/profile.rs
1/// Static sizing and backend behavior used to construct a driver.
2pub trait DriverProfile: 'static {
3 const RING_ENTRIES: u32;
4 const CQ_ENTRIES: u32 = 65536;
5 const DEFER_TASKRUN: bool = true;
6
7 const FIXED_FILE_SLOTS: u32 = 65535;
8 const OUTBOUND_RESERVE: u32 = 256;
9 const PROVIDED_BUF_ENTRIES: u16 = 4096;
10 const PROVIDED_BUF_LEN: usize = 4096;
11
12 const READY_SLOTS: usize = 1024;
13}