mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH V2 0/4] Vendor stats support in vdpasim_net
@ 2022-12-22  5:00 Jason Wang
  2022-12-22  5:00 ` [PATCH V2 1/4] vdpa_sim: switch to use __vdpa_alloc_device() Jason Wang
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Jason Wang @ 2022-12-22  5:00 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 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     |  33 +++-
 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 | 221 ++++++++++++++++++++++++++-
 4 files changed, 248 insertions(+), 11 deletions(-)

-- 
2.25.1


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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22  5:00 [PATCH V2 0/4] Vendor stats support in vdpasim_net Jason Wang
2022-12-22  5:00 ` [PATCH V2 1/4] vdpa_sim: switch to use __vdpa_alloc_device() Jason Wang
2022-12-22  5:00 ` [PATCH V2 2/4] vdpasim: customize allocation size Jason Wang
2022-12-22  8:22   ` Eugenio Perez Martin
2022-12-22  8:48     ` Jason Wang
2022-12-22  5:00 ` [PATCH V2 3/4] vdpa_sim: support vendor statistics Jason Wang
2022-12-22  5:00 ` [PATCH V2 4/4] vdpa_sim_net: vendor satistics Jason Wang
2022-12-22  8:48   ` Eugenio Perez Martin
2022-12-22  8:50 ` [PATCH V2 0/4] Vendor stats support in vdpasim_net Eugenio Perez Martin

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

all inboxes | Powered by JetHome®