From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 374B1F614 for ; Wed, 11 Jan 2017 16:04:13 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 11 Jan 2017 07:03:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,346,1477983600"; d="scan'208";a="921350894" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.237.220.38]) ([10.237.220.38]) by orsmga003.jf.intel.com with ESMTP; 11 Jan 2017 07:03:41 -0800 To: Shreyansh Jain , dev@dpdk.org References: <20170110180250.10625-1-ferruh.yigit@intel.com> <98f6a6d8-f9d9-2a4d-8100-422d0f41d81a@nxp.com> Cc: Stephen Hemminger , Jan Blunck From: Ferruh Yigit Message-ID: Date: Wed, 11 Jan 2017 15:03:41 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <98f6a6d8-f9d9-2a4d-8100-422d0f41d81a@nxp.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 1/2] add rte_bus->probe 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: Wed, 11 Jan 2017 15:04:13 -0000 On 1/11/2017 4:53 AM, Shreyansh Jain wrote: > On Tuesday 10 January 2017 11:32 PM, Ferruh Yigit wrote: >> Signed-off-by: Ferruh Yigit >> --- >> lib/librte_eal/common/eal_common_bus.c | 7 ++++--- >> lib/librte_eal/common/include/rte_bus.h | 3 +++ >> lib/librte_eal/linuxapp/eal/eal_pci.c | 1 + >> 3 files changed, 8 insertions(+), 3 deletions(-) >> >> diff --git a/lib/librte_eal/common/eal_common_bus.c b/lib/librte_eal/common/eal_common_bus.c >> index f8c2e03..e8d1143 100644 >> --- a/lib/librte_eal/common/eal_common_bus.c >> +++ b/lib/librte_eal/common/eal_common_bus.c >> @@ -145,6 +145,7 @@ rte_eal_bus_register(struct rte_bus *bus) >> /* A bus should mandatorily have the scan and match implemented */ >> RTE_VERIFY(bus->scan); >> RTE_VERIFY(bus->match); >> + RTE_VERIFY(bus->probe); > > v6 of my patches would include the above. Since I am aware of you are working on something similar, I added this (in a dirty way) just to able to test next patch. Thanks, ferruh <...>