benchmark
This commit is contained in:
parent
fcac7e2be3
commit
1bccbd74b3
2 changed files with 4 additions and 4 deletions
|
@ -23,7 +23,7 @@
|
|||
#include <lwip/ip.h> /* struct iphdr*/
|
||||
#include <lwip/tcpip.h> /* tcpip_input()*/
|
||||
|
||||
#define DEBUG_MMNIF
|
||||
//#define DEBUG_MMNIF
|
||||
|
||||
#ifdef DEBUG_MMNIF
|
||||
#include "util.h" /* hex dump */
|
||||
|
@ -77,7 +77,7 @@ extern HANDLE hProc;
|
|||
|
||||
/* decide whether it's polling mode or not
|
||||
*/
|
||||
static int no_irq = 0;
|
||||
static int no_irq = 1;
|
||||
|
||||
/* this will be set by open() and close() and shows wether the driver is running or not
|
||||
*/
|
||||
|
@ -85,7 +85,7 @@ static int active = 0;
|
|||
|
||||
/* decide wheter it's uses locking or not
|
||||
*/
|
||||
static int disable_locking = 0;
|
||||
static int disable_locking = 1;
|
||||
|
||||
/* decide whether deliver work to a worker thread or instantly process all packets
|
||||
*/
|
||||
|
|
|
@ -276,7 +276,7 @@ void* client_task(void* e)
|
|||
for (n = 0; n < 1024; n++)
|
||||
recv(sd,dir,sizeof(dir),0);
|
||||
|
||||
close(sd);
|
||||
// close(sd);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue