From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] eventdev: ease single-link queue config requirements Date: Mon, 4 Sep 2017 11:39:14 +0530 Message-ID: <20170904060913.GA17139@jerin> References: <1502308684-28031-1-git-send-email-gage.eads@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, nipun.gupta@nxp.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com, bruce.richardson@intel.com To: Gage Eads Return-path: Received: from NAM03-DM3-obe.outbound.protection.outlook.com (mail-dm3nam03on0049.outbound.protection.outlook.com [104.47.41.49]) by dpdk.org (Postfix) with ESMTP id CDE045A6E for ; Mon, 4 Sep 2017 08:09:38 +0200 (CEST) Content-Disposition: inline In-Reply-To: <1502308684-28031-1-git-send-email-gage.eads@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: Wed, 9 Aug 2017 14:58:04 -0500 > From: Gage Eads > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, nipun.gupta@nxp.com, > hemant.agrawal@nxp.com, harry.van.haaren@intel.com, > bruce.richardson@intel.com > Subject: [PATCH] eventdev: ease single-link queue config requirements > X-Mailer: git-send-email 2.7.4 > > Events sent through single-link queues are naturally in-order and > atomic, without reordering or atomic scheduling. Logically the > nb_atomic_flows and nb_atomic_order_sequences arguments don't apply to a > single link queue, but applications must set these (depending on the queue > config type) to bypass the is_valid_{ordered, atomic}_queue_conf() checks > in the eventdev layer. > > This commit updates those is_valid_* functions to ignore queues with the > SINGLE_LINK flag, to simplify their configuration. > > Signed-off-by: Gage Eads Acked-by: Jerin Jacob