From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2 2/3] ethdev: add device iterator Date: Wed, 05 Apr 2017 22:42:23 +0200 Message-ID: <1515202.sbJ8BQFpaS@xps13> References: <3ae96511a71fa9f79be09eb518e7837c9a637599.1490961533.git.gaetan.rivet@6wind.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, Jingjing Wu To: Gaetan Rivet Return-path: Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by dpdk.org (Postfix) with ESMTP id EA4045320 for ; Wed, 5 Apr 2017 22:42:24 +0200 (CEST) Received: by mail-wr0-f170.google.com with SMTP id w43so30782198wrb.0 for ; Wed, 05 Apr 2017 13:42:24 -0700 (PDT) In-Reply-To: <3ae96511a71fa9f79be09eb518e7837c9a637599.1490961533.git.gaetan.rivet@6wind.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" 2017-03-31 14:04, Gaetan Rivet: > /** > + * Iterates over valid ethdev ports. > + * > + * @param: port_id warning: expected whitespace after : command Will fix it when applying > + * The id of the next possible valid port. > + * @return > + * Next valid port id, RTE_MAX_ETHPORTS if there is none. > + */ > +uint8_t rte_eth_find_next(uint8_t port_id); >