Skip to content

virtio-net: Fix and update interrupt moderation

Heng Qi netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 0 repliesApplied 6/6
  2. v26 patches 3 repliesSuperseded
  3. v16 patches 14 repliesSuperseded

Changes in v3 from the cover letter

1. Fix a tiny comment.

Patches in v3 All 6 applied

#Subject and filesSizeRepliesApplied
1/6virtio-net: initially change the value of tx-framesdrivers/net/virtio_net.c+21 -70 repliesApplied
2/6virtio-net: fix mismatch of getting tx-framesdrivers/net/virtio_net.c+1 -10 repliesApplied
3/6virtio-net: consistently save parameters for per-queuedrivers/net/virtio_net.c+9 -00 repliesApplied
4/6virtio-net: fix per queue coalescing parameter settingdrivers/net/virtio_net.c+16 -200 repliesApplied
5/6virtio-net: fix the vq coalescing setting for vq resizedrivers/net/virtio_net.c+27 -00 repliesApplied
6/6virtio-net: a tiny comment updatedrivers/net/virtio_net.c+1 -10 repliesApplied

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchJason Wang
1/6A-b
2/6A-b
3/6A-b
4/6A-b
5/6A-b
6/6A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 0/6] virtio-net: Fix and update interrupt moderation

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/[email protected]/

---
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(-)
Signature · 1 line
2.19.1.6.gb485710b