diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2008-11-07 22:41:18 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2008-11-07 22:41:18 +0000 |
commit | 112b8ca85edefbbf277372ae4e5a0601ccf36ca1 (patch) | |
tree | fd523179a593a6eaec0b786d4e3d1d8d58291190 /sys | |
parent | aec8d3abf216663cfafeba0fa3e1c84f7de452d3 (diff) |
- Set default RX coal packets to 64, so RX coal timeout takes control during
bulk data operations. This greately reduces the interrupt rate while keeps
bulk data performance.
- Set default TX coal packets to 64 and TX coal timeout to 65535us (maximum
allowable value). This greately reduce the interrupt rate while greately
increases (almost doubles) small packet TX performance.
From DragonFly
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/pci/if_jmereg.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/pci/if_jmereg.h b/sys/dev/pci/if_jmereg.h index 90ced06bad2..e059a76ae56 100644 --- a/sys/dev/pci/if_jmereg.h +++ b/sys/dev/pci/if_jmereg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_jmereg.h,v 1.2 2008/10/29 01:55:53 brad Exp $ */ +/* $OpenBSD: if_jmereg.h,v 1.3 2008/11/07 22:41:17 brad Exp $ */ /*- * Copyright (c) 2008, Pyun YongHyeon <yongari@FreeBSD.org> * All rights reserved. @@ -691,7 +691,7 @@ #define PCCRX_COAL_TO_MAX 65535 #define PCCRX_COAL_PKT_MIN 1 -#define PCCRX_COAL_PKT_DEFAULT 2 +#define PCCRX_COAL_PKT_DEFAULT 64 #define PCCRX_COAL_PKT_MAX 255 /* Packet completion coalescing control of Tx queue. */ @@ -710,11 +710,11 @@ #define PCCTX_COAL_TXQ0 0x00000001 #define PCCTX_COAL_TO_MIN 1 -#define PCCTX_COAL_TO_DEFAULT 100 +#define PCCTX_COAL_TO_DEFAULT 65535 #define PCCTX_COAL_TO_MAX 65535 #define PCCTX_COAL_PKT_MIN 1 -#define PCCTX_COAL_PKT_DEFAULT 8 +#define PCCTX_COAL_PKT_DEFAULT 64 #define PCCTX_COAL_PKT_MAX 255 /* Chip mode and FPGA version. */ |