From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3DDFFA0547; Fri, 10 Sep 2021 07:03:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B5E4A40041; Fri, 10 Sep 2021 07:03:49 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id A63DD4003E for ; Fri, 10 Sep 2021 07:03:47 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10102"; a="208101990" X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="208101990" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Sep 2021 22:03:46 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,282,1624345200"; d="scan'208";a="549003912" Received: from limiao-icelake.sh.intel.com ([10.67.115.199]) by fmsmga002.fm.intel.com with ESMTP; 09 Sep 2021 22:03:44 -0700 From: Miao Li To: dev@dpdk.org Cc: chenbo.xia@intel.com, maxime.coquelin@redhat.com, miao.li@intel.com Date: Fri, 10 Sep 2021 13:05:43 +0000 Message-Id: <20210910130548.127017-1-miao.li@intel.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH 0/5] CPU Enabling: Implement rte_power_monitor API in virtio/vhost PMD X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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(-) -- 2.25.1