Probably messed something in the rebase. + got the wrong title prefix. Petri Reviewed the API change. Should I put it myself in the commit when I repost the series?
On 10/28/2015 11:16 AM, Maxim Uvarov wrote: > > Was there any Review-by to include to patches? > > packet test fails: > > PASS: ../../../test/validation/init/init_main_abort > PASS: ../../../test/validation/init/init_main_log > FAIL: ../../../test/validation/packet/packet_main > PASS: ../../../test/validation/pool/pool_main > > but from ./test/validation/packet/packet_main.log looks like all passed. > Please take a look at it. > > > Maxim. > > On 10/27/2015 20:52, Nicolas Morey-Chaisemartin wrote: >> Signed-off-by: Nicolas Morey-Chaisemartin <nmo...@kalray.eu> >> --- >> include/odp/api/buffer.h | 26 ++++++++++++++++++++++++++ >> 1 file changed, 26 insertions(+) >> >> diff --git a/include/odp/api/buffer.h b/include/odp/api/buffer.h >> index aea273f..6631f47 100644 >> --- a/include/odp/api/buffer.h >> +++ b/include/odp/api/buffer.h >> @@ -105,6 +105,20 @@ odp_pool_t odp_buffer_pool(odp_buffer_t buf); >> odp_buffer_t odp_buffer_alloc(odp_pool_t pool); >> /** >> + * Allocate multiple buffers >> + >> + * Otherwise like odp_buffer_alloc(), but allocates multiple buffers from a >> pool >> + * >> + * @param pool Pool handle >> + * @param[out] buf Array of buffer handles for output >> + * @param num Maximum number of buffers to allocate >> + * >> + * @return Number of buffers actually allocated (0 ... num) >> + * @retval <0 on failure >> + */ >> +int odp_buffer_alloc_multi(odp_pool_t pool, odp_buffer_t buf[], int num); >> + >> +/** >> * Buffer free >> * >> * @param buf Buffer handle >> @@ -113,6 +127,18 @@ odp_buffer_t odp_buffer_alloc(odp_pool_t pool); >> void odp_buffer_free(odp_buffer_t buf); >> /** >> + * Free multiple buffers >> + * >> + * Otherwise like odp_buffer_free(), but frees multiple buffers >> + * to their originating pools. >> + * >> + * @param buf Array of buffer handles >> + * @param num Number of buffer handles to free >> + * >> + */ >> +void odp_buffer_free_multi(const odp_buffer_t buf[], int num); >> + >> +/** >> * Print buffer metadata to STDOUT >> * >> * @param buf Buffer handle > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-odp _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp