[PATCH v2 1/2] net/virtio-user: improve kick performance with notification area mapping
    Maxime Coquelin 
    maxime.coquelin at redhat.com
       
    Tue Feb  6 15:57:49 CET 2024
    
    
  
On 1/23/24 11:55, Srujana Challa wrote:
> This patch introduces new virtio-user callbacks to map the vq
> notification area and implements it for the vhost-vDPA backend.
> This is simply done by using mmap()/munmap() for the vhost-vDPA fd.
> 
> And also adds code to write to queue notify address in notify callback.
> This will help in increasing the kick performance.
> 
> Signed-off-by: Srujana Challa <schalla at marvell.com>
> ---
>   drivers/net/virtio/virtio_user/vhost.h        |  2 +
>   drivers/net/virtio/virtio_user/vhost_vdpa.c   | 68 +++++++++++++++++++
>   .../net/virtio/virtio_user/virtio_user_dev.c  | 43 ++++++++++--
>   .../net/virtio/virtio_user/virtio_user_dev.h  |  2 +
>   drivers/net/virtio/virtio_user_ethdev.c       | 37 ++++++++--
>   5 files changed, 143 insertions(+), 9 deletions(-)
> 
Applied to next-virtio tree.
Thanks,
Maxime
    
    
More information about the dev
mailing list