virtio-net: support dynamic notification coalescing moderation
From: | Heng Qi <hengqi-AT-linux.alibaba.com> | |
To: | "Michael S . Tsirkin" <mst-AT-redhat.com>, Jason Wang <jasowang-AT-redhat.com>, netdev-AT-vger.kernel.org, virtualization-AT-lists.linux-foundation.org | |
Subject: | [PATCH net-next 0/8] virtio-net: support dynamic notification coalescing moderation | |
Date: | Fri, 11 Aug 2023 14:55:04 +0800 | |
Message-ID: | <20230811065512.22190-1-hengqi@linux.alibaba.com> | |
Cc: | "David S . Miller" <davem-AT-davemloft.net>, Eric Dumazet <edumazet-AT-google.com>, Jakub Kicinski <kuba-AT-kernel.org>, Paolo Abeni <pabeni-AT-redhat.com>, Alexei Starovoitov <ast-AT-kernel.org>, Daniel Borkmann <daniel-AT-iogearbox.net>, Jesper Dangaard Brouer <hawk-AT-kernel.org>, John Fastabend <john.fastabend-AT-gmail.com>, Xuan Zhuo <xuanzhuo-AT-linux.alibaba.com> | |
Archive-link: | Article |
Now, virtio-net already supports per-queue notification coalescing parameter setting. Based on this, we use the netdim library[1] of linux to support dynamic notification coalescing moderation for virtio-net. [1] https://docs.kernel.org/networking/net_dim.html This series also introduces some extractions and fixes. Please review. Heng Qi (8): virtio-net: initially change the value of tx-frames virtio-net: fix mismatch of getting txq tx-frames param virtio-net: returns whether napi is complete virtio-net: separate rx/tx coalescing moderation cmds virtio-net: extract virtqueue coalescig cmd for reuse virtio-net: support rx netdim virtio-net: support tx netdim virtio-net: a tiny comment update drivers/net/virtio_net.c | 370 +++++++++++++++++++++++++++++++++------ 1 file changed, 316 insertions(+), 54 deletions(-) -- 2.19.1.6.gb485710b