Fixed a comment in struct virtionet_ctl, referring to the ring type

Signed-off-by: Jay Zhou <jianjay.z...@huawei.com>
---
 drivers/net/virtio/virtio_rxtx.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/virtio/virtio_rxtx.h b/drivers/net/virtio/virtio_rxtx.h
index 28f82d6..9811204 100644
--- a/drivers/net/virtio/virtio_rxtx.h
+++ b/drivers/net/virtio/virtio_rxtx.h
@@ -83,7 +83,7 @@ struct virtnet_ctl {
        const struct rte_memzone *virtio_net_hdr_mz;
        phys_addr_t virtio_net_hdr_mem; /**< hdr for each xmit packet */
        uint8_t port_id;                /**< Device port identifier. */
-       const struct rte_memzone *mz;   /**< mem zone to populate RX ring. */
+       const struct rte_memzone *mz;   /**< mem zone to populate CTL ring. */
 };
 
 int virtio_rxq_vec_setup(struct virtnet_rx *rxvq);
-- 
1.8.3.1


Reply via email to