]> git.droids-corp.org - dpdk.git/commit
net/virtio: support NAPI when using vhost-net backend
authorHarold Huang <baymaxhuang@gmail.com>
Wed, 2 Mar 2022 09:41:05 +0000 (17:41 +0800)
committerMaxime Coquelin <maxime.coquelin@redhat.com>
Mon, 9 May 2022 19:15:38 +0000 (21:15 +0200)
commit666ff7763582bf2494e85b5175fc549ae89aa9fd
treea89a655ecd512377e604e0fdac04c506848d3b93
parent745b88360817c1003a9f5282cf899f790440b189
net/virtio: support NAPI when using vhost-net backend

In patch [1], NAPI has been supported in kernel tun driver to accelerate
packet processing received from vhost-net. This will greatly improve the
throughput of the tap device in the vhost-net backend.

[1]: https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=fb3f903769e8

Signed-off-by: Harold Huang <baymaxhuang@gmail.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_user/vhost_kernel.c
drivers/net/virtio/virtio_user/vhost_kernel_tap.c
drivers/net/virtio/virtio_user/vhost_kernel_tap.h