]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_ethdev.c
net/virtio: fix packet corruption
[dpdk.git] / drivers / net / virtio / virtio_ethdev.c
index 850e3ba55b0d05dac910de40eb666adc13647446..fcc996e23a3082179a8b9b4f99744414e5a5dde7 100644 (file)
@@ -454,7 +454,7 @@ int virtio_dev_queue_setup(struct rte_eth_dev *dev,
 
        /* For virtio-user case (that is when dev->pci_dev is NULL), we use
         * virtual address. And we need properly set _offset_, please see
-        * MBUF_DATA_DMA_ADDR in virtqueue.h for more information.
+        * VIRTIO_MBUF_DATA_DMA_ADDR in virtqueue.h for more information.
         */
        if (dev->pci_dev)
                vq->offset = offsetof(struct rte_mbuf, buf_physaddr);