]> git.proxmox.com Git - ovs.git/commit - lib/odp-execute.c
odp-execute: Use const qualifer for batch size.
authorBhanuprakash Bodireddy <bhanuprakash.bodireddy@intel.com>
Wed, 20 Sep 2017 13:12:59 +0000 (14:12 +0100)
committerBen Pfaff <blp@ovn.org>
Fri, 3 Nov 2017 20:22:00 +0000 (13:22 -0700)
commit95e620b48cbf909b2945b743e3ebb60fa6d6c7e6
tree1eb40ea92188a91c43e8faff06f6a2d0b0e5b807
parente0a00cee33aca9f8abe3b521d85f93244589fafb
odp-execute: Use const qualifer for batch size.

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 <bhanuprakash.bodireddy@intel.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
lib/odp-execute.c