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 18778A0032; Fri, 29 Oct 2021 12:34:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 05DB441136; Fri, 29 Oct 2021 12:34:26 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id BFCCD410E0 for ; Fri, 29 Oct 2021 12:34:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1635503663; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=/cTD1w/i9JMR0OE3N5Xeswad5whkQ/M86Zpys4zKwVQ=; b=hL9e1KLp8sXCjn2KXl6PeQqOQQgfJLzpwARuHqrdau/XV5bcO2SsB8GQ+U+yNBXGIftvKl IqofDIfeSSMSORX6XhKK8DFA64hWbuLfbUPwp/8MRjbq3UqlTZNjL1haK2Edc1sQXTZVH8 GAFLRV4vm0yNHMPVDZZl9b8OGJmC8Yo= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-505-VI-M8zeNPK-rpmnD8Bij7w-1; Fri, 29 Oct 2021 06:34:22 -0400 X-MC-Unique: VI-M8zeNPK-rpmnD8Bij7w-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E66351006AA5; Fri, 29 Oct 2021 10:34:20 +0000 (UTC) Received: from [10.39.208.19] (unknown [10.39.208.19]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1ACC619D9B; Fri, 29 Oct 2021 10:34:19 +0000 (UTC) Message-ID: <4728d1bd-6d28-e7dd-c084-87dd167a38ee@redhat.com> Date: Fri, 29 Oct 2021 12:34:18 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 To: Miao Li , dev@dpdk.org Cc: chenbo.xia@intel.com References: <20211018141638.5916-1-miao.li@intel.com> <20211025144725.115828-1-miao.li@intel.com> From: Maxime Coquelin In-Reply-To: <20211025144725.115828-1-miao.li@intel.com> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v8 0/5] Support power monitor 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" On 10/25/21 16:47, Miao Li wrote: > 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(). > > v8: > -rebase on lastest repo > -update the release note > -modify some titles > -update commit log > -add the fixes and stable tags > > 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: support power monitor > vhost: add power monitor support API > net/vhost: support power monitor > 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(-) > Applied to dpdk-next-virtio/main. Thanks, Maxime