From: dlg Date: Tue, 26 May 2015 12:29:42 +0000 (+0000) Subject: bump the number of tx and rx descriptors from 128 up to 512. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2e3a105b77813538786ce593a7853c60b1bee368;p=openbsd bump the number of tx and rx descriptors from 128 up to 512. --- 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 */