public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Stefano Brivio <sbrivio@redhat.com>
To: passt-dev@passt.top
Cc: Laurent Vivier <lvivier@redhat.com>
Subject: Re: [PATCH v3 0/4] Add vhost-user support to passt. (part 3)
Date: Fri, 23 Aug 2024 14:32:32 +0200	[thread overview]
Message-ID: <20240823143232.048ac263@elisabeth> (raw)
In-Reply-To: <20240822185300.46dd34f1@elisabeth>

On Thu, 22 Aug 2024 18:53:00 +0200
Stefano Brivio <sbrivio@redhat.com> wrote:

> On Wed, 21 Aug 2024 00:41:14 +0200
> Stefano Brivio <sbrivio@redhat.com> wrote:
> 
> > On Thu, 15 Aug 2024 17:50:19 +0200
> > Laurent Vivier <lvivier@redhat.com> wrote:
> >   
> > > This series of patches adds vhost-user support to passt
> > > and then allows passt to connect to QEMU network backend using
> > > virtqueue rather than a socket.
> > > 
> > > With QEMU, rather than using to connect:
> > > 
> > >   -netdev stream,id=s,server=off,addr.type=unix,addr.path=/tmp/passt_1.socket
> > > 
> > > we will use:
> > > 
> > >   -chardev socket,id=chr0,path=/tmp/passt_1.socket
> > >   -netdev vhost-user,id=netdev0,chardev=chr0
> > >   -device virtio-net,netdev=netdev0
> > >   -object memory-backend-memfd,id=memfd0,share=on,size=$RAMSIZE
> > >   -numa node,memdev=memfd0
> > > 
> > > The memory backend is needed to share data between passt and QEMU.
> > > 
> > > Performance comparison between "-netdev stream" and "-netdev vhost-user":    
> > 
> > By the way, I attached a quick patch adding vhost-user-based tests to
> > the usual throughput and latency tests.
> > 
> > UDP doesn't work (I didn't look into that at all), TCP does.  
> 
> Complete/fixed patch attached. The only part of UDP that's not working
> is actually over IPv6 -- it works over IPv4.

...guest to host, that is. The other direction works.

-- 
Stefano


      reply	other threads:[~2024-08-23 12:32 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-15 15:50 [PATCH v3 0/4] Add vhost-user support to passt. (part 3) Laurent Vivier
2024-08-15 15:50 ` [PATCH v3 1/4] packet: replace struct desc by struct iovec Laurent Vivier
2024-08-20  0:27   ` David Gibson
2024-08-15 15:50 ` [PATCH v3 2/4] vhost-user: introduce virtio API Laurent Vivier
2024-08-20  1:00   ` David Gibson
2024-08-22 22:14   ` Stefano Brivio
2024-08-15 15:50 ` [PATCH v3 3/4] vhost-user: introduce vhost-user API Laurent Vivier
2024-08-22 22:14   ` Stefano Brivio
2024-08-26  5:27     ` David Gibson
2024-08-26  7:55       ` Stefano Brivio
2024-08-26  9:53         ` David Gibson
2024-08-26  5:26   ` David Gibson
2024-08-26 22:14     ` Stefano Brivio
2024-08-27  4:42       ` David Gibson
2024-09-05  9:58     ` Laurent Vivier
2024-08-15 15:50 ` [PATCH v3 4/4] vhost-user: add vhost-user Laurent Vivier
2024-08-22  9:59   ` Stefano Brivio
2024-08-22 22:14   ` Stefano Brivio
2024-08-23 12:32   ` Stefano Brivio
2024-08-20 22:41 ` [PATCH v3 0/4] Add vhost-user support to passt. (part 3) Stefano Brivio
2024-08-22 16:53   ` Stefano Brivio
2024-08-23 12:32     ` Stefano Brivio [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240823143232.048ac263@elisabeth \
    --to=sbrivio@redhat.com \
    --cc=lvivier@redhat.com \
    --cc=passt-dev@passt.top \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).