The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH V3 0/4] Vendor stats support in vdpasim_net
@ 2022-12-23  5:55 Jason Wang
  2022-12-23  5:55 ` [PATCH V3 1/4] vdpa_sim: switch to use __vdpa_alloc_device() Jason Wang
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jason Wang @ 2022-12-23  5:55 UTC (permalink / raw)
  To: mst, jasowang; +Cc: sgarzare, eperezma, virtualization, linux-kernel

Hi All:

This series implements vendor stats in vdpasim_net. Please review.

Thanks

Changes since V2:

- rebase to Michale's tree (linux-next branch)
- remove unnecessary blank lines
- twaek the error code handling

Changes since V1:

- typo fixes
- move the duplicated get_vendor_vq_stats() in
  vdpasim_batch_config_ops to vdpa_sim_config_ops
- use -EOPNOTSUPP instead of -EINVAL in vdpasim_get_vq_stats
- introdce a dedicated variable to record the successful cvq request
  and track the number of requests correctly

Jason Wang (4):
  vdpa_sim: switch to use __vdpa_alloc_device()
  vdpasim: customize allocation size
  vdpa_sim: support vendor statistics
  vdpa_sim_net: vendor satistics

 drivers/vdpa/vdpa_sim/vdpa_sim.c     |  30 +++-
 drivers/vdpa/vdpa_sim/vdpa_sim.h     |   4 +
 drivers/vdpa/vdpa_sim/vdpa_sim_blk.c |   1 +
 drivers/vdpa/vdpa_sim/vdpa_sim_net.c | 218 ++++++++++++++++++++++++++-
 4 files changed, 243 insertions(+), 10 deletions(-)

-- 
2.25.1


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

end of thread, other threads:[~2022-12-23  8:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-23  5:55 [PATCH V3 0/4] Vendor stats support in vdpasim_net Jason Wang
2022-12-23  5:55 ` [PATCH V3 1/4] vdpa_sim: switch to use __vdpa_alloc_device() Jason Wang
2022-12-23  5:55 ` [PATCH V3 2/4] vdpasim: customize allocation size Jason Wang
2022-12-23  5:55 ` [PATCH V3 3/4] vdpa_sim: support vendor statistics Jason Wang
2022-12-23  8:34   ` Stefano Garzarella
2022-12-23  5:55 ` [PATCH V3 4/4] vdpa_sim_net: vendor satistics Jason Wang
2022-12-23  8:37   ` Stefano Garzarella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox