mbox series

[v3,0/5] Implement rte_power_monitor API in virtio/vhost PMD

Message ID 20210924102309.231304-1-miao.li@intel.com (mailing list archive)
Headers show
Series Implement rte_power_monitor API in virtio/vhost PMD | expand


Li, Miao Sept. 24, 2021, 10:23 a.m. UTC
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

-fix some code format issues
-fix spelling mistake

-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

 drivers/net/vhost/rte_eth_vhost.c  | 40 +++++++++++++++++++++
 drivers/net/virtio/virtio_ethdev.c | 56 ++++++++++++++++++++++++++++++
 examples/l3fwd-power/main.c        |  5 +++
 lib/power/rte_power_pmd_mgmt.c     |  9 +++--
 lib/vhost/rte_vhost.h              | 41 ++++++++++++++++++++++
 lib/vhost/version.map              |  3 ++
 lib/vhost/vhost.c                  | 38 ++++++++++++++++++++
 7 files changed, 190 insertions(+), 2 deletions(-)