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.
This commit is contained in:
matt 2000-04-28 00:08:51 +00:00
parent c4e16b9e76
commit 70d4422b8a

View File

@ -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 @@ 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 5 receive descriptors */
#define NXMT 5 /* and 5 transmit - must be >1 */
#define SETUP_FRAME_LEN 128 /* length of the setup frame */