Re: [dpdk-dev] [PATCH v7 3/7] vhost: fix missing cache logging NUMA realloc

2021-06-29 Thread Xia, Chenbo
> -Original Message- > From: Maxime Coquelin > Sent: Wednesday, June 30, 2021 12:11 AM > To: dev@dpdk.org; Xia, Chenbo ; > david.march...@redhat.com > Cc: Maxime Coquelin > Subject: [PATCH v7 3/7] vhost: fix missing cache logging NUMA realloc > > When the guest allocates virtqueues on a

[dpdk-dev] [PATCH v7 3/7] vhost: fix missing cache logging NUMA realloc

2021-06-29 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 log cache on the new NUMA node was not done. This patch fixes this by reallocating it if it