network: gigabit performance tuning

This commit is contained in:
Alex Zenla
2024-03-04 07:04:32 +00:00
parent 25a02f5491
commit c9c071dd8e
7 changed files with 49 additions and 51 deletions

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,