numam-dpdk/doc/guides/rawdevs
Bruce Richardson 8db9dce72d rawdev: add private data size to config inputs
Currently with the rawdev API there is no way to check that the structure
passed in via the dev_private pointer in the structure passed to configure
API is of the correct type - it's just checked that it is non-NULL. Adding
in the length of the expected structure provides a measure of typechecking,
and can also be used for ABI compatibility in future, since ABI changes
involving structs almost always involve a change in size.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: Rosen Xu <rosen.xu@intel.com>
Acked-by: Nipun Gupta <nipun.gupta@nxp.com>
2020-09-11 11:50:55 +02:00
..
dpaa2_cmdif.rst doc: bump supported SDK and firmware version for DPAA2 2019-11-06 22:00:50 +01:00
dpaa2_qdma.rst doc: bump supported SDK and firmware version for DPAA2 2019-11-06 22:00:50 +01:00
ifpga.rst drivers/raw: remove rawdev from directory names 2019-07-30 15:20:41 +02:00
index.rst raw/octeontx2_ep: add build infra and device probe 2020-01-20 09:04:39 +01:00
ioat.rst rawdev: add private data size to config inputs 2020-09-11 11:50:55 +02:00
ntb.rst doc: fix igb_uio parameter in ntb guide 2020-01-20 10:14:03 +01:00
octeontx2_dma.rst rawdev: add private data size to config inputs 2020-09-11 11:50:55 +02:00
octeontx2_ep.rst rawdev: add private data size to config inputs 2020-09-11 11:50:55 +02:00