virtualization.lists.linux-foundation.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v7 0/3] vduse: add support for networking devices
@ 2024-01-09 11:10 Maxime Coquelin
  2024-01-09 11:10 ` [PATCH v7 1/3] vduse: validate block features only with block devices Maxime Coquelin
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Maxime Coquelin @ 2024-01-09 11:10 UTC (permalink / raw)
  To: mst, jasowang, xuanzhuo, xieyongji, virtualization, linux-kernel,
	david.marchand, lulu
  Cc: Maxime Coquelin

This small series enables virtio-net device type in VDUSE.
With it, basic operation have been tested, both with
virtio-vdpa and vhost-vdpa using DPDK Vhost library series
adding VDUSE support using split rings layout (merged in
DPDK v23.07-rc1).

Control queue support (and so multiqueue) has also been
tested, but requires a Kernel series from Jason Wang
relaxing control queue polling [1] to function reliably,
so while Jason rework is done, a patch is added to fail init
if control queue feature is requested.(tested also with DPDK
v23.11).


Changes in v7:
==============
- Fail init only if VIRTIO_NET_F_CTRL_VQ is requested.
- Convert to use BIT_ULL() macro
- Rebased

Changes in v6:
==============
- Remove SELinux support from the series, will be handled
  in a dedicated one.
- Require CAP_NET_ADMIN for Net devices creation (Jason).
- Fail init if control queue features are requested for
  Net device type (Jason).
- Rebased on latest master.

Changes in v5:
==============
- Move control queue disablement patch before Net
  devices enablement (Jason).
- Unify operations LSM hooks into a single hook.
- Rebase on latest master.

Maxime Coquelin (3):
  vduse: validate block features only with block devices
  vduse: Temporarily fail if control queue feature requested
  vduse: enable Virtio-net device type

 drivers/vdpa/vdpa_user/vduse_dev.c | 24 ++++++++++++++++++++----
 1 file changed, 20 insertions(+), 4 deletions(-)

-- 
2.43.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-03-19 12:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-09 11:10 [PATCH v7 0/3] vduse: add support for networking devices Maxime Coquelin
2024-01-09 11:10 ` [PATCH v7 1/3] vduse: validate block features only with block devices Maxime Coquelin
2024-01-09 11:10 ` [PATCH v7 2/3] vduse: Temporarily fail if control queue feature requested Maxime Coquelin
2024-01-09 11:38   ` Eugenio Perez Martin
2024-01-10  3:20   ` Yongji Xie
2024-01-11  3:10   ` Jason Wang
2024-01-09 11:10 ` [PATCH v7 3/3] vduse: enable Virtio-net device type Maxime Coquelin
2024-01-10  3:27   ` Yongji Xie
2024-02-01  8:34 ` [PATCH v7 0/3] vduse: add support for networking devices Maxime Coquelin
2024-02-01  8:40   ` Michael S. Tsirkin
2024-02-01  8:42     ` Maxime Coquelin
2024-02-29 10:16     ` Maxime Coquelin
2024-03-19 12:21       ` Michael S. Tsirkin

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).