netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] virtio-net: Fix and update interrupt moderation
@ 2023-10-08  6:27 Heng Qi
  2023-10-08  6:27 ` [PATCH v3 1/6] virtio-net: initially change the value of tx-frames Heng Qi
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Heng Qi @ 2023-10-08  6:27 UTC (permalink / raw)
  To: netdev, virtualization
  Cc: Jason Wang, Michael S. Tsirkin, Xuan Zhuo, David S. Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni, Alexei Starovoitov,
	Daniel Borkmann, Jesper Dangaard Brouer, John Fastabend

The setting of virtio coalescing parameters involves all-queues and
per queue, so we must be careful to synchronize the two.

Regarding napi_tx switching, this patch set is not only
compatible with the previous way of using tx-frames to switch napi_tx,
but also improves the user experience when setting interrupt parameters.

This patch set has been tested and was part of the previous netdim patch
set[1] and is now being split to be rolled out in steps.

[1] https://lore.kernel.org/all/20230811065512.22190-1-hengqi@linux.alibaba.com/

---
v2->v3:
    1. Fix a tiny comment.

v1->v2:
    1. Fix some minor comments and add ack tags.

Heng Qi (6):
  virtio-net: initially change the value of tx-frames
  virtio-net: fix mismatch of getting tx-frames
  virtio-net: consistently save parameters for per-queue
  virtio-net: fix per queue coalescing parameter setting
  virtio-net: fix the vq coalescing setting for vq resize
  virtio-net: a tiny comment update

 drivers/net/virtio_net.c | 104 ++++++++++++++++++++++++++++-----------
 1 file changed, 75 insertions(+), 29 deletions(-)

-- 
2.19.1.6.gb485710b


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-10-11  6:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-08  6:27 [PATCH v3 0/6] virtio-net: Fix and update interrupt moderation Heng Qi
2023-10-08  6:27 ` [PATCH v3 1/6] virtio-net: initially change the value of tx-frames Heng Qi
2023-10-08  6:27 ` [PATCH v3 2/6] virtio-net: fix mismatch of getting tx-frames Heng Qi
2023-10-08  6:27 ` [PATCH v3 3/6] virtio-net: consistently save parameters for per-queue Heng Qi
2023-10-08  6:27 ` [PATCH v3 4/6] virtio-net: fix per queue coalescing parameter setting Heng Qi
2023-10-08  6:27 ` [PATCH v3 5/6] virtio-net: fix the vq coalescing setting for vq resize Heng Qi
2023-10-08  6:27 ` [PATCH v3 6/6] virtio-net: a tiny comment update Heng Qi
2023-10-11  6:20 ` [PATCH v3 0/6] virtio-net: Fix and update interrupt moderation patchwork-bot+netdevbpf

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).