Spdk/lib/env_dpdk
Shuhei Matsumoto e9dff43982 env: Check return value of rte_mempool_get in spdk_mempool_get
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>
2017-12-11 14:53:28 -05:00
..
env_internal.h vtophys: remap vfio dma memory when necessary 2017-12-11 11:38:38 -05:00
env.c env: Check return value of rte_mempool_get in spdk_mempool_get 2017-12-11 14:53:28 -05:00
env.mk env/dpdk: compile with rte_pci and rte_bus_pci for DPDK 17.11-rc1 2017-11-15 17:52:05 -05:00
init.c env/dpdk: unlink hugepage_info and config files immediately for single process apps 2017-10-20 19:43:26 -04:00
Makefile env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
memory.c env: Remove old translation reference counting 2017-09-01 15:25:24 -04:00
pci_ioat.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_nvme.c env: register PMDs on associated first probe 2017-03-06 12:44:34 -07:00
pci_virtio.c env: add pci_virtio.c 2017-09-26 14:28:24 -04:00
pci.c vtophys: remap vfio dma memory when necessary 2017-12-11 11:38:38 -05:00
threads.c env: Add wrappers to launch and wait for threads 2017-06-07 12:34:15 -04:00
vtophys.c vtophys: remap vfio dma memory when necessary 2017-12-11 11:38:38 -05:00