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 1021EA0C51; Wed, 21 Jul 2021 16:37:57 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E6A3440DF8; Wed, 21 Jul 2021 16:37:56 +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 E377A4014E for ; Wed, 21 Jul 2021 16:37:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1626878274; 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=a8YaIJ1N1clRYbS9zVAKcem2XeDjpyncFJuGtNOHIu4=; b=WpD/l6CR9mjZF2izEgqFjC+FCGXrq4rb1ShVqhrHBtd0wWMgsGT/anpjZnoYkERvn9huz/ dLdjQPE+hrJ3z4rTfyeTpMX1UVU/n5QonuzzU0F0OnvuEsKw1R3INbX8xCMYY5oywDK2Jd wqi+vYQa6hxGtOHRl0NlsNSoudL1DaE= 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-29-BKe9XSB4MuGmtzDxQEqacw-1; Wed, 21 Jul 2021 10:37:53 -0400 X-MC-Unique: BKe9XSB4MuGmtzDxQEqacw-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 55C6510150A0; Wed, 21 Jul 2021 14:37:52 +0000 (UTC) Received: from [10.36.110.10] (unknown [10.36.110.10]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 32C1A5D6D3; Wed, 21 Jul 2021 14:37:51 +0000 (UTC) To: Cheng Jiang , Chenbo.Xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, yvonnex.yang@intel.com References: <20210602042802.31943-1-cheng1.jiang@intel.com> <20210719081022.12949-1-cheng1.jiang@intel.com> <20210719081022.12949-6-cheng1.jiang@intel.com> From: Maxime Coquelin Message-ID: <0227eac0-616b-a48f-2506-34397e93f62a@redhat.com> Date: Wed, 21 Jul 2021 16:37:49 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210719081022.12949-6-cheng1.jiang@intel.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 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-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v6 5/5] doc: update doc for inflight packets clear API in vhost lib 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 7/19/21 10:10 AM, Cheng Jiang wrote: > Update the program guide and release notes for inflight packets clear > API in vhost lib. > > Signed-off-by: Cheng Jiang > --- > doc/guides/prog_guide/vhost_lib.rst | 5 +++++ > doc/guides/rel_notes/release_21_08.rst | 5 +++++ > 2 files changed, 10 insertions(+) > > diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst > index d18fb98910..3cdfdc0725 100644 > --- a/doc/guides/prog_guide/vhost_lib.rst > +++ b/doc/guides/prog_guide/vhost_lib.rst > @@ -281,6 +281,11 @@ The following is an overview of some key Vhost API functions: > Poll enqueue completion status from async data path. Completed packets > are returned to applications through ``pkts``. > > +* ``rte_vhost_clear_queue_thread_unsafe(vid, queue_id, **pkts, count)`` > + > + Clear inflight packets which are submitted to DMA engine in vhost async data > + path. Completed packets are returned to applications through ``pkts``. > + > Vhost-user Implementations > -------------------------- > > diff --git a/doc/guides/rel_notes/release_21_08.rst b/doc/guides/rel_notes/release_21_08.rst > index 6a902ef9ac..482d16ba13 100644 > --- a/doc/guides/rel_notes/release_21_08.rst > +++ b/doc/guides/rel_notes/release_21_08.rst > @@ -117,6 +117,11 @@ New Features > The experimental PMD power management API now supports managing > multiple Ethernet Rx queues per lcore. > > +* **Added inflight packets clear API in vhost library.** > + > + Added an API which can clear the inflight packets submitted to DMA > + engine in vhost async data path. > + > > Removed Items > ------------- > Reviewed-by: Maxime Coquelin Thanks, Maxime