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 13072A0509; Wed, 4 May 2022 11:02:14 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9C6A4069F; Wed, 4 May 2022 11:02:13 +0200 (CEST) Received: from mail-108-mta111.mxroute.com (mail-108-mta111.mxroute.com [136.175.108.111]) by mails.dpdk.org (Postfix) with ESMTP id C688440694 for ; Wed, 4 May 2022 11:02:11 +0200 (CEST) Received: from filter006.mxroute.com ([140.82.40.27] 140.82.40.27.vultrusercontent.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta111.mxroute.com (ZoneMTA) with ESMTPSA id 1808e4e1bf0000926a.001 for (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256); Wed, 04 May 2022 09:02:05 +0000 X-Zone-Loop: edc67d230116cdd91ef23c7a18b88db21a8f12b0db10 X-Originating-IP: [140.82.40.27] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ashroe.eu; s=x; h=Content-Type:MIME-Version:Message-ID:Date:In-reply-to:Subject:Cc:To: From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jH8F/z61vHpkHkP55hSNanWa9J0MHPVTVYLQ29NwjyM=; b=JMPnPt1DzALDw1GMBKqVJuziD7 v0D47h7nwmler5U4DVfILTiBmv3ame3KNa90D3aTtuK+3fdNwkKmN4MEqE9StYZPFn5FvAX3MOTNi n/PT/XuFgZwdo3LMco/jmX6JRbZoHdnacbA8/ySIyK6IaRUlkGlTXIsH+QTmQu19qpeloh1cKKwZ2 U+oTitvg6Q/CryMBBLYH+kgtL00ahsX9Znyp9JO+P+eIQzbNZz5y6LHGbbaavizIusUFDCrsqgafu UGLOyRDqp5fFdE/5A/XPrFzRM2h7Aue/VAhsUrbtTUTO69u8IVMs2Sw0zrm3R0Lc3pYx++4wBuBsl Gt7wfAgg==; References: <20220427113223.13948-1-pbhagavatula@marvell.com> User-agent: mu4e 1.4.15; emacs 27.1 From: Ray Kinsella To: Pavan Nikhilesh Cc: jerinj@marvell.com, dev@dpdk.org Subject: Re: [PATCH 1/3] eventdev: add function to quiesce an event port In-reply-to: <20220427113223.13948-1-pbhagavatula@marvell.com> Date: Wed, 04 May 2022 10:02:02 +0100 Message-ID: <87o80dk6wl.fsf@mdr78.vserver.site> MIME-Version: 1.0 Content-Type: text/plain X-AuthUser: mdr@ashroe.eu 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 Pavan Nikhilesh writes: > Add function to quiesce any core specific resources consumed by > the event port. > > When the application decides to migrate the event port to another lcore > or teardown the current lcore it may to call `rte_event_port_quiesce` > to make sure that all the data associated with the event port are released > from the lcore, this might also include any prefetched events. > > While releasing the event port from the lcore, this function calls the > user-provided flush callback once per event. > > Signed-off-by: Pavan Nikhilesh > --- > lib/eventdev/eventdev_pmd.h | 19 +++++++++++++++++++ > lib/eventdev/rte_eventdev.c | 19 +++++++++++++++++++ > lib/eventdev/rte_eventdev.h | 33 +++++++++++++++++++++++++++++++++ > lib/eventdev/version.map | 3 +++ > 4 files changed, 74 insertions(+) > Acked-by: Ray Kinsella -- Regards, Ray K