Displaying 16 results from an estimated 16 matches for "vdpa_sim_net".
2023 Mar 02
1
[PATCH v2 7/8] vdpa_sim: replace the spinlock with a mutex to protect the state
...son Wang <jasowang at redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare at redhat.com>
---
drivers/vdpa/vdpa_sim/vdpa_sim.h | 4 ++--
drivers/vdpa/vdpa_sim/vdpa_sim.c | 34 ++++++++++++++--------------
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 4 ++--
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 4 ++--
4 files changed, 23 insertions(+), 23 deletions(-)
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.h b/drivers/vdpa/vdpa_sim/vdpa_sim.h
index ce83f9130a5d..4774292fba8c 100644
--- a/drivers/vdpa/vdpa_sim/vdpa_sim.h
+++ b/drivers/vdpa/vdpa_sim/vdpa_sim.h
@@ -60,8 +60,8 @@ struct vdpasim {...
2023 Mar 21
3
[PATCH v3 5/8] vdpa_sim: make devices agnostic for work management
...ked-by: Jason Wang <jasowang at redhat.com>
Signed-off-by: Stefano Garzarella <sgarzare at redhat.com>
---
drivers/vdpa/vdpa_sim/vdpa_sim.h | 3 ++-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 17 +++++++++++++++--
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 6 ++----
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 6 ++----
4 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/drivers/vdpa/vdpa_sim/vdpa_sim.h b/drivers/vdpa/vdpa_sim/vdpa_sim.h
index 144858636c10..acee20faaf6a 100644
--- a/drivers/vdpa/vdpa_sim/vdpa_sim.h
+++ b/drivers/vdpa/vdpa_sim/vdpa_sim.h
@@ -45,7 +45,7 @@ struct vdpasim_...
2023 Apr 10
1
[GIT PULL] virtio: last minute fixes
...s since commit 7e364e56293bb98cae1b55fd835f5991c4e96e7d:
Linux 6.3-rc5 (2023-04-02 14:29:29 -0700)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost.git tags/for_linus
for you to fetch changes up to 9da667e50c7e62266f3c2f8ad57b32fca40716b1:
vdpa_sim_net: complete the initialization before register the device (2023-04-04 14:22:12 -0400)
----------------------------------------------------------------
virtio: last minute fixes
Some last minute fixes - most of them for regressions.
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
-----...
2023 Apr 07
2
[PATCH 0/2] vdpa_sim_blk: support shared backend
...efano Garzarella (2):
vdpa_sim: move buffer allocation in the devices
vdpa_sim_blk: support shared backend
drivers/vdpa/vdpa_sim/vdpa_sim.h | 3 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 7 +--
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 83 +++++++++++++++++++++++++---
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 28 +++++++---
4 files changed, 100 insertions(+), 21 deletions(-)
--
2.39.2
2023 Feb 21
2
[GIT PULL] virtio,vhost,vdpa: features, fixes
.../mlx5: Add debugfs subtree
vdpa/mlx5: Add RX counters to debugfs
vdpa/mlx5: Directly assign memory key
vdpa/mlx5: Don't clear mr struct on destroy MR
vdpa/mlx5: Initialize CVQ iotlb spinlock
Eugenio P?rez (2):
vdpa_sim: not reset state in vdpasim_queue_ready
vdpa_sim_net: Offer VIRTIO_NET_F_STATUS
Jason Wang (11):
vdpa_sim: use weak barriers
vdpa_sim: switch to use __vdpa_alloc_device()
vdpasim: customize allocation size
vdpa_sim: support vendor statistics
vdpa_sim_net: vendor satistics
vdpa_sim: get rid of DMA ops
virtio_...
2022 Oct 21
5
[PATCH v3 0/4] vDPA: initial config export via "vdpa dev show"
...t
vdpa: fix improper error message when adding vdpa dev
drivers/vdpa/ifcvf/ifcvf_main.c | 2 +-
drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
drivers/vdpa/vdpa.c | 63 +++++++++++++++++++++++++++++++++---
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 2 +-
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 2 +-
drivers/vdpa/vdpa_user/vduse_dev.c | 2 +-
drivers/vdpa/virtio_pci/vp_vdpa.c | 3 +-
include/linux/vdpa.h | 26 ++++++++-------
8 files changed, 80 insertions(+), 22 deletions(-)
--
1.8.3.1
2023 Mar 02
8
[PATCH v2 0/8] vdpa_sim: add support for user VA
...im/vdpa_sim.h | 11 +-
include/linux/vdpa.h | 10 ++
include/linux/vringh.h | 5 +-
drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 160 ++++++++++++++---
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 10 +-
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 10 +-
drivers/vhost/vdpa.c | 30 ++++
drivers/vhost/vringh.c | 247 +++++++++++++++++++++------
9 files changed, 395 insertions(+), 90 deletions(-)
--
2.39.2
2023 Apr 04
9
[PATCH v5 0/9] vdpa_sim: add support for user VA
...pport for user VA
drivers/vdpa/vdpa_sim/vdpa_sim.h | 11 +-
include/linux/vdpa.h | 10 ++
include/linux/vringh.h | 9 ++
drivers/vdpa/vdpa_sim/vdpa_sim.c | 161 ++++++++++++++++++++-----
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 10 +-
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 10 +-
drivers/vhost/vdpa.c | 34 ++++++
drivers/vhost/vringh.c | 173 ++++++++++++++++++++++-----
8 files changed, 340 insertions(+), 78 deletions(-)
--
2.39.2
2023 Mar 21
5
[PATCH v3 0/8] vdpa_sim: add support for user VA
...sim.h | 11 +-
include/linux/vdpa.h | 10 ++
include/linux/vringh.h | 5 +-
drivers/vdpa/mlx5/net/mlx5_vnet.c | 2 +-
drivers/vdpa/vdpa_sim/vdpa_sim.c | 144 ++++++++++++++++++++-----
drivers/vdpa/vdpa_sim/vdpa_sim_blk.c | 10 +-
drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 10 +-
drivers/vhost/vdpa.c | 31 ++++++
drivers/vhost/vringh.c | 153 +++++++++++++++++++++------
9 files changed, 301 insertions(+), 75 deletions(-)
--
2.39.2
2023 Feb 23
1
[GIT PULL] virtio,vhost,vdpa: features, fixes
...pa/mlx5: Add RX counters to debugfs
> vdpa/mlx5: Directly assign memory key
> vdpa/mlx5: Don't clear mr struct on destroy MR
> vdpa/mlx5: Initialize CVQ iotlb spinlock
>
> Eugenio P?rez (2):
> vdpa_sim: not reset state in vdpasim_queue_ready
> vdpa_sim_net: Offer VIRTIO_NET_F_STATUS
>
> Jason Wang (11):
> vdpa_sim: use weak barriers
> vdpa_sim: switch to use __vdpa_alloc_device()
> vdpasim: customize allocation size
> vdpa_sim: support vendor statistics
> vdpa_sim_net: vendor satistics
> vd...
2023 Jan 27
0
[PATCH 0/2] Fix expected set_vq_state behavior on vdpa_sim
...> virtual machine migration. Not doing so and letting the caller set an avail
> idx different than 0 causes destination device to try to use old buffers that
> source driver already recover and are not available anymore.
>
> This series fixes both problems allowing to migrate to a vdpa_sim_net device.
Jason problems you pointed out are all consmetic do you ack
the patchset? Or expect another revision?
> Eugenio P?rez (2):
> vdpa_sim: not reset state in vdpasim_queue_ready
> vringh: fetch used_idx from vring at vringh_init_iotlb
>
> drivers/vdpa/vdpa_sim/vdpa_sim.c...
2023 Jan 29
0
[PATCH 1/2] vdpa_sim: not reset state in vdpasim_queue_ready
...ch resets split indexes.
>>> But it can be called after setting a ring base with
>>> vdpasim_set_vq_state.
>>>
>>> Fix it by stashing them. They're still resetted in vdpasim_vq_reset.
>>>
>>> This was discovered and tested live migrating the vdpa_sim_net device.
>>>
>>> Fixes: 2c53d0f64c06 ("vdpasim: vDPA device simulator")
>>> Signed-off-by: Eugenio P?rez <eperezma at redhat.com>
>>> ---
>>> drivers/vdpa/vdpa_sim/vdpa_sim.c | 2 ++
>>> 1 file changed, 2 insertions(+)
>>...
2023 Feb 28
0
[PATCH v2] vdpa_sim: set last_used_idx as last_avail_idx in vdpasim_queue_ready
...ueue_ready. The last_avail_idx case is
>fixed with commit a09f493c ("vdpa_sim: not reset state in
>vdpasim_queue_ready"). Since the only option is to make it equal to
>last_avail_idx, adding the only change needed here.
>
>This was discovered and tested live migrating the vdpa_sim_net device.
>
>Fixes: 2c53d0f64c06 ("vdpasim: vDPA device simulator")
>Signed-off-by: Eugenio P?rez <eperezma at redhat.com>
>---
>Cherry-picked from patch 2/2 of the series [1]. Differences are:
>* Set the value of used_idx at vdpasim_queue_ready instead of fetching
&...
2023 Nov 07
0
[RFC v1 0/8] vhost-vdpa: add support for iommufd
...t;
> Hi All
> This code provides the iommufd support for vdpa device
> This code fixes the bugs from the last version and also add the asid support. rebase on kernel
> v6,6-rc3
> Test passed in the physical device (vp_vdpa), but there are still some problems in the emulated device (vdpa_sim_net),
What kind of problems? Understanding that will make it easier
to figure out whether this is worth reviewing.
> I will continue working on it
>
> The kernel code is
> https://gitlab.com/lulu6/vhost/-/tree/iommufdRFC_v1
>
> Signed-off-by: Cindy Lu <lulu at redhat.com>...
2023 Nov 07
0
[RFC v1 0/8] vhost-vdpa: add support for iommufd
On Sat, Nov 04, 2023 at 01:16:33AM +0800, Cindy Lu wrote:
> Test passed in the physical device (vp_vdpa), but there are still some problems in the emulated device (vdpa_sim_net),
I'm not sure there's even value in bothering with iommufd for the
simulator. Just find a way to disable it and fail gracefully.
--
MST
2023 Nov 07
0
[RFC v1 0/8] vhost-vdpa: add support for iommufd
...provides the iommufd support for vdpa device
> > > This code fixes the bugs from the last version and also add the asid support. rebase on kernel
> > > v6,6-rc3
> > > Test passed in the physical device (vp_vdpa), but there are still some problems in the emulated device (vdpa_sim_net),
> >
> > What kind of problems? Understanding that will make it easier
> > to figure out whether this is worth reviewing.
>
> IMHO, this patch series needs to spend more time internally to Red Hat
> before it is presented to the community. It is too far away from
>...