diff --git a/drivers/net/mmnif.c b/drivers/net/mmnif.c index ed702f3f..616652cc 100644 --- a/drivers/net/mmnif.c +++ b/drivers/net/mmnif.c @@ -85,7 +85,7 @@ static int active = 0; /* decide wheter it's uses locking or not */ -static int disable_locking = 1; +static int disable_locking = 0; /* decide whether deliver work to a worker thread or instantly process all packets */ diff --git a/include/metalsvm/config.h b/include/metalsvm/config.h index f70fdd4c..15a222af 100644 --- a/include/metalsvm/config.h +++ b/include/metalsvm/config.h @@ -35,7 +35,7 @@ extern "C" { #define PAGE_SHIFT 12 #define CACHE_LINE 64 #define MAILBOX_SIZE 8 -#define TIMER_FREQ 100 /* in HZ */ +#define TIMER_FREQ 1000 /* in HZ */ #define CLOCK_TICK_RATE 1193182 /* 8254 chip's internal oscillator frequency */ #define INT_SYSCALL 0x80 #define KERNEL_SPACE (1*1024*1024*1024)