ring: increase maximum ring size
authorOlivier Matz <olivier.matz@6wind.com>
Wed, 20 Sep 2017 11:32:15 +0000 (13:32 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 5 Oct 2017 21:23:12 +0000 (23:23 +0200)
commit72ca23c1cee85e7d145dc611f236edf50834395c
tree47da605aa8ad298ff3d1494f39a465853d8099bd
parente25da5a0a32ea20f6fdb9195e2f2d66500b81c0f
ring: increase maximum ring size

There is no reason to prevent ring from being larger than 0x0FFFFFFF.
Increase the maximum size to 0x7FFFFFFF, which is the maximum possible
without changing the code and the structure definition (size is stored
on a uint32_t).

Link: http://dpdk.org/ml/archives/dev/2017-September/074701.html
Suggested-by: Venkatesh Nuthula <venki497@gmail.com>
Signed-off-by: Olivier Matz <olivier.matz@6wind.com>
Reviewed-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_ring/rte_ring.h