network: gigabit performance tuning

This commit is contained in:
alex committed 2024-03-04 07:04:32 +00:00
1 parent 25a02f5491
commit c9c071dd8e
7 files changed
+49 -51

No files matched your search

+2 -2
View File
@@ -33,8 +33,8 @@ use super::key::NatKey;
use super::key::NatKeyProtocol;
use super::table::NatTable;
const RECLAIM_CHANNEL_QUEUE_LEN: usize = 10;
const RECEIVE_CHANNEL_QUEUE_LEN: usize = 1000;
const RECEIVE_CHANNEL_QUEUE_LEN: usize = 3000;
const RECLAIM_CHANNEL_QUEUE_LEN: usize = 30;
pub struct NatProcessor {
mtu: usize,