Skip to content

Commit 3000d45

Browse files
authored
[NETKVM] Reduce log level and default to 10 Gbit/s connection (reactos#8448)
Reduces debug spam and maybe improves network throughput a bit. CORE-15841
1 parent 19df2e6 commit 3000d45

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

drivers/network/dd/netkvm/Common/ParaNdis-Common.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ static const tConfigurationEntries defaultConfiguration =
134134
{
135135
{ "Promiscuous", 0, 0, 1 },
136136
{ "Priority", 0, 0, 1 },
137-
{ "ConnectRate", 100,10,10000 },
137+
{ "ConnectRate", 10000,100,10 },
138138
{ "DoLog", 1, 0, 1 },
139139
{ "DebugLevel", 2, 0, 8 },
140140
{ "ConnectTimer", 0, 0, 300000 },

drivers/network/dd/netkvm/Common/kdebugprint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ void _LogOutString(int level, const char *s);
5656
#define WPP_INIT_TRACING(a,b)
5757
#define WPP_CLEANUP(a)
5858

59-
#define MAX_DEBUG_LEVEL 1
59+
#define MAX_DEBUG_LEVEL 0
6060

6161
#define DPrintf(Level, Fmt) { if ( (Level) > MAX_DEBUG_LEVEL || (Level) > nDebugLevel || !bDebugPrint ) {} else { pDebugPrint Fmt; } }
6262

drivers/network/dd/netkvm/netkvm.inf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
5454

5555
[Parameters]
5656
HKR, Ndi\Params\ConnectRate, ParamDesc, 0, %ConnectRate%
57-
HKR, Ndi\Params\ConnectRate, Default, 0, "1001"
57+
HKR, Ndi\Params\ConnectRate, Default, 0, "10000"
5858
HKR, Ndi\Params\ConnectRate, type, 0, "enum"
5959
HKR, Ndi\Params\ConnectRate\enum, "10", 0, %10M%
6060
HKR, Ndi\Params\ConnectRate\enum, "100", 0, %100M%

drivers/network/dd/netkvm/wxp/netkvm.inx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
5454

5555
[Parameters]
5656
HKR, Ndi\Params\ConnectRate, ParamDesc, 0, %ConnectRate%
57-
HKR, Ndi\Params\ConnectRate, Default, 0, "1001"
57+
HKR, Ndi\Params\ConnectRate, Default, 0, "10000"
5858
HKR, Ndi\Params\ConnectRate, type, 0, "enum"
5959
HKR, Ndi\Params\ConnectRate\enum, "10", 0, %10M%
6060
HKR, Ndi\Params\ConnectRate\enum, "100", 0, %100M%

0 commit comments

Comments
 (0)