4f677a1d4c
Rename the nvme_free_request macro to nvme_dealloc_request to match nvme_alloc_request and add a wrapper function to nvme.c so that the macro contents are only expanded once. The DPDK nvme_impl.h uses rte_mempool_put(), which generates a large amount of code inline. Moving this macro expansion to a wrapper function avoids inlining it in the multiple places nvme_free_request() gets called, most of which are error handling cases that are not in the hot I/O path. Change-Id: I64ea9c39ba47e26672eee8d5058f1489e07eee5b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>