patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH v1] raw/ifpga/base: fix port feature ID
@ 2022-01-25  2:30 Wei Huang
  2022-01-25  6:21 ` Zhang, Tianfei
  2022-01-26  1:17 ` Xu, Rosen
  0 siblings, 2 replies; 4+ messages in thread
From: Wei Huang @ 2022-01-25  2:30 UTC (permalink / raw)
  To: dev, rosen.xu, qi.z.zhang; +Cc: stable, tianfei.zhang, ferruh.yigit, Wei Huang

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@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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH v1] raw/ifpga/base: fix port feature ID
  2022-01-25  2:30 [PATCH v1] raw/ifpga/base: fix port feature ID Wei Huang
@ 2022-01-25  6:21 ` Zhang, Tianfei
  2022-01-26  1:17 ` Xu, Rosen
  1 sibling, 0 replies; 4+ messages in thread
From: Zhang, Tianfei @ 2022-01-25  6:21 UTC (permalink / raw)
  To: Huang, Wei, dev, Xu, Rosen, Zhang, Qi Z; +Cc: stable, Yigit, Ferruh



> -----Original Message-----
> From: Huang, Wei <wei.huang@intel.com>
> Sent: Tuesday, January 25, 2022 10:31 AM
> To: dev@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: stable@dpdk.org; Zhang, Tianfei <tianfei.zhang@intel.com>; Yigit, Ferruh
> <ferruh.yigit@intel.com>; Huang, Wei <wei.huang@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@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
> 

Acked-by: Tianfei Zhang <tianfei.zhang@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH v1] raw/ifpga/base: fix port feature ID
  2022-01-25  2:30 [PATCH v1] raw/ifpga/base: fix port feature ID Wei Huang
  2022-01-25  6:21 ` Zhang, Tianfei
@ 2022-01-26  1:17 ` Xu, Rosen
  2022-01-26  9:59   ` Zhang, Qi Z
  1 sibling, 1 reply; 4+ messages in thread
From: Xu, Rosen @ 2022-01-26  1:17 UTC (permalink / raw)
  To: Huang, Wei, dev, Zhang,  Qi Z; +Cc: stable, Zhang, Tianfei, Yigit, Ferruh

Hi,

> -----Original Message-----
> From: Huang, Wei <wei.huang@intel.com>
> Sent: Tuesday, January 25, 2022 10:31
> To: dev@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: stable@dpdk.org; Zhang, Tianfei <tianfei.zhang@intel.com>; Yigit, Ferruh
> <ferruh.yigit@intel.com>; Huang, Wei <wei.huang@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@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@intel.com>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [PATCH v1] raw/ifpga/base: fix port feature ID
  2022-01-26  1:17 ` Xu, Rosen
@ 2022-01-26  9:59   ` Zhang, Qi Z
  0 siblings, 0 replies; 4+ messages in thread
From: Zhang, Qi Z @ 2022-01-26  9:59 UTC (permalink / raw)
  To: Xu, Rosen, Huang, Wei, dev; +Cc: stable, Zhang, Tianfei, Yigit, Ferruh



> -----Original Message-----
> From: Xu, Rosen <rosen.xu@intel.com>
> Sent: Wednesday, January 26, 2022 9:18 AM
> To: Huang, Wei <wei.huang@intel.com>; dev@dpdk.org; Zhang, Qi Z
> <qi.z.zhang@intel.com>
> Cc: stable@dpdk.org; Zhang, Tianfei <tianfei.zhang@intel.com>; Yigit, Ferruh
> <ferruh.yigit@intel.com>
> Subject: RE: [PATCH v1] raw/ifpga/base: fix port feature ID
> 
> Hi,
> 
> > -----Original Message-----
> > From: Huang, Wei <wei.huang@intel.com>
> > Sent: Tuesday, January 25, 2022 10:31
> > To: dev@dpdk.org; Xu, Rosen <rosen.xu@intel.com>; Zhang, Qi Z
> > <qi.z.zhang@intel.com>
> > Cc: stable@dpdk.org; Zhang, Tianfei <tianfei.zhang@intel.com>; Yigit,
> > Ferruh <ferruh.yigit@intel.com>; Huang, Wei <wei.huang@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@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@intel.com>

Acked-by: Qi Zhang <qi.z.zhang@intel.com>

Applied to dpdk-next-net-intel.

Thanks
Qi


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-01-26  9:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25  2:30 [PATCH v1] raw/ifpga/base: fix port feature ID Wei Huang
2022-01-25  6:21 ` Zhang, Tianfei
2022-01-26  1:17 ` Xu, Rosen
2022-01-26  9:59   ` Zhang, Qi Z

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).