summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-25 16:02:07 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-25 16:02:07 +0000
commitbd7de6f955b74a3c955fb3668477e894a73bcfda (patch)
treef21ca4e1fca527a068478687966c20fbf8285004 /sys/dev/pci
parenteef59cf51871fdacde386f6a511284da2fcdcb0f (diff)
put 9k frames on the jumbo ring
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/if_vic.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/if_vic.c b/sys/dev/pci/if_vic.c
index d174790c252..a46069d5c66 100644
--- a/sys/dev/pci/if_vic.c
+++ b/sys/dev/pci/if_vic.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_vic.c,v 1.61 2008/11/24 19:18:19 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.62 2008/11/25 16:02:06 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -566,7 +566,7 @@ vic_alloc_data(struct vic_softc *sc)
int i, q;
sc->sc_rxq[0].pktlen = MCLBYTES;
- sc->sc_rxq[1].pktlen = 4096;
+ sc->sc_rxq[1].pktlen = VIC_JUMBO_FRAMELEN;
for (q = 0; q < VIC_NRXRINGS; q++) {
sc->sc_rxq[q].bufs = malloc(sizeof(struct vic_rxbuf) *