mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 23:40:13 +00:00
windows-afsd-rx-extrapackets-20080214
LICENSE MIT Add support for specifying rx_extraPackets in the Windows client
This commit is contained in:
parent
9babb9f88f
commit
4aad2a7b6b
@ -1014,6 +1014,15 @@ int afsd_InitCM(char **reasonP)
|
||||
if (rx_nojumbo)
|
||||
afsi_log("RX Jumbograms are disabled");
|
||||
|
||||
dummyLen = sizeof(rx_extraPackets);
|
||||
code = RegQueryValueEx(parmKey, "RxExtraPackets", NULL, NULL,
|
||||
(BYTE *) &rx_extraPackets, &dummyLen);
|
||||
if (code != ERROR_SUCCESS) {
|
||||
rx_extraPackets = 120;
|
||||
}
|
||||
if (rx_extraPackets)
|
||||
afsi_log("RX extraPackets is %d", rx_extraPackets);
|
||||
|
||||
dummyLen = sizeof(rx_mtu);
|
||||
code = RegQueryValueEx(parmKey, "RxMaxMTU", NULL, NULL,
|
||||
(BYTE *) &rx_mtu, &dummyLen);
|
||||
|
Loading…
Reference in New Issue
Block a user