X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=drivers%2Fbus%2Fvdev%2Frte_bus_vdev.h;h=fc315d10fa9bd2ce4bb41dd93ee7220bf87a5c04;hb=37ff91c158a342f1f4757983da078d0a9d4992d0;hp=f99a41f825f9f4c6519ba3ee71c48a70c43a0426;hpb=2d9b1272609a408741673d1639dfef6c510f387f;p=dpdk.git diff --git a/drivers/bus/vdev/rte_bus_vdev.h b/drivers/bus/vdev/rte_bus_vdev.h index f99a41f825..fc315d10fa 100644 --- a/drivers/bus/vdev/rte_bus_vdev.h +++ b/drivers/bus/vdev/rte_bus_vdev.h @@ -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. *