summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/common/efx_impl.h
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2015-03-25 13:11:19 +0000
committerarybchik <arybchik@FreeBSD.org>2015-03-25 13:11:19 +0000
commit7226fa93cac4e7cc7b3b6004265f143f7ef24d4c (patch)
treeaeb54b2e4921ece890d41545df1c47404aa8c3d6 /sys/dev/sfxge/common/efx_impl.h
parente5108d2f3104998466166cd9547b87594e0abb52 (diff)
downloadFreeBSD-src-7226fa93cac4e7cc7b3b6004265f143f7ef24d4c.zip
FreeBSD-src-7226fa93cac4e7cc7b3b6004265f143f7ef24d4c.tar.gz
MFC: 279182
sfxge: correct event queue interrupt moderation timer quanta Submitted by: Andrew Lee <alee at solarflare.com> Sponsored by: Solarflare Communications, Inc. Approved by: gnn (mentor)
Diffstat (limited to 'sys/dev/sfxge/common/efx_impl.h')
-rw-r--r--sys/dev/sfxge/common/efx_impl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h
index 6202276..937906e 100644
--- a/sys/dev/sfxge/common/efx_impl.h
+++ b/sys/dev/sfxge/common/efx_impl.h
@@ -408,7 +408,8 @@ struct efx_evq_s {
#define EFX_EVQ_MAGIC 0x08081997
-#define EFX_EV_TIMER_QUANTUM 5
+#define EFX_EVQ_FALCON_TIMER_QUANTUM_NS 4968 /* 621 cycles */
+#define EFX_EVQ_SIENA_TIMER_QUANTUM_NS 6144 /* 768 cycles */
struct efx_rxq_s {
uint32_t er_magic;
OpenPOWER on IntegriCloud