Spdk/lib/env_dpdk
Darek Stojaczyk 701d17f6d6 env_dpdk/pci: ignore rte_bus_scan() errors
Extensive testing showed it can fail:
> EAL: eal_parse_sysfs_value(): cannot open sysfs value
> /sys/bus/pci/devices/0000:02:00.0/vendor
> EAL: Scan for (pci) bus failed.

spdk_pci_enumerate() would previously return with error because
of this and e.g. the test nvme hotplug app could immediately exit
with failure. A mis-timed scan shouldn't cause this kind of failure,
so ignore it's return code. This shouldn't cause any issues.

Change-Id: I9253219c218981a747774a8632335963cfb0db53
Signed-off-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/2941
Community-CI: Mellanox Build Bot
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: <dongx.yi@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com>
2020-07-23 20:48:47 +00:00
..
env_internal.h env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
env.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
env.mk dpdkbuild: build and link with rte_hash if RAID5 is built 2020-03-18 08:02:43 +00:00
init.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
Makefile env_dpdk: expose base virtaddr as an option 2020-06-16 07:45:07 +00:00
memory.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
pci_idxd.c lib/idxd: add low level idxd library 2020-04-23 15:48:32 +00:00
pci_ioat.c lib/env_dpdk: remove spdk prefix from internal functions. 2020-04-22 09:21:55 +00:00
pci_nvme.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
pci_virtio.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
pci_vmd.c env_dpdk: drop DPDK 18.08 support 2020-07-23 20:48:47 +00:00
pci.c env_dpdk/pci: ignore rte_bus_scan() errors 2020-07-23 20:48:47 +00:00
spdk_env_dpdk.map module/idxd: accel framework plug-in for idxd 2020-04-23 15:48:32 +00:00
threads.c env: drop DPDK 16.07 support 2018-11-30 19:59:34 +00:00