netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Heng Qi <hengqi@linux.alibaba.com>
To: "Michael S . Tsirkin" <mst@redhat.com>,
	Jason Wang <jasowang@redhat.com>,
	netdev@vger.kernel.org,
	virtualization@lists.linux-foundation.org
Cc: "David S . Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Alexei Starovoitov <ast@kernel.org>,
	Daniel Borkmann <daniel@iogearbox.net>,
	Jesper Dangaard Brouer <hawk@kernel.org>,
	John Fastabend <john.fastabend@gmail.com>,
	Xuan Zhuo <xuanzhuo@linux.alibaba.com>
Subject: [PATCH net-next 8/8] virtio-net: a tiny comment update
Date: Fri, 11 Aug 2023 14:55:12 +0800	[thread overview]
Message-ID: <20230811065512.22190-9-hengqi@linux.alibaba.com> (raw)
In-Reply-To: <20230811065512.22190-1-hengqi@linux.alibaba.com>

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>
---
 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 df7705ca05f0..6d07e496924f 100644
--- a/drivers/net/virtio_net.c
+++ b/drivers/net/virtio_net.c
@@ -3471,7 +3471,7 @@ static void virtnet_rx_dim_work(struct work_struct *work)
 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


  parent reply	other threads:[~2023-08-11  6:55 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-11  6:55 [PATCH net-next 0/8] virtio-net: support dynamic notification coalescing moderation Heng Qi
2023-08-11  6:55 ` [PATCH net-next 1/8] virtio-net: initially change the value of tx-frames Heng Qi
2023-08-11  6:55 ` [PATCH net-next 2/8] virtio-net: fix mismatch of getting txq tx-frames param Heng Qi
2023-08-11  6:55 ` [PATCH net-next 3/8] virtio-net: returns whether napi is complete Heng Qi
2023-08-11  6:55 ` [PATCH net-next 4/8] virtio-net: separate rx/tx coalescing moderation cmds Heng Qi
2023-08-11  6:55 ` [PATCH net-next 5/8] virtio-net: extract virtqueue coalescig cmd for reuse Heng Qi
2023-08-11  6:55 ` [PATCH net-next 6/8] virtio-net: support rx netdim Heng Qi
2023-08-11 14:10   ` kernel test robot
2023-08-12 17:34   ` Simon Horman
2023-08-14  1:57     ` Heng Qi
2023-08-14 13:58   ` kernel test robot
2023-08-11  6:55 ` [PATCH net-next 7/8] virtio-net: support tx netdim Heng Qi
2023-08-11 15:21   ` kernel test robot
2023-08-11  6:55 ` Heng Qi [this message]
2023-08-14  4:38 ` [PATCH net-next 0/8] virtio-net: support dynamic notification coalescing moderation Jason Wang
2023-08-14  6:06   ` Heng Qi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230811065512.22190-9-hengqi@linux.alibaba.com \
    --to=hengqi@linux.alibaba.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hawk@kernel.org \
    --cc=jasowang@redhat.com \
    --cc=john.fastabend@gmail.com \
    --cc=kuba@kernel.org \
    --cc=mst@redhat.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=virtualization@lists.linux-foundation.org \
    --cc=xuanzhuo@linux.alibaba.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).