5e9d859327
Rather than forcing the NVMe library user to pass a specially-allocated block of memory (e.g. rte_malloc() in the case of the default nvme_impl.h), just make the NVMe library allocate a suitable buffer itself and copy to/from the user buffer as needed. The fast path I/O functions still require special rte_malloc() allocations, since we don't want to add an allocation and copy to the I/O critical path. Change-Id: I7fe88c0ba60c859a33bbe95b7713f423c6bf1ea8 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>