mbox series

[0/5] CPU Enabling: Implement rte_power_monitor API in virtio/vhost PMD

Message ID 20210910130548.127017-1-miao.li@intel.com (mailing list archive)
Headers
Series CPU Enabling: Implement rte_power_monitor API in virtio/vhost PMD |

Message

Li, Miao Sept. 10, 2021, 1:05 p.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
queue_stopped(). 

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

 drivers/net/vhost/rte_eth_vhost.c  | 46 ++++++++++++++++++++++++
 drivers/net/virtio/virtio_ethdev.c | 57 ++++++++++++++++++++++++++++++
 examples/l3fwd-power/main.c        | 15 ++++++++
 lib/power/rte_power_pmd_mgmt.c     |  9 +++--
 lib/vhost/rte_vhost.h              | 33 +++++++++++++++++
 lib/vhost/version.map              |  3 ++
 lib/vhost/vhost.c                  | 30 ++++++++++++++++
 7 files changed, 191 insertions(+), 2 deletions(-)