summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-11-24 18:36:02 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-11-24 18:36:02 +0000
commitf69dde6e219bf6814ada440d40f65b49bfdc4e03 (patch)
tree62a2efb0c88ebecc977f13cb77588a4e2b43cef6
parent15e27e16a3971bf2e56068c0aaac1aece42e6027 (diff)
switch from 4k to 9k frames on the jumbo ring now the cluster allocator is
able to give them to me.
-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 df25dc0bb53..7713381b3e8 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.59 2008/11/24 16:13:47 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.60 2008/11/24 18:36:01 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; /* XXX VIC_JUMBO_FRAMELEN; */
+ 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) *