From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH v3 1/3] event: add function for reading unlink in progress Date: Mon, 24 Sep 2018 20:26:16 +0530 Message-ID: <20180924145615.GA29839@jerin> References: <20180920112251.47854-1-harry.van.haaren@intel.com> <20180924082333.12812-1-harry.van.haaren@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org To: Harry van Haaren Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0089.outbound.protection.outlook.com [104.47.38.89]) by dpdk.org (Postfix) with ESMTP id 014785323 for ; Mon, 24 Sep 2018 16:56:34 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20180924082333.12812-1-harry.van.haaren@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" -----Original Message----- > Date: Mon, 24 Sep 2018 09:23:31 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, Harry van Haaren > > Subject: [PATCH v3 1/3] event: add function for reading unlink in progress > X-Mailer: git-send-email 2.17.1 > > External Email > > This commit introduces a new function in the eventdev API, > which allows applications to read the number of unlink requests > in progress on a particular port of an eventdev instance. > > This information allows applications to verify when no more packets > from a particular queue (or any queue) will arrive at a port. > The application could decide to stop polling, or put the core into > a sleep state if it wishes, as it is ensured that no new packets > will arrive at a particular port anymore if all queues are unlinked. > > Suggested-by: Matias Elo > Signed-off-by: Harry van Haaren > Acked-by: Jerin Jacob Applied this series to dpdk-next-eventdev/master. Thanks.