numam-dpdk/lib/librte_rawdev
Bruce Richardson a951e147ea rawdev: allow devices to skip extra memory allocation
Some device drivers want to allocate their own private memory, and should
be allowed to do so. Therefore skip memory allocation and associated error
checks if zero-length private memory is requested.

While adjusting the code for new indent level, fix incorrect error
message.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
2019-07-04 09:33:59 +02:00
..
Makefile rawdev: remove experimental tag 2018-07-26 23:58:08 +02:00
meson.build rawdev: remove experimental tag 2018-07-26 23:58:08 +02:00
rte_rawdev_pmd.h rawdev: allow devices to skip extra memory allocation 2019-07-04 09:33:59 +02:00
rte_rawdev_version.map rawdev: fix missing queue count API 2018-08-01 18:25:10 +02:00
rte_rawdev.c rawdev: allow devices to skip extra memory allocation 2019-07-04 09:33:59 +02:00
rte_rawdev.h doc: fix spelling reported by aspell in comments 2019-05-03 00:38:14 +02:00