Spdk/test/lib/nvme/unit
Daniel Verkamp 4f677a1d4c nvme: only invoke request free macro in one place
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>
2015-10-20 07:43:41 -07:00
..
nvme_c nvme: remove dump_command and dump_completion 2015-09-22 15:48:12 -07:00
nvme_ctrlr_c nvme: Update nvme unit test 2015-09-28 10:02:41 -07:00
nvme_ctrlr_cmd_c nvme: make the unit test assert actually assert 2015-09-28 14:04:07 -07:00
nvme_ns_cmd_c nvme/test: fix memory leaks in nvme_ns_cmd_ut 2015-10-19 10:57:34 -07:00
nvme_qpair_c nvme: only invoke request free macro in one place 2015-10-20 07:43:41 -07:00
Makefile SPDK: Initial check-in 2015-09-21 08:52:41 -07:00
nvme_impl.h nvme: only invoke request free macro in one place 2015-10-20 07:43:41 -07:00