On 5/23/2016 1:40 PM, Jan Viktorin wrote:
> On Thu, 19 May 2016 14:45:01 +0100
> David Hunt <david.hunt at intel.com> wrote:

--snip--

>> +    mp = rte_mempool_create_empty(name, n, elt_size, cache_size,
>> +             sizeof(struct rte_pktmbuf_pool_private), socket_id, 0);
>> +    if (mp == NULL)
>> +            return NULL;
>> +
>> +    rte_mempool_set_handler(mp, RTE_MBUF_DEFAULT_MEMPOOL_HANDLER);
> Check for a failure is missing here. Especially -EEXIST.

Done.

--snip--


Thanks,
Dave.


Reply via email to