Re: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-17 Thread Maxime Coquelin
On 6/16/22 16:46, David Marchand wrote: GCC 12 raises the following warning: In file included from ../lib/mempool/rte_mempool.h:46, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/vhost/vhost_crypto.c:7: ../lib/vhost/vhost_crypto.c: In function ‘rte_vhost_crypt

Re: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-21 Thread Maxime Coquelin
On 6/16/22 16:46, David Marchand wrote: GCC 12 raises the following warning: In file included from ../lib/mempool/rte_mempool.h:46, from ../lib/mbuf/rte_mbuf.h:38, from ../lib/vhost/vhost_crypto.c:7: ../lib/vhost/vhost_crypto.c: In function ‘rte_vhost_crypt

RE: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-22 Thread Poczatek, Jakub
oquelin Sent: Tuesday 21 June 2022 10:31 To: David Marchand ; dev@dpdk.org Cc: sta...@dpdk.org; Xia, Chenbo ; Zhang, Roy Fan Subject: Re: [PATCH v3] vhost/crypto: fix build with GCC 12 On 6/16/22 16:46, David Marchand wrote: > GCC 12 raises the following warning: > > In file incl

RE: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-22 Thread Zhang, Roy Fan
Wednesday, June 22, 2022 10:02 AM > To: Maxime Coquelin ; David Marchand > ; dev@dpdk.org > Cc: sta...@dpdk.org; Xia, Chenbo ; Zhang, Roy Fan > > Subject: RE: [PATCH v3] vhost/crypto: fix build with GCC 12 > > Hey everyone, > > When running a Virtio performance test

Re: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-22 Thread David Marchand
Hello Jakub, Roy, On Wed, Jun 22, 2022 at 11:01 AM Poczatek, Jakub wrote: > When running a Virtio performance test on a VM using VHost with this patch > applied, > VHost gives the following error message: > > > VHOST_CONFIG: (/tmp/vhost) read message VHOST_USER_SET_FEATURES > > VHOST_CONFIG: (/t

RE: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-22 Thread Poczatek, Jakub
, Chenbo Subject: Re: [PATCH v3] vhost/crypto: fix build with GCC 12 Hello Jakub, Roy, On Wed, Jun 22, 2022 at 11:01 AM Poczatek, Jakub wrote: > When running a Virtio performance test on a VM using VHost with this > patch applied, VHost gives the following error message: > > &g

Re: [PATCH v3] vhost/crypto: fix build with GCC 12

2022-06-22 Thread David Marchand
On Wed, Jun 22, 2022 at 5:22 PM Poczatek, Jakub wrote: > > Hey David, > > The code change fixes the errors and the performance test completes. I posted this fix against (not yet pulled into main) next-virtio repo. -- David Marchand