On 6/15/21 11:25 AM, David Marchand wrote:
> On Tue, Jun 15, 2021 at 10:43 AM Maxime Coquelin
> wrote:
>> @@ -559,6 +559,31 @@ numa_realloc(struct virtio_net *dev, int index)
>> vq->log_cache = lc;
>> }
>>
>> + if (vq->resubmit_inflight) {
>> + struct
On Tue, Jun 15, 2021 at 10:43 AM Maxime Coquelin
wrote:
> @@ -559,6 +559,31 @@ numa_realloc(struct virtio_net *dev, int index)
> vq->log_cache = lc;
> }
>
> + if (vq->resubmit_inflight) {
> + struct rte_vhost_resubmit_info *ri;
> +
> + ri =
Inflight metadata are allocated using glibc's calloc.
This patch converts them to rte_zmalloc_socket to take
care of the NUMA affinity.
Signed-off-by: Maxime Coquelin
---
lib/vhost/vhost.c | 4 +--
lib/vhost/vhost_user.c | 67 +++---
2 files changed, 58
3 matches
Mail list logo