From: Andrew Rybchenko Date: Fri, 13 Nov 2020 08:42:40 +0000 (+0000) Subject: common/sfc_efx/base: fix macro to extract from 256-bit type X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=fb0ddb659468c58c0336bd94ef4566b528c8bd28;p=dpdk.git common/sfc_efx/base: fix macro to extract from 256-bit type Fixes: eda1cc20c3bc ("common/sfc_efx/base: add 256-bit type") Signed-off-by: Andrew Rybchenko Reviewed-by: Andy Moreton --- diff --git a/drivers/common/sfc_efx/base/efx_types.h b/drivers/common/sfc_efx/base/efx_types.h index d67d07ba3b..a08c5ab358 100644 --- a/drivers/common/sfc_efx/base/efx_types.h +++ b/drivers/common/sfc_efx/base/efx_types.h @@ -447,7 +447,7 @@ extern int fix_lint; EFX_EXTRACT64((_xword).ex_u64[3], FIX_LINT(192), FIX_LINT(255), \ _low, _high)) -#define EFX_EXTRACT_XWORD32(_oword, _low, _high) \ +#define EFX_EXTRACT_XWORD32(_xword, _low, _high) \ (EFX_EXTRACT32((_xword).ex_u32[0], FIX_LINT(0), FIX_LINT(31), \ _low, _high) | \ EFX_EXTRACT32((_xword).ex_u32[1], FIX_LINT(32), FIX_LINT(63), \