On Wed, 24 Jun 2026 08:57:41 +0000
Samar Yadav <[email protected]> wrote:

> +     pp = rte_zmalloc("virtio_user_proc_priv", sizeof(*pp), 0);
> +     if (pp == NULL)
> +             return -ENOMEM;
> +
> +     pp->kickfds = rte_malloc("virtio_user_proc_priv",
> +                              total_queues * sizeof(int), 0);
> +     pp->callfds = rte_malloc("virtio_user_proc_priv",
> +                              total_queues * sizeof(int), 0);

Better to use rte_calloc.

Reply via email to