> -----Original Message----- > From: dev <dev-boun...@dpdk.org> On Behalf Of Balazs Nemeth > Sent: Tuesday, April 13, 2021 9:31 PM > To: bnem...@redhat.com; dev@dpdk.org; maxime.coque...@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 <bnem...@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