Dmitry Eremin-Solenikov(lumag) replied on github web page:

include/odp/api/spec/pool.h
line 11
@@ -172,7 +172,20 @@ int odp_pool_capability(odp_pool_capability_t *capa);
 typedef struct odp_pool_param_t {
        /** Pool type */
        int type;
-
+       /** Flag to indicate whether user is requesting for contiguous
+           memory for buffers or packets in pool.
+           If TRUE, then address range for buffers or packets
+           must be returned by API as addr_start & addr_len.
+           If FALSE, then filling these parameters is optional.
+        */
+       odp_bool_t contig_mem;


Comment:
Isn't setting `seg_len` enough? Maybe we should provide an updated definition 
for `seg_len`  (e.g. in case `seg_len > max_len`, always use single segment).

https://github.com/Linaro/odp/pull/200#discussion_r142567678
updated_at 2017-10-04 02:06:28

Reply via email to