From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH] eventdev: clarify nb_unlinks description Date: Sat, 11 Feb 2017 11:59:42 +0530 Message-ID: <20170211062941.GA9218@localhost.localdomain> References: <1486753473-26330-1-git-send-email-gage.eads@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, bruce.richardson@intel.com, hemant.agrawal@nxp.com, harry.van.haaren@intel.com, nipun.gupta@nxp.com To: Gage Eads Return-path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0061.outbound.protection.outlook.com [104.47.38.61]) by dpdk.org (Postfix) with ESMTP id C951A69C5 for ; Sat, 11 Feb 2017 07:30:05 +0100 (CET) Content-Disposition: inline In-Reply-To: <1486753473-26330-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" On Fri, Feb 10, 2017 at 01:04:33PM -0600, Gage Eads wrote: > This commit clarifies the usage of nb_unlinks when passing a NULL pointer > as the queues argument. > > Signed-off-by: Gage Eads > --- > lib/librte_eventdev/rte_eventdev.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h > index c2f9310..7b64532 100644 > --- a/lib/librte_eventdev/rte_eventdev.h > +++ b/lib/librte_eventdev/rte_eventdev.h > @@ -1336,7 +1336,8 @@ rte_event_port_link(uint8_t dev_id, uint8_t port_id, > * event queue(s) from the event port *port_id*. > * > * @param nb_unlinks > - * The number of unlinks to establish > + * The number of unlinks to establish. This parameter is ignored if queues is > + * NULL. Add similar description to rte_event_port_link too, With that, Acked-by: Jerin Jacob > * > * @return > * The number of unlinks actually established. The return value can be less > -- > 2.7.4 >