summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_vic.c
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2008-12-12 06:12:35 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2008-12-12 06:12:35 +0000
commit94d3b78063fcf7ce4342662b4eff41df1976d16b (patch)
treec8c33d7f7dba1898941adb23498dc2320fbd7966 /sys/dev/pci/if_vic.c
parentdded2eba60e65c3f3f871c5f2be52b54c2571e07 (diff)
matthieu and reyk say that using 9k frames for rx breaks vic on esx. i can
sometimes reproduce this, but i cannot see why it would be a problem. tres weird. only put 4k frames on the jumbo ring to cope. i'll try to figure this out again later.
Diffstat (limited to 'sys/dev/pci/if_vic.c')
-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 12892622d27..3e0de3edf01 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.67 2008/12/05 01:10:25 dlg Exp $ */
+/* $OpenBSD: if_vic.c,v 1.68 2008/12/12 06:12:34 dlg Exp $ */
/*
* Copyright (c) 2006 Reyk Floeter <reyk@openbsd.org>
@@ -565,7 +565,7 @@ vic_alloc_data(struct vic_softc *sc)
int i, q;
sc->sc_rxq[0].pktlen = MCLBYTES;
- sc->sc_rxq[1].pktlen = VIC_JUMBO_FRAMELEN;
+ sc->sc_rxq[1].pktlen = 4096;
for (q = 0; q < VIC_NRXRINGS; q++) {
sc->sc_rxq[q].bufs = malloc(sizeof(struct vic_rxbuf) *