[dpdk-dev] [PATCH v3 06/60] common/sfc_efx/base: update registers check for Riverhead
Andrew Rybchenko
arybchenko at solarflare.com
Thu Sep 24 14:11:41 CEST 2020
Riverhead family got letter 'G' for registers definition.
Registers used for Riverhead should have the letter in the
specification range.
Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
Reviewed-by: Andy Moreton <amoreton at xilinx.com>
Reviewed-by: Vijay Kumar Srivastava <vsrivast at xilinx.com>
---
drivers/common/sfc_efx/base/efx_impl.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/common/sfc_efx/base/efx_impl.h b/drivers/common/sfc_efx/base/efx_impl.h
index 898770c1cb..f891172086 100644
--- a/drivers/common/sfc_efx/base/efx_impl.h
+++ b/drivers/common/sfc_efx/base/efx_impl.h
@@ -1008,6 +1008,10 @@ struct efx_txq_s {
rev = 'F'; \
break; \
\
+ case EFX_FAMILY_RIVERHEAD: \
+ rev = 'G'; \
+ break; \
+ \
default: \
rev = '?'; \
break; \
--
2.17.1
More information about the dev
mailing list