From 856c2ecb86171308fa1bd4e41127a54fbb8a6dc4 Mon Sep 17 00:00:00 2001 From: Hugh Graham Date: Sun, 1 Apr 2001 17:19:49 +0000 Subject: 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. --- sys/arch/vax/boot/boot/if_ze.c | 4 ++-- 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 */ -- cgit v1.2.3