numam-dpdk/lib/librte_pmd_mlx4
Adrien Mazarguil 66e1591687 mlx4: avoid init errors when kernel modules are not loaded
Mimic UIO/VFIO drivers behavior by not causing errors when a device cannot
be initialized due to missing or mismatching kernel modules. Display helpful
messages instead, such as:

 [...]
 EAL: PCI device 0000:83:00.0 on NUMA socket 1
 EAL:   probe driver: 15b3:1007 librte_pmd_mlx4
 PMD: librte_pmd_mlx4: PCI information matches, using device "mlx4_0" (VF: false)
 PMD: librte_pmd_mlx4: cannot use device, are drivers up to date?
 EAL: PCI device 0000:84:00.0 on NUMA socket 1
 EAL:   probe driver: 15b3:1007 librte_pmd_mlx4
 PMD: librte_pmd_mlx4: PCI information matches, using device "mlx4_1" (VF: false)
 PMD: librte_pmd_mlx4: cannot use device, are drivers up to date?
 EAL: No probed ethernet devices
 [...]

Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
2015-03-10 16:08:15 +01:00
..
Makefile mlx4: mute auto config in quiet mode 2015-03-04 11:19:21 +01:00
mlx4.c mlx4: avoid init errors when kernel modules are not loaded 2015-03-10 16:08:15 +01:00
mlx4.h mlx4: new poll mode driver 2015-02-25 16:07:57 +01:00
rte_pmd_mlx4_version.map mlx4: new poll mode driver 2015-02-25 16:07:57 +01:00