mbox series

[net,0/6] virtio-net: Fix and update interrupt moderation

Message ID 20230919074915.103110-1-hengqi@linux.alibaba.com (mailing list archive)
Headers show
Series virtio-net: Fix and update interrupt moderation | expand

Message

Heng Qi Sept. 19, 2023, 7:49 a.m. UTC
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/

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 | 118 +++++++++++++++++++++++++++++----------
 1 file changed, 89 insertions(+), 29 deletions(-)