numam-dpdk/drivers/raw/octeontx2_dma
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
..
meson.build raw/octeontx2_dma: add driver self test 2019-07-05 12:43:52 +02:00
otx2_dpi_msg.c raw/octeontx2_dma: add device configuration 2019-07-05 12:43:45 +02:00
otx2_dpi_rawdev.c rawdev: add private data size to config inputs 2020-09-11 11:50:55 +02:00
otx2_dpi_rawdev.h raw/octeontx2_dma: add driver self test 2019-07-05 12:43:52 +02:00
otx2_dpi_test.c rawdev: add private data size to config inputs 2020-09-11 11:50:55 +02:00
rte_rawdev_octeontx2_dma_version.map version: 20.11-rc0 2020-08-12 11:32:16 +02:00