mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
[NETKVM] Reduce log level and default to 10 Gbit/s connection (#8448)
Reduces debug spam and maybe improves network throughput a bit. CORE-15841
This commit is contained in:
@@ -134,7 +134,7 @@ static const tConfigurationEntries defaultConfiguration =
|
||||
{
|
||||
{ "Promiscuous", 0, 0, 1 },
|
||||
{ "Priority", 0, 0, 1 },
|
||||
{ "ConnectRate", 100,10,10000 },
|
||||
{ "ConnectRate", 10000,100,10 },
|
||||
{ "DoLog", 1, 0, 1 },
|
||||
{ "DebugLevel", 2, 0, 8 },
|
||||
{ "ConnectTimer", 0, 0, 300000 },
|
||||
|
||||
@@ -56,7 +56,7 @@ void _LogOutString(int level, const char *s);
|
||||
#define WPP_INIT_TRACING(a,b)
|
||||
#define WPP_CLEANUP(a)
|
||||
|
||||
#define MAX_DEBUG_LEVEL 1
|
||||
#define MAX_DEBUG_LEVEL 0
|
||||
|
||||
#define DPrintf(Level, Fmt) { if ( (Level) > MAX_DEBUG_LEVEL || (Level) > nDebugLevel || !bDebugPrint ) {} else { pDebugPrint Fmt; } }
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
||||
|
||||
[Parameters]
|
||||
HKR, Ndi\Params\ConnectRate, ParamDesc, 0, %ConnectRate%
|
||||
HKR, Ndi\Params\ConnectRate, Default, 0, "1001"
|
||||
HKR, Ndi\Params\ConnectRate, Default, 0, "10000"
|
||||
HKR, Ndi\Params\ConnectRate, type, 0, "enum"
|
||||
HKR, Ndi\Params\ConnectRate\enum, "10", 0, %10M%
|
||||
HKR, Ndi\Params\ConnectRate\enum, "100", 0, %100M%
|
||||
|
||||
@@ -54,7 +54,7 @@ HKR, Ndi\Interfaces, LowerRange, 0, "ethernet"
|
||||
|
||||
[Parameters]
|
||||
HKR, Ndi\Params\ConnectRate, ParamDesc, 0, %ConnectRate%
|
||||
HKR, Ndi\Params\ConnectRate, Default, 0, "1001"
|
||||
HKR, Ndi\Params\ConnectRate, Default, 0, "10000"
|
||||
HKR, Ndi\Params\ConnectRate, type, 0, "enum"
|
||||
HKR, Ndi\Params\ConnectRate\enum, "10", 0, %10M%
|
||||
HKR, Ndi\Params\ConnectRate\enum, "100", 0, %100M%
|
||||
|
||||
Reference in New Issue
Block a user