From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f42.google.com (mail-wm0-f42.google.com [74.125.82.42]) by dpdk.org (Postfix) with ESMTP id 26DB21094 for ; Wed, 18 Jan 2017 00:37:18 +0100 (CET) Received: by mail-wm0-f42.google.com with SMTP id r144so248014028wme.1 for ; Tue, 17 Jan 2017 15:37:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:user-agent:in-reply-to :references:mime-version:content-transfer-encoding; bh=tZYdrjyLdJczFw9Ka2GH/3AAv8fxaii2GcxgywH2Q7k=; b=EEceQUsQCeFch0qK0clFVsXm1hxkpD9R/HYLYSh6t8OKHqwWotmg4v+8vXBFSMeoDk LfsA3abpWTO94NLh4yh7cKpsfEK5SLxQhrRTKx0BmcmQXjJtrJeo0W70i++TDQQGrM0W rx+6F/yKfr+5BajUl8pTgC9iAB9oQs9F8WFip9Ox4j6gEczRnGx0G9oVDMtF7sLY9vLF dp2Dgj1fzhERSc5A04NPB+L5oNZmGoQwrTmvA/KThMp057EuD6Lm9jLprX9pYgYm95tT TUNr6yMtCoa+S2QDZ+BBhnYMbKLivOgSDrRsM1+ZZqeA1F9OkYbwnB6lX3Kz+qn4k1fy c0OA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:user-agent :in-reply-to:references:mime-version:content-transfer-encoding; bh=tZYdrjyLdJczFw9Ka2GH/3AAv8fxaii2GcxgywH2Q7k=; b=itbHVO7/VVB9maqC2+PONRfHCN6EuoV0RfifcOhAnZQ8AjL/zIbAADkvZ0ibefYzEX BEw0hYalLBjTJbXLoGFancCMg9kHlJeQuFFn3/+9T6kgCF+q1khcSOSYQEYqh7kaBbf2 78iURf6Kxcipx3YIs5LdDkrwKCL/7fvzVU6PViI/qsdSeClkQMkUxU9Gme2rYKrfzpGi DbYKkEGqedu5++3ld2qvOr7RiAoE6g9ehU7P78E6qAv6GzR83mqu4OcoI8vOTGtXhdYm PtP0Ol8gwngtKcqXnlS+zIYDg5uqGjIzae7cUwr20uGM1BjcQo7MXmeLDC6W8AzhkCTa xcWA== X-Gm-Message-State: AIkVDXK76l9FBKMj/y0ELL+Q9ziWs/3dH19VFMnMXIhbSfseN8bykluiXk/jrJF3jYTqvvs8 X-Received: by 10.28.90.65 with SMTP id o62mr436571wmb.80.1484696237428; Tue, 17 Jan 2017 15:37:17 -0800 (PST) Received: from xps13.localnet (184.203.134.77.rev.sfr.net. [77.134.203.184]) by smtp.gmail.com with ESMTPSA id v143sm26409121wmv.4.2017.01.17.15.37.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2017 15:37:16 -0800 (PST) From: Thomas Monjalon To: Shreyansh Jain Cc: dev@dpdk.org Date: Wed, 18 Jan 2017 00:37:14 +0100 Message-ID: <1666796.CLgGY7A5Bb@xps13> User-Agent: KMail/4.14.10 (Linux/4.5.4-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1484660264-6531-5-git-send-email-shreyansh.jain@nxp.com> References: <1484647774-28984-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-1-git-send-email-shreyansh.jain@nxp.com> <1484660264-6531-5-git-send-email-shreyansh.jain@nxp.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v8 4/9] eal/bus: support for scanning of bus X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 23:37:18 -0000 2017-01-17 19:07, Shreyansh Jain: > + * Generic bus object passed only as a helper for implementation to find > + * their respective registered bus object. Implementations can choose not > + * to use this variable. I think this comment is obsolete. > + * > + * @return > + * 0 for successful scan > + * !0 (<0) for unsuccessful scan with error value What do you mean with !0 (<0) ? I guess <0 is enough. > + */ > +typedef int (*rte_bus_scan_t)(void); >