Re: [ovs-dev] [PATCH 5/5] dpif-netdev: batch packet sending

2014-06-03 Thread Daniele Di Proietto
On May 30, 2014, at 4:55 PM, Pravin Shelar wrote: >> >> int i; >> >> +memset(&batch, 0, sizeof batch); >> + > Is there need to reset batch? can batch_init() take care of it? You’re right. It should be enough to set batch.flow to NULL. > >> +for (i = 0; i < c; i++) { >> +

Re: [ovs-dev] [PATCH 5/5] dpif-netdev: batch packet sending

2014-05-30 Thread Pravin Shelar
On Fri, May 23, 2014 at 11:04 AM, Daniele Di Proietto wrote: > Signed-off-by: Daniele Di Proietto > --- > lib/dpif-netdev.c | 238 > +++--- > 1 file changed, 157 insertions(+), 81 deletions(-) > > diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c

[ovs-dev] [PATCH 5/5] dpif-netdev: batch packet sending

2014-05-23 Thread Daniele Di Proietto
Signed-off-by: Daniele Di Proietto --- lib/dpif-netdev.c | 238 +++--- 1 file changed, 157 insertions(+), 81 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 43bfc20..f1f8b54 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev