[PATCH] vhost: rename number of available entries

David Marchand david.marchand at redhat.com
Fri Jun 17 15:48:13 CEST 2022


On Thu, Jun 16, 2022 at 10:20 AM Maxime Coquelin
<maxime.coquelin at redhat.com> wrote:
>
> This patchs renames the local variables free_entries to
> avail_entries in the dequeue path.
>
> Indeed, this variable represents the number of new packets
> available in the Virtio transmit queue, so these entries
> are actually used, not free.
>
> Signed-off-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Reviewed-by: David Marchand <david.marchand at redhat.com>

-- 
David Marchand



More information about the dev mailing list