[PATCH] net/virtio: support NAPI when using vhost_net backend

Maxime Coquelin maxime.coquelin at redhat.com
Thu May 5 21:53:14 CEST 2022



On 3/2/22 10:41, Harold Huang wrote:
> 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 at gmail.com>
> ---
>   drivers/net/virtio/virtio_user/vhost_kernel.c     | 9 +++++++--
>   drivers/net/virtio/virtio_user/vhost_kernel_tap.c | 4 ++--
>   drivers/net/virtio/virtio_user/vhost_kernel_tap.h | 3 ++-
>   3 files changed, 11 insertions(+), 5 deletions(-)
> 

Applied to dpdk-next-virtio/main.

Thanks,
Maxime



More information about the dev mailing list