Skip to content

Implement rte_power_monitor API in virtio/vhost PMD

Miao Li dpdk-dev 6 versions – Applied

Status from this message: Applied to dpdk-next-virtio/main.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v7 Latest5 patches 21 repliesApplied
  2. v65 patches 2 repliesSuperseded
  3. v55 patches 8 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v45 patches0 repliesSuperseded
v35 patches7 repliesSuperseded
v10 of 5 patches0 repliesSuperseded

Changes in v7 from the cover letter

-fix coding style issues
-Rebase on lastest repo

Patches in v7 Applied

#Subject and filesSizeRepliesApplied
1/5net/virtio: implement rte_power_monitor APIdoc/guides/rel_notes/release_21_11.rst drivers/net/virtio/virtio_ethdev.c+60 -08 replies
2/5vhost: implement rte_power_monitor APIdoc/guides/rel_notes/release_21_11.rst lib/vhost/rte_vhost.h lib/vhost/version.map +1 more+87 -02 replies
3/5net/vhost: implement rte_power_monitor APIdoc/guides/rel_notes/release_21_11.rst drivers/net/vhost/rte_eth_vhost.c+44 -02 replies
4/5power: modify return of queue_stoppedlib/power/rte_power_pmd_mgmt.c+7 -25 replies
5/5examples/l3fwd-power: support virtio/vhostexamples/l3fwd-power/main.c+14 -13 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchChenbo XiaAnatoly BurakovDavid Hunt
SeriesR-b R-b R-b R-b R-b A-b A-b A-b A-b A-b
1/5R-b A-b
2/5R-b A-b
3/5R-b A-b
4/5R-b A-b
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v7 thread

Cover letter [dpdk-dev] [PATCH v7 0/5] Implement rte_power_monitor API in virtio/vhost PMD

This patchset implements rte_power_monitor API in virtio and vhost PMD to reduce power consumption when no packet come in. This API can be called and tested in l3fwd-power after adding vhost and virtio support in l3fwd-power and ignoring the rx queue information check in queue_stopped().

v7:
-fix coding style issues
-Rebase on lastest repo

v6:
-modify comment
-remove extra space
-fix IPv4 CKSUM check

v5:
-Rebase on lastest repo

v4:
-modify comment
-update the release note
-add IPv4 CKSUM check

v3:
-fix some code format issues
-fix spelling mistake

v2:
-remove flag and add match and size in rte_vhost_power_monitor_cond -modify power callback function
-add dev and queue id check and remove unnecessary check -fix the assignment of pmc->size
-update port configuration according to the device information and remove adding command line arguments
-modify some titles

Miao Li (5):
net/virtio: implement rte_power_monitor API
vhost: implement rte_power_monitor API
net/vhost: implement rte_power_monitor API
power: modify return of queue_stopped
examples/l3fwd-power: support virtio/vhost

 doc/guides/rel_notes/release_21_11.rst | 12 ++++++
 drivers/net/vhost/rte_eth_vhost.c      | 40 ++++++++++++++++++
 drivers/net/virtio/virtio_ethdev.c     | 56 ++++++++++++++++++++++++++
 examples/l3fwd-power/main.c            | 15 ++++++-
 lib/power/rte_power_pmd_mgmt.c         |  9 ++++-
 lib/vhost/rte_vhost.h                  | 42 +++++++++++++++++++
 lib/vhost/version.map                  |  3 ++
 lib/vhost/vhost.c                      | 38 +++++++++++++++++
 8 files changed, 212 insertions(+), 3 deletions(-)
Signature · 1 line
2.25.1