RE: [PATCH] ice: fix build error on 32bit configure

2023-07-05 Thread Zhang, Qi Z
> -Original Message- > From: Luca Boccassi > Sent: Thursday, July 6, 2023 3:44 AM > To: Zhou, YidingX ; dev@dpdk.org > Subject: Re: [PATCH] ice: fix build error on 32bit configure > > On Wed, 5 Jul 2023 at 08:21, Yiding Zhou wrote: > > > > Replace 

Re: [PATCH] ice: fix build error on 32bit configure

2023-07-05 Thread Luca Boccassi
On Wed, 5 Jul 2023 at 08:21, Yiding Zhou wrote: > > Replace 'rte_memcpy' with 'memcpy' like other PMD code to avoid errors when > compiling with GCC-12 on 32-bit configure. > > Compiler reports the follow error: > > error: array subscript 8 is outside array bounds of "struct rte_mbuf *[32]" > [-We

[PATCH] ice: fix build error on 32bit configure

2023-07-05 Thread Yiding Zhou
Replace 'rte_memcpy' with 'memcpy' like other PMD code to avoid errors when compiling with GCC-12 on 32-bit configure. Compiler reports the follow error: error: array subscript 8 is outside array bounds of "struct rte_mbuf *[32]" [-Werror=array-bounds] Fixes: c68a52b8b38c ("net/ice: support vect