Forward and hold packets (#15634)
This commit is contained in:
@ -7,9 +7,8 @@ use std::net::SocketAddr;
|
||||
|
||||
pub const NUM_PACKETS: usize = 1024 * 8;
|
||||
|
||||
pub const PACKETS_PER_BATCH: usize = 256;
|
||||
pub const PACKETS_PER_BATCH: usize = 128;
|
||||
pub const NUM_RCVMMSGS: usize = 128;
|
||||
pub const PACKETS_BATCH_SIZE: usize = PACKETS_PER_BATCH * PACKET_DATA_SIZE;
|
||||
|
||||
#[derive(Debug, Default, Clone)]
|
||||
pub struct Packets {
|
||||
|
Reference in New Issue
Block a user