[dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately
Xia, Chenbo
chenbo.xia at intel.com
Wed Apr 28 05:14:42 CEST 2021
> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Balazs Nemeth
> Sent: Tuesday, April 13, 2021 9:31 PM
> To: bnemeth at redhat.com; dev at dpdk.org; maxime.coquelin at redhat.com
> Subject: [dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately
>
> 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(-)
>
> diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
> index ff39878609..01b849f6cb 100644
> --- a/lib/librte_vhost/virtio_net.c
> +++ b/lib/librte_vhost/virtio_net.c
> --
> 2.30.2
Patch applied to next-virtio/main, thanks
More information about the dev
mailing list