Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/vax/boot/boot Dump NRCV to 8 from 5. Note that a 8...



details:   https://anonhg.NetBSD.org/src/rev/a271174be42b
branches:  trunk
changeset: 485440:a271174be42b
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Apr 28 00:08:51 2000 +0000

description:
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.

diffstat:

 sys/arch/vax/boot/boot/if_ze.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 30d8fa332e84 -r a271174be42b sys/arch/vax/boot/boot/if_ze.c
--- a/sys/arch/vax/boot/boot/if_ze.c    Thu Apr 27 22:16:52 2000 +0000
+++ b/sys/arch/vax/boot/boot/if_ze.c    Fri Apr 28 00:08:51 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_ze.c,v 1.5 1999/08/23 19:09:27 ragge Exp $  */
+/*     $NetBSD: if_ze.c,v 1.6 2000/04/28 00:08:51 matt Exp $   */
 /*
  * Copyright (c) 1998 James R. Maynard III.  All rights reserved.
  *
@@ -65,7 +65,7 @@
        "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 5 receive descriptors */
 #define NXMT 5                         /* and 5 transmit - must be >1 */
 #define SETUP_FRAME_LEN 128            /* length of the setup frame */
 



Home | Main Index | Thread Index | Old Index