windows-afsd-init-20080902

LICENSE MIT

report state of "Rx Jumbo" and "RxExtraPackets" more often
This commit is contained in:
Jeffrey Altman 2008-09-02 22:08:24 +00:00
parent e31826d333
commit 21abc0e0b5

View File

@ -1067,6 +1067,8 @@ int afsd_InitCM(char **reasonP)
}
if (rx_nojumbo)
afsi_log("RX Jumbograms are disabled");
else
afsi_log("RX Jumbograms are enabled");
dummyLen = sizeof(rx_extraPackets);
code = RegQueryValueEx(parmKey, "RxExtraPackets", NULL, NULL,
@ -1083,7 +1085,7 @@ int afsd_InitCM(char **reasonP)
if (code != ERROR_SUCCESS) {
rx_udpbufsize = 256*1024;
}
if (rx_udpbufsize)
if (rx_udpbufsize != -1)
afsi_log("RX udpbufsize is %d", rx_udpbufsize);
dummyLen = sizeof(rx_mtu);