net/virtio: fix a typo
authorJay Zhou <jianjay.zhou@huawei.com>
Tue, 22 Aug 2017 02:34:36 +0000 (10:34 +0800)
committerYuanhan Liu <yliu@fridaylinux.org>
Tue, 10 Oct 2017 13:54:31 +0000 (15:54 +0200)
Fixed a comment in struct virtionet_ctl, referring to the ring type

Signed-off-by: Jay Zhou <jianjay.zhou@huawei.com>
Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
Acked-by: Yuanhan Liu <yliu@fridaylinux.org>
drivers/net/virtio/virtio_rxtx.h

index 198b2d8..2a7c3ad 100644 (file)
@@ -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 */
        uint16_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);