From 94d3b78063fcf7ce4342662b4eff41df1976d16b Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Fri, 12 Dec 2008 06:12:35 +0000 Subject: 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. --- sys/dev/pci/if_vic.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_vic.c') 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 @@ -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) * -- cgit v1.2.3