virtio-net: a tiny comment update
authorHeng Qi <hengqi@linux.alibaba.com>
Sun, 8 Oct 2023 06:27:44 +0000 (14:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Oct 2023 06:13:50 +0000 (07:13 +0100)
Update a comment because virtio-net now supports both
VIRTIO_NET_F_NOTF_COAL and VIRTIO_NET_F_VQ_NOTF_COAL.

Signed-off-by: Heng Qi <hengqi@linux.alibaba.com>
Acked-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/virtio_net.c

index 26e4a7749628b622e446ef372dbde355dfb990fe..a52fd743504a6c41c0f07429320bde7aca4f43bb 100644 (file)
@@ -3347,7 +3347,7 @@ static int virtnet_send_notf_coal_vq_cmds(struct virtnet_info *vi,
 static int virtnet_coal_params_supported(struct ethtool_coalesce *ec)
 {
        /* usecs coalescing is supported only if VIRTIO_NET_F_NOTF_COAL
-        * feature is negotiated.
+        * or VIRTIO_NET_F_VQ_NOTF_COAL feature is negotiated.
         */
        if (ec->rx_coalesce_usecs || ec->tx_coalesce_usecs)
                return -EOPNOTSUPP;