From d05a33c3ca0ebf0ad67576f061887e571b0ed627 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 24 Apr 2024 11:55:33 -0400 Subject: [PATCH] Set the default queue count to 10 --- src/args/protomask.rs | 2 +- src/args/protomask_clat.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/args/protomask.rs b/src/args/protomask.rs index 1383491..2c717d9 100644 --- a/src/args/protomask.rs +++ b/src/args/protomask.rs @@ -96,7 +96,7 @@ pub struct Config { pub reservation_timeout: u64, /// Number of queues to create on the TUN device - #[clap(long, default_value = "1")] + #[clap(long, default_value = "10")] #[serde(rename = "queues")] pub num_queues: usize, } diff --git a/src/args/protomask_clat.rs b/src/args/protomask_clat.rs index ba3357e..a9d7cec 100644 --- a/src/args/protomask_clat.rs +++ b/src/args/protomask_clat.rs @@ -84,7 +84,7 @@ pub struct Config { pub embed_prefix: Ipv6Net, /// Number of queues to create on the TUN device - #[clap(long, default_value = "1")] + #[clap(long, default_value = "10")] #[serde(rename = "queues")] pub num_queues: usize, }