Skip to content

Vendor stats support in vdpasim_net

Jason Wang lkml virtualization 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 2 repliesIn review
  2. v24 patches 4 repliesSuperseded
  3. v14 patches 9 repliesSuperseded

Changes in v3 from the cover letter

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

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4vdpa_sim: switch to use __vdpa_alloc_device()drivers/vdpa/vdpa_sim/vdpa_sim.c+8 -50 replies
2/4vdpasim: customize allocation sizedrivers/vdpa/vdpa_sim/vdpa_sim.c drivers/vdpa/vdpa_sim/vdpa_sim.h drivers/vdpa/vdpa_sim/vdpa_sim_blk.c +1 more+7 -10 replies
3/4vdpa_sim: support vendor statisticsdrivers/vdpa/vdpa_sim/vdpa_sim.c drivers/vdpa/vdpa_sim/vdpa_sim.h+17 -01 reply
4/4vdpa_sim_net: vendor satisticsdrivers/vdpa/vdpa_sim/vdpa_sim_net.c+213 -61 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchStefano GarzarellaEugenio Pérez
1/4R-b A-b
2/4R-b A-b
3/4R-b A-b
4/4R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH V3 0/4] Vendor stats support in vdpasim_net

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(-)
Signature · 6 lines
2.25.1

_______________________________________________
Virtualization mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/virtualization