]> git.droids-corp.org - dpdk.git/blobdiff - drivers/bus/vdev/rte_bus_vdev.h
net/bnxt: add SRAM manager model
[dpdk.git] / drivers / bus / vdev / rte_bus_vdev.h
index f99a41f825f9f4c6519ba3ee71c48a70c43a0426..fc315d10fa9bd2ce4bb41dd93ee7220bf87a5c04 100644 (file)
@@ -113,8 +113,12 @@ struct rte_vdev_driver {
        rte_vdev_remove_t *remove;       /**< Virtual device remove function. */
        rte_vdev_dma_map_t *dma_map;     /**< Virtual device DMA map function. */
        rte_vdev_dma_unmap_t *dma_unmap; /**< Virtual device DMA unmap function. */
+       uint32_t drv_flags;              /**< Flags RTE_VDEV_DRV_*. */
 };
 
+/** Device driver needs IOVA as VA and cannot work with IOVA as PA */
+#define RTE_VDEV_DRV_NEED_IOVA_AS_VA 0x0001
+
 /**
  * Register a virtual device driver.
  *