New upstream version 17.11.4
[deb_dpdk.git] / lib / librte_eal / common / include / rte_memory.h
index 80a8fc0..b2a0168 100644 (file)
@@ -209,6 +209,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_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