Re: [dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately

2021-04-27 Thread Xia, Chenbo
> -Original Message- > From: dev 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 re

Re: [dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately

2021-04-15 Thread Maxime Coquelin
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 > --- > lib/librte_vhost/virtio_net.c | 13 +++-- > 1 file changed, 3

[dpdk-dev] [PATCH v3] vhost: don't track remaining packets separately

2021-04-13 Thread Balazs Nemeth
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 --- lib/librte_vhost/virtio_net.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/lib/librte_vh