diff options
author | Hugh Graham <hugh@cvs.openbsd.org> | 2001-04-01 17:19:49 +0000 |
---|---|---|
committer | Hugh Graham <hugh@cvs.openbsd.org> | 2001-04-01 17:19:49 +0000 |
commit | 856c2ecb86171308fa1bd4e41127a54fbb8a6dc4 (patch) | |
tree | eb87cc30a9c18d4b981e5e731b2e475ba69dcc11 | |
parent | c9c08aa0d45cd1ffa9d14c41b5cbdc7907867749 (diff) |
Pick up a change from NetBSD:
: date: 2000/04/28 00:08:51; author: matt; state: Exp; lines: +2 -2
: Dump NRCV to 8 from 5. Note that a 8K NFS reply takes 6 full size
: Ethernet packets so the chances are that if the server was fast enough
: this driver would continuously lose one of the fragments. Eventually
: causing the kernel load to fail. Add 2 extra for random ARP or other
: packets that might be picked up.
-rw-r--r-- | sys/arch/vax/boot/boot/if_ze.c | 4 | ||||
-rw-r--r-- | sys/arch/vax/stand/boot/if_ze.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/vax/boot/boot/if_ze.c b/sys/arch/vax/boot/boot/if_ze.c index 89a4c43290e..20c93cd62f6 100644 --- a/sys/arch/vax/boot/boot/if_ze.c +++ b/sys/arch/vax/boot/boot/if_ze.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ze.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: if_ze.c,v 1.2 2001/04/01 17:19:48 hugh Exp $ */ /* $NetBSD: if_ze.c,v 1.5 1999/08/23 19:09:27 ragge Exp $ */ /* * Copyright (c) 1998 James R. Maynard III. All rights reserved. @@ -69,7 +69,7 @@ struct netif_driver ze_driver = { "ze", ze_match, ze_probe, ze_init, ze_get, ze_put, ze_end, ze_ifs, 1, }; -#define NRCV 5 /* allocate 5 receive descriptors */ +#define NRCV 8 /* allocate 8 receive descriptors */ #define NXMT 5 /* and 5 transmit - must be >1 */ #define SETUP_FRAME_LEN 128 /* length of the setup frame */ diff --git a/sys/arch/vax/stand/boot/if_ze.c b/sys/arch/vax/stand/boot/if_ze.c index 89a4c43290e..20c93cd62f6 100644 --- a/sys/arch/vax/stand/boot/if_ze.c +++ b/sys/arch/vax/stand/boot/if_ze.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ze.c,v 1.1 2000/04/27 02:26:25 bjc Exp $ */ +/* $OpenBSD: if_ze.c,v 1.2 2001/04/01 17:19:48 hugh Exp $ */ /* $NetBSD: if_ze.c,v 1.5 1999/08/23 19:09:27 ragge Exp $ */ /* * Copyright (c) 1998 James R. Maynard III. All rights reserved. @@ -69,7 +69,7 @@ struct netif_driver ze_driver = { "ze", ze_match, ze_probe, ze_init, ze_get, ze_put, ze_end, ze_ifs, 1, }; -#define NRCV 5 /* allocate 5 receive descriptors */ +#define NRCV 8 /* allocate 8 receive descriptors */ #define NXMT 5 /* and 5 transmit - must be >1 */ #define SETUP_FRAME_LEN 128 /* length of the setup frame */ |