From: Andrew Rybchenko Date: Thu, 24 Sep 2020 12:11:41 +0000 (+0100) Subject: common/sfc_efx/base: update registers check for Riverhead X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=82c17c5223e19de6b1a445cbbea4a07aef24da84;p=dpdk.git common/sfc_efx/base: update registers check for Riverhead 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 Reviewed-by: Andy Moreton Reviewed-by: Vijay Kumar Srivastava --- 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; \