diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2015-05-26 12:29:43 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2015-05-26 12:29:43 +0000 |
commit | 45ddf6936f92da108e03cbac5cbccd5639f148b9 (patch) | |
tree | 275649793ced3e8bcf1c1f78d0ba52ffdbc4345f | |
parent | 0f678c2a7749c22b48be25f70580dc083e1c5fc9 (diff) |
bump the number of tx and rx descriptors from 128 up to 512.
-rw-r--r-- | sys/dev/pci/if_vmx.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/pci/if_vmx.c b/sys/dev/pci/if_vmx.c index 925a9775444..13d595ca5a6 100644 --- a/sys/dev/pci/if_vmx.c +++ b/sys/dev/pci/if_vmx.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vmx.c,v 1.25 2015/03/14 03:38:48 jsg Exp $ */ +/* $OpenBSD: if_vmx.c,v 1.26 2015/05/26 12:29:42 dlg Exp $ */ /* * Copyright (c) 2013 Tsubai Masanari @@ -49,9 +49,9 @@ #define NRXQUEUE 1 #define NTXQUEUE 1 -#define NTXDESC 128 /* tx ring size */ +#define NTXDESC 512 /* tx ring size */ #define NTXSEGS 8 /* tx descriptors per packet */ -#define NRXDESC 128 +#define NRXDESC 512 #define NTXCOMPDESC NTXDESC #define NRXCOMPDESC (NRXDESC * 2) /* ring1 + ring2 */ |