[dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately
Maxime Coquelin
maxime.coquelin at redhat.com
Thu Apr 15 18:22:39 CEST 2021
On 4/13/21 3:31 PM, Balazs Nemeth wrote:
> The remained variable stores the same information as the difference
> between count and pkt_idx. Remove the remained variable to simplify.
>
> Signed-off-by: Balazs Nemeth <bnemeth at redhat.com>
> ---
> lib/librte_vhost/virtio_net.c | 13 +++----------
> 1 file changed, 3 insertions(+), 10 deletions(-)
>
Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
Thanks,
Maxime
More information about the dev
mailing list