mempool: fix first memory area notification
authorPavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Sun, 24 Dec 2017 12:47:55 +0000 (18:17 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 12 Jan 2018 17:30:20 +0000 (18:30 +0100)
commitbe2d94e5ebe9210d10389ad0646529300363833b
tree416a62f18347b723a97058a2434b0c92148cb396
parentb6f26c9db26482d0e8c004b138aa72bdf5f6c975
mempool: fix first memory area notification

Mempool creation needs to be completed first before notifying mempool to
register the mempool area.

Fixes: 12b8cc1a7e86 ("mempool: notify memory area to pool")
Cc: stable@dpdk.org
Signed-off-by: Pavan Nikhilesh <pbhagavatula@caviumnetworks.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
lib/librte_mempool/rte_mempool.c