Re: [dpdk-dev] [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc

2021-06-18 Thread Maxime Coquelin
On 6/18/21 6:34 AM, Xia, Chenbo wrote: > Hi Maxime, > >> -Original Message- >> From: Maxime Coquelin >> Sent: Thursday, June 17, 2021 11:38 PM >> To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo >> >> Cc: Maxime Coquelin ; sta...@dpdk.org >> Subject: [PATCH v4 1/7] vhost: fix

Re: [dpdk-dev] [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc

2021-06-17 Thread Xia, Chenbo
Hi Maxime, > -Original Message- > From: Maxime Coquelin > Sent: Thursday, June 17, 2021 11:38 PM > To: dev@dpdk.org; david.march...@redhat.com; Xia, Chenbo > > Cc: Maxime Coquelin ; sta...@dpdk.org > Subject: [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc > > When the gues

[dpdk-dev] [PATCH v4 1/7] vhost: fix missing memory table NUMA realloc

2021-06-17 Thread Maxime Coquelin
When the guest allocates virtqueues on a different NUMA node than the one the Vhost metadata are allocated, both the Vhost device struct and the virtqueues struct are reallocated. However, reallocating the Vhost memory table was missing, which likely causes iat least one cross-NUMA accesses for ev