DPDK patches and discussions
 help / color / mirror / Atom feed
From: Maxime Coquelin <maxime.coquelin@redhat.com>
To: dev@dpdk.org, david.marchand@redhat.com, chenbox@nvidia.com
Cc: Maxime Coquelin <maxime.coquelin@redhat.com>
Subject: [PATCH v4 0/5] vhost: FD manager improvements
Date: Tue, 11 Jun 2024 15:39:52 +0200	[thread overview]
Message-ID: <20240611133957.72032-1-maxime.coquelin@redhat.com> (raw)


This series aims at improving the Vhost FD manager.
The fdset internals is hidden from its callers, the
notification/synchronization is made systematic for
every FD add/del operations and finally the code is
reworked to make use of epoll insteal of poll which
reduces the complexity (less locks involved,
synchrnoization no more necessary).

The series has been tested with both Vhost-user/Virtio-user
and with VDUSE.

Changes in v4:
==============
- Remove useless parameter check (Stephen)
- Error handling in dset_add (Chenbo)
- Destroy support fixup in even dispatcher (Chenbo)
- Refactor fdentry insertion/removal
- Rebased on top of next-virtio/staging

David Marchand (1):
  vhost: manage FD with epoll

Maxime Coquelin (4):
  vhost: rename polling mutex
  vhost: make use of FD manager init function
  vhost: hide synchronization within FD manager
  vhost: improve fdset initialization

 lib/vhost/fd_man.c | 456 ++++++++++++++++++++++-----------------------
 lib/vhost/fd_man.h |  48 +----
 lib/vhost/socket.c |  38 +---
 lib/vhost/vduse.c  |  52 ++----
 4 files changed, 252 insertions(+), 342 deletions(-)

-- 
2.45.1


             reply	other threads:[~2024-06-11 13:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11 13:39 Maxime Coquelin [this message]
2024-06-11 13:39 ` [PATCH v4 1/5] vhost: rename polling mutex Maxime Coquelin
2024-06-11 13:39 ` [PATCH v4 2/5] vhost: make use of FD manager init function Maxime Coquelin
2024-06-11 13:39 ` [PATCH v4 3/5] vhost: hide synchronization within FD manager Maxime Coquelin
2024-06-11 13:39 ` [PATCH v4 4/5] vhost: improve fdset initialization Maxime Coquelin
2024-06-11 13:39 ` [PATCH v4 5/5] vhost: manage FD with epoll Maxime Coquelin
2024-06-11 14:52 ` [PATCH v4 0/5] vhost: FD manager improvements David Marchand
2024-06-12  8:41 ` Maxime Coquelin

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=20240611133957.72032-1-maxime.coquelin@redhat.com \
    --to=maxime.coquelin@redhat.com \
    --cc=chenbox@nvidia.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    /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.
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 NNTP newsgroup(s).