git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/sfc_efx/base: handle MCDI events on Riverhead
[dpdk.git]
/
drivers
/
common
/
sfc_efx
/
base
/
efx.h
diff --git
a/drivers/common/sfc_efx/base/efx.h
b/drivers/common/sfc_efx/base/efx.h
index
2082efe
..
2c49280
100644
(file)
--- a/
drivers/common/sfc_efx/base/efx.h
+++ b/
drivers/common/sfc_efx/base/efx.h
@@
-243,8
+243,8
@@
efx_nic_check_pcie_link_speed(
#if EFSYS_OPT_MCDI
#if EFSYS_OPT_MCDI
-#if EFX_OPTS_EF10()
-/* EF10 architecture NICs require MCDIv2 commands */
+#if EF
SYS_OPT_RIVERHEAD || EF
X_OPTS_EF10()
+/* EF10 architecture
and Riverhead
NICs require MCDIv2 commands */
#define WITH_MCDI_V2 1
#endif
#define WITH_MCDI_V2 1
#endif
@@
-1438,11
+1438,12
@@
typedef struct efx_nic_cfg_s {
#if EFSYS_OPT_BIST
uint32_t enc_bist_mask;
#endif /* EFSYS_OPT_BIST */
#if EFSYS_OPT_BIST
uint32_t enc_bist_mask;
#endif /* EFSYS_OPT_BIST */
-#if EFX_OPTS_EF10()
+#if EF
SYS_OPT_RIVERHEAD || EF
X_OPTS_EF10()
uint32_t enc_pf;
uint32_t enc_vf;
uint32_t enc_privilege_mask;
uint32_t enc_pf;
uint32_t enc_vf;
uint32_t enc_privilege_mask;
-#endif /* EFX_OPTS_EF10() */
+#endif /* EFSYS_OPT_RIVERHEAD || EFX_OPTS_EF10() */
+ boolean_t enc_evq_init_done_ev_supported;
boolean_t enc_bug26807_workaround;
boolean_t enc_bug35388_workaround;
boolean_t enc_bug41750_workaround;
boolean_t enc_bug26807_workaround;
boolean_t enc_bug35388_workaround;
boolean_t enc_bug41750_workaround;
@@
-2430,6
+2431,13
@@
efx_ev_qprefetch(
#endif /* EFSYS_OPT_EV_PREFETCH */
#endif /* EFSYS_OPT_EV_PREFETCH */
+LIBEFX_API
+extern void
+efx_ev_qcreate_check_init_done(
+ __in efx_evq_t *eep,
+ __in const efx_ev_callbacks_t *eecp,
+ __in_opt void *arg);
+
LIBEFX_API
extern void
efx_ev_qpoll(
LIBEFX_API
extern void
efx_ev_qpoll(