Thread (21 messages) 21 messages, 3 authors, 2023-09-25

Re: [PATCH net 6/6] virtio-net: a tiny comment update

From: Jason Wang <hidden>
Date: 2023-09-22 04:30:29
Also in: virtualization

On Tue, Sep 19, 2023 at 3:49 PM Heng Qi [off-list ref] wrote:
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 <redacted>
Acked-by: Jason Wang <redacted>

Thanks
quoted hunk ↗ jump to hunk
---
 drivers/net/virtio_net.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c
index 9888218abab4..dd498fa468c0 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -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;
--
2.19.1.6.gb485710b
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help