]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_rxtx.h
drivers/net: rename physical address type to IOVA
[dpdk.git] / drivers / net / virtio / virtio_rxtx.h
index 2a7c3ad3adee401c4be25ca708c3afb939922db3..54f1e849b04536896c49ccdf2fd72a9127796575 100644 (file)
@@ -66,7 +66,7 @@ struct virtnet_tx {
        struct virtqueue *vq;
        /**< memzone to populate hdr. */
        const struct rte_memzone *virtio_net_hdr_mz;
-       phys_addr_t virtio_net_hdr_mem;  /**< hdr for each xmit packet */
+       rte_iova_t virtio_net_hdr_mem;   /**< hdr for each xmit packet */
 
        uint16_t    queue_id;            /**< DPDK queue index. */
        uint16_t    port_id;             /**< Device port identifier. */
@@ -81,7 +81,7 @@ struct virtnet_ctl {
        struct virtqueue *vq;
        /**< memzone to populate hdr. */
        const struct rte_memzone *virtio_net_hdr_mz;
-       phys_addr_t virtio_net_hdr_mem; /**< hdr for each xmit packet */
+       rte_iova_t virtio_net_hdr_mem;  /**< hdr for each xmit packet */
        uint16_t port_id;               /**< Device port identifier. */
        const struct rte_memzone *mz;   /**< mem zone to populate CTL ring. */
 };