common/sfc_efx/base: add option for extended width events

EF100 uses event queues with 256bit extended width events to
support descriptor proxy queues.

Signed-off-by: Andy Moreton <amoreton@xilinx.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
This commit is contained in:
Andy Moreton 2020-09-24 13:12:29 +01:00 committed by Ferruh Yigit
parent 798672850c
commit 72608054bf
2 changed files with 8 additions and 0 deletions

View File

@ -384,4 +384,11 @@
# endif
#endif /* EFSYS_OPT_PCI */
/* Support extended width event queues */
#if EFSYS_OPT_EV_EXTENDED_WIDTH
# if !EFSYS_OPT_RIVERHEAD
# error "EV_EXTENDED_WIDTH requires RIVERHEAD"
# endif
#endif /* EFSYS_OPT_EV_EXTENDED_WIDTH */
#endif /* _SYS_EFX_CHECK_H */

View File

@ -142,6 +142,7 @@ prefetch_read_once(const volatile void *addr)
#define EFSYS_OPT_FILTER 1
#define EFSYS_OPT_RX_SCATTER 0
#define EFSYS_OPT_EV_EXTENDED_WIDTH 0
#define EFSYS_OPT_EV_PREFETCH 0
#define EFSYS_OPT_DECODE_INTR_FATAL 0