From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthew Hall Subject: Re: Possible bug in eal_pci pci_scan_one Date: Fri, 24 Oct 2014 12:03:33 -0700 Message-ID: <20141024190333.GD29024@mhcomputing.net> References: <20141006091344.GA14759@mhcomputing.net> <20141024183629.0740fd72@uryu.home.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dev-VfR2kkLFssw@public.gmane.org To: Stephen Hemminger Return-path: Content-Disposition: inline In-Reply-To: <20141024183629.0740fd72-CA4OZQ/Yy2Lykuyl+CZolw@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" On Fri, Oct 24, 2014 at 06:36:29PM +0530, Stephen Hemminger wrote: > The code is fairly consistent in returning -1 for cases of not a NUMA socket, > bogus port value. It is interpreted as SOCKET_ID_ANY in several places. > The examples mostly check for -1 and use socket 0 as a fallback. > Probably not worth introducing more return values and breaking existing > applications. OK. So I'll make a patch to correct the comment which was wrong. Matthew.