[PATCH v1] raw/ifpga/base: fix port feature ID

Xu, Rosen rosen.xu at intel.com
Wed Jan 26 02:17:45 CET 2022


Hi,

> -----Original Message-----
> From: Huang, Wei <wei.huang at intel.com>
> Sent: Tuesday, January 25, 2022 10:31
> To: dev at dpdk.org; Xu, Rosen <rosen.xu at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: stable at dpdk.org; Zhang, Tianfei <tianfei.zhang at intel.com>; Yigit, Ferruh
> <ferruh.yigit at intel.com>; Huang, Wei <wei.huang at intel.com>
> Subject: [PATCH v1] raw/ifpga/base: fix port feature ID
> 
> Fix ID value of port features to match the definition from hardware.
> 
> Fixes: 473c88f9 ("drivers/raw: remove rawdev from directory names")
> 
> Signed-off-by: Wei Huang <wei.huang at intel.com>
> ---
>  drivers/raw/ifpga/base/ifpga_defines.h | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/raw/ifpga/base/ifpga_defines.h
> b/drivers/raw/ifpga/base/ifpga_defines.h
> index dca1518..8f62033 100644
> --- a/drivers/raw/ifpga/base/ifpga_defines.h
> +++ b/drivers/raw/ifpga/base/ifpga_defines.h
> @@ -93,9 +93,9 @@ enum fpga_id_type {
> 
>  #define PORT_FEATURE_ID_HEADER FEATURE_ID_FIU_HEADER  #define
> PORT_FEATURE_ID_ERROR 0x10 -#define PORT_FEATURE_ID_UMSG 0x12 -
> #define PORT_FEATURE_ID_UINT 0x13 -#define PORT_FEATURE_ID_STP
> 0x14
> +#define PORT_FEATURE_ID_UMSG 0x11
> +#define PORT_FEATURE_ID_UINT 0x12
> +#define PORT_FEATURE_ID_STP 0x13
>  #define PORT_FEATURE_ID_UAFU FEATURE_ID_AFU
> 
>  /*
> --
> 1.8.3.1

Acked-by: Rosen Xu <rosen.xu at intel.com>


More information about the stable mailing list