summaryrefslogtreecommitdiffstats
path: root/sys/dev/sfxge/common/efx_impl.h
diff options
context:
space:
mode:
authorarybchik <arybchik@FreeBSD.org>2016-06-17 08:56:01 +0000
committerarybchik <arybchik@FreeBSD.org>2016-06-17 08:56:01 +0000
commit29789adab9c0f03b6246112089b4e43bb1fdac69 (patch)
tree845672f063d1fb813c1c4f01aee45dec3c09a91e /sys/dev/sfxge/common/efx_impl.h
parent4dbc029ab056c8d90a6605e772855b98806cb65c (diff)
downloadFreeBSD-src-29789adab9c0f03b6246112089b4e43bb1fdac69.zip
FreeBSD-src-29789adab9c0f03b6246112089b4e43bb1fdac69.tar.gz
MFC r301122
sfxge(4): set moderation in efx_ev_qcreate This simplifies setting an initial interrupt moderation value, and avoids most calls to evx_ev_qmoderate from contexts where MCDI is not allowed (MCDI is need for an EVQ timer workaround in a later patch). Submitted by: Andy Moreton <amoreton at solarflare.com> Reviewed by: gnn Sponsored by: Solarflare Communications, Inc. Differential Revision: https://reviews.freebsd.org/D6673
Diffstat (limited to 'sys/dev/sfxge/common/efx_impl.h')
-rw-r--r--sys/dev/sfxge/common/efx_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sfxge/common/efx_impl.h b/sys/dev/sfxge/common/efx_impl.h
index 43e9492..18812a5 100644
--- a/sys/dev/sfxge/common/efx_impl.h
+++ b/sys/dev/sfxge/common/efx_impl.h
@@ -95,7 +95,7 @@ typedef struct efx_ev_ops_s {
void (*eevo_fini)(efx_nic_t *);
efx_rc_t (*eevo_qcreate)(efx_nic_t *, unsigned int,
efsys_mem_t *, size_t, uint32_t,
- efx_evq_t *);
+ uint32_t, efx_evq_t *);
void (*eevo_qdestroy)(efx_evq_t *);
efx_rc_t (*eevo_qprime)(efx_evq_t *, unsigned int);
void (*eevo_qpost)(efx_evq_t *, uint16_t);
OpenPOWER on IntegriCloud