[dpdk-dev] Possible bug in eal_pci pci_scan_one

Matthew Hall mhall at mhcomputing.net
Fri Oct 24 21:03:33 CEST 2014


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.


More information about the dev mailing list