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 251A0A0C4B; Thu, 21 Oct 2021 14:35:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0F3D8411FE; Thu, 21 Oct 2021 14:35:22 +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 8B707411FB for ; Thu, 21 Oct 2021 14:35:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634819721; 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=PNOjTDZi4u7qem9G85qO68tMXFigzdNzQl8F/3WV3w4=; b=fJMPVm2clf5y2GhZLcWxWZOgf4rOEYsQKbB/frLF9FEpChhEdZusrKhFajh4xw4Oqmp/+y 0dqCqDc/Nh0zNKkWElJT56H/WChkqvZpzBxcDx++37gKNB76fUa3vHwvIeKE6yy6zLOFvL UQWMAWUc8nGDhhEz5tC8mB06cdXA00c= 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-435-0ZfCBGwPNuSiokTYp3NTzg-1; Thu, 21 Oct 2021 08:35:19 -0400 X-MC-Unique: 0ZfCBGwPNuSiokTYp3NTzg-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A019E802B4F; Thu, 21 Oct 2021 12:35:18 +0000 (UTC) Received: from [10.39.208.27] (unknown [10.39.208.27]) by smtp.corp.redhat.com (Postfix) with ESMTPS id BB7AE5BAF8; Thu, 21 Oct 2021 12:35:17 +0000 (UTC) Message-ID: Date: Thu, 21 Oct 2021 14:35:16 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 To: Miao Li , dev@dpdk.org Cc: chenbo.xia@intel.com References: <20211015170911.478394-1-miao.li@intel.com> <20211018141638.5916-1-miao.li@intel.com> From: Maxime Coquelin In-Reply-To: <20211018141638.5916-1-miao.li@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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 v7 0/5] 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" On 10/18/21 16:16, 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(). > > 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(-) > Applied to dpdk-next-virtio/main. Thanks, Maxime