]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_eal/common/include/rte_memory.h
mem: add function for checking memseg IOVA
[dpdk.git] / lib / librte_eal / common / include / rte_memory.h
index ffdd56bfba3497c43f712b82b209600a662fd1c7..ce9370582c1c83ebb4e724c2cd9bb357509211f6 100644 (file)
@@ -463,6 +463,9 @@ unsigned rte_memory_get_nchannel(void);
  */
 unsigned rte_memory_get_nrank(void);
 
+/* check memsegs iovas are within a range based on dma mask */
+int __rte_experimental rte_eal_check_dma_mask(uint8_t maskbits);
+
 /**
  * Drivers based on uio will not load unless physical
  * addresses are obtainable. It is only possible to get