From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yuanhan Liu Subject: Re: [PATCH 1/2] lib/librte_ether: export secondary attach function Date: Tue, 28 Feb 2017 14:37:18 +0800 Message-ID: <20170228063718.GK18844@yliu-dev.sh.intel.com> References: <1487851096-32479-1-git-send-email-amis@radware.com> <1488102926-24158-1-git-send-email-amis@radware.com> <1488102926-24158-2-git-send-email-amis@radware.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev@dpdk.org, stable@dpdk.org, Thomas Monjalon To: Ami Sabo Return-path: Content-Disposition: inline In-Reply-To: <1488102926-24158-2-git-send-email-amis@radware.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" Cc Thomas, the librte_ether maintainer. On Sun, Feb 26, 2017 at 11:55:25AM +0200, Ami Sabo wrote: > /** > * @internal > + * Attach to the ethdev already initialized by the primary > + * process. > + * > + * @param name Ethernet device's name. > + @return mailformed comment: missing *. > + * - Success: Slot in the rte_dev_devices array for attached > + * device. > + * - Error: Null pointer. > + */ > +struct rte_eth_dev *rte_eth_dev_attach_secondary(const char *name); > + > +/** > + * @internal > * Release the specified ethdev port. > * > * @param eth_dev > diff --git a/lib/librte_ether/rte_ether_version.map b/lib/librte_ether/rte_ether_version.map > index c6c9d0d..d34c57a 100644 > --- a/lib/librte_ether/rte_ether_version.map > +++ b/lib/librte_ether/rte_ether_version.map > @@ -154,3 +154,10 @@ DPDK_17.02 { > rte_flow_validate; > > } DPDK_16.11; > + > +DPDK_17.05 { > + global: > + > + rte_eth_dev_attach_secondary; I saw whitespace chars. Like code, it should be TABs. Other than those minor nits, it looks good to me. Reviewed-by: Yuanhan Liu --yliu