The maximum size of the pool ring is 1M entries as it uses an array. However, the application provides the number of buffers in a pool during pool creation. Hence, the maximum pool ring size can be dynamic.
----------------github------------------------ /** Email created from pull request 312 (nagarahalli:2.0-pool-ring-alloc-mem) ** https://github.com/Linaro/odp/pull/312 ** Patch: https://github.com/Linaro/odp/pull/312.patch ** Base sha: 7074b71b266de9c4eb5bf03513186a72ea27b2bc ** Merge commit sha: f6e1b802c13d4f93d96e8b309712f74109d1cfd3 **/ ----------------/github------------------------ ----------------checkpatch.pl------------------------ CHECK: Alignment should match open parenthesis #78: FILE: platform/linux-generic/pool/generic.c:174: + snprintf(ring_name, ODP_POOL_NAME_LEN, + "pool_ring_%d", i); total: 0 errors, 0 warnings, 1 checks, 114 lines checked to_send-p-000.patch has style problems, please review. If any of these errors are false positives, please report them to the maintainer, see CHECKPATCH in MAINTAINERS. total: 0 errors, 0 warnings, 0 checks, 54 lines checked to_send-p-001.patch has no obvious style problems and is ready for submission. ----------------/checkpatch.pl------------------------