Set ifq_maxlen to default value. (This should be safe, it's not clear

if there's benefit to setting it to the exact amount, it appears the
card has 32K of ram, and 8K is used for outgoing packets, that would
be something like a queue limit of 5 packets.  I don't think that's
useful...)

PR:		11456
Submitted by:	Stephen J. Roznowski <sjr@home.net>
This commit is contained in:
Peter Wemm 1999-05-02 22:01:24 +00:00
parent b7b075a2a2
commit 87f0e52bec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=46347
2 changed files with 4 additions and 2 deletions

View File

@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: if_ex.c,v 1.13 1998/10/22 05:58:39 bde Exp $
* $Id: if_ex.c,v 1.14 1999/01/28 01:59:53 dillon Exp $
*/
/*
@ -298,6 +298,7 @@ int ex_attach(struct isa_device *dev)
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
DODEBUG(Start_End, printf("ex_attach%d: finish\n", unit););
sc->arpcom.ac_if.if_snd.ifq_maxlen = ifqmaxlen;
return(1);
}

View File

@ -24,7 +24,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: if_ex.c,v 1.13 1998/10/22 05:58:39 bde Exp $
* $Id: if_ex.c,v 1.14 1999/01/28 01:59:53 dillon Exp $
*/
/*
@ -298,6 +298,7 @@ int ex_attach(struct isa_device *dev)
bpfattach(ifp, DLT_EN10MB, sizeof(struct ether_header));
#endif
DODEBUG(Start_End, printf("ex_attach%d: finish\n", unit););
sc->arpcom.ac_if.if_snd.ifq_maxlen = ifqmaxlen;
return(1);
}