[dpdk-dev] [PATCH v7 0/7] vhost: Fix and improve NUMA reallocation

David Marchand david.marchand at redhat.com
Wed Jun 30 09:57:22 CEST 2021


On Tue, Jun 29, 2021 at 6:11 PM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> This patch series first fixes missing reallocations of some
> Virtqueue and device metadata.
>
> Then, it improves the numa_realloc function by using
> rte_realloc_socket API that takes care of the memcpy &
> freeing. The VQs NUMA IDs are also saved in the VQ metadata
> and used for every allocations so that all allocations
> before NUMA realloc are on the same VQ, later ones are
> allocated on the proper one.
>
> Finally inflight feature metada are converted from calloc()
> to rte_zmalloc_socket() and their reallocation is handled
> in numa_realloc().
>

Series lgtm with some little nits.
Thanks Maxime!


-- 
David Marchand



More information about the dev mailing list