[dpdk-dev] [PATCH v3 00/69] shared code update

Zhang, Qi Z qi.z.zhang at intel.com
Fri Jun 21 03:20:38 CEST 2019



> -----Original Message-----
> From: Yigit, Ferruh
> Sent: Friday, June 21, 2019 4:18 AM
> To: Zhang, Qi Z <qi.z.zhang at intel.com>; Rong, Leyi <leyi.rong at intel.com>
> Cc: dev at dpdk.org
> Subject: Re: [dpdk-dev] [PATCH v3 00/69] shared code update
> 
> On 6/20/2019 2:55 AM, Zhang, Qi Z wrote:
> >
> >
> >> -----Original Message-----
> >> From: Rong, Leyi
> >> Sent: Wednesday, June 19, 2019 11:18 PM
> >> To: Zhang, Qi Z <qi.z.zhang at intel.com>
> >> Cc: dev at dpdk.org; Rong, Leyi <leyi.rong at intel.com>
> >> Subject: [PATCH v3 00/69] shared code update
> >>
> >> Main changes:
> >> 1. Advanced switch rule support.
> >> 2. Add more APIs for tunnel management.
> >> 3. Add some minor features.
> >> 4. Code clean and bug fix.
> >>
> >
> > Acked-by: Qi Zhang <qi.z.zhang at intel.com>
> >
> > Applied to dpdk-next-net-intel with below changes
> >
> > 1. patch 66 and 69 fixes patch 54, so merged to patch 54
> >   patch 64 fixes patch 06, so merged to patch 06
> >   so totally 66 patch merged.
> > 2. fix Camel title in patch 27, 39,
> >
> > Thanks
> > Qi
> 
> There is a 32 bits build error, can you please check?

My bad, forgot to check 32 bits

The reason is some 32 bit fix in 19.05 does not synced, 
Minor fix on patch 40/69 and 41/69 are applied to dpdk-next-net-intel.

Thanks
Qi

> 
> 
> 
> In file included from .../dpdk/drivers/net/ice/base/ice_flow.c:6:
> .../dpdk/drivers/net/ice/base/ice_flow.c: In function ‘ice_flow_find_entry’:
> .../dpdk/drivers/net/ice/base/ice_flow.h:239:33: error: cast from pointer to
> integer of different size [-Werror=pointer-to-int-cast]
>   239 | #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e)
>       |                                 ^
> .../dpdk/drivers/net/ice/base/ice_flow.c:1309:17: note: in expansion of macro
> ‘ICE_FLOW_ENTRY_HNDL’
>  1309 |  return found ? ICE_FLOW_ENTRY_HNDL(found) :
> ICE_FLOW_ENTRY_HANDLE_INVAL;
>       |                 ^~~~~~~~~~~~~~~~~~~
> .../dpdk/drivers/net/ice/base/ice_flow.c: In function ‘ice_flow_add_entry’:
> .../dpdk/drivers/net/ice/base/ice_flow.h:239:33: error: cast from pointer to
> integer of different size [-Werror=pointer-to-int-cast]
>   239 | #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e)
>       |                                 ^
> .../dpdk/drivers/net/ice/base/ice_flow.c:1387:13: note: in expansion of macro
> ‘ICE_FLOW_ENTRY_HNDL’
>  1387 |  *entry_h = ICE_FLOW_ENTRY_HNDL(e);
>       |             ^~~~~~~~~~~~~~~~~~~
> .../dpdk/drivers/net/ice/base/ice_flow.c: In function ‘ice_flow_rem_entry’:
> .../dpdk/drivers/net/ice/base/ice_flow.h:240:32: error: cast to pointer from
> integer of different size [-Werror=int-to-pointer-cast]
>   240 | #define ICE_FLOW_ENTRY_PTR(h) ((struct ice_flow_entry *)(h))
>       |                                ^
> .../dpdk/drivers/net/ice/base/ice_flow.c:1413:10: note: in expansion of macro
> ‘ICE_FLOW_ENTRY_PTR’
>  1413 |  entry = ICE_FLOW_ENTRY_PTR(entry_h);
>       |          ^~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors
> make[7]: *** [.../dpdk/mk/internal/rte.compile-pre.mk:114: ice_flow.o] Error
> 1
> make[7]: *** Waiting for unfinished jobs....
> In file included from .../dpdk/drivers/net/ice/base/ice_flex_pipe.c:8:
> .../dpdk/drivers/net/ice/base/ice_flex_pipe.c: In function
> ‘ice_free_flow_profs’:
> .../dpdk/drivers/net/ice/base/ice_flow.h:239:33: error: cast from pointer to
> integer of different size [-Werror=pointer-to-int-cast]
>   239 | #define ICE_FLOW_ENTRY_HNDL(e) ((u64)e)
>       |                                 ^
> .../dpdk/drivers/net/ice/base/ice_flex_pipe.c:3027:27: note: in expansion of
> macro ‘ICE_FLOW_ENTRY_HNDL’
>  3027 |    ice_flow_rem_entry(hw, ICE_FLOW_ENTRY_HNDL(e));
>       |                           ^~~~~~~~~~~~~~~~~~~
> cc1: all warnings being treated as errors


More information about the dev mailing list