According to the rte_mempool.h, the retrieved pointer will be valid when rte_mempool_get() returns 0. Change-Id: Iac8a62f9dd39cd7b70478009503f17d78375a124 Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-on: https://review.gerrithub.io/391161 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>