[PATCH] vhost: rename number of available entries

Maxime Coquelin maxime.coquelin at redhat.com
Fri Jun 17 16:08:23 CEST 2022



On 6/16/22 10:20, Maxime Coquelin 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>
> ---
>   lib/vhost/virtio_net.c | 16 ++++++++--------
>   1 file changed, 8 insertions(+), 8 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list