Re: [PATCH] vhost: rename number of available entries

2022-06-17 Thread Maxime Coquelin
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:

Re: [PATCH] vhost: rename number of available entries

2022-06-17 Thread David Marchand
On Thu, Jun 16, 2022 at 10:20 AM 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, no

[PATCH] vhost: rename number of available entries

2022-06-16 Thread Maxime Coquelin
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 --- lib/vhost/virtio_net.c |