Re: [ovs-dev] [PATCH v2 10/12] odp-execute: Use const qualifer for batch size.

2017-11-03 Thread Ben Pfaff
On Wed, Sep 20, 2017 at 02:12:59PM +0100, Bhanuprakash Bodireddy wrote: > It is recommended to use const qualifer for 'num' that tracks the > packet batch count. This way 'num' can't be modified by iterator. > > Signed-off-by: Bhanuprakash Bodireddy Applied to

[ovs-dev] [PATCH v2 10/12] odp-execute: Use const qualifer for batch size.

2017-09-20 Thread Bhanuprakash Bodireddy
It is recommended to use const qualifer for 'num' that tracks the packet batch count. This way 'num' can't be modified by iterator. Signed-off-by: Bhanuprakash Bodireddy --- lib/odp-execute.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git