numam-dpdk/lib
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
..
librte_acl tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_cfgfile mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_cmdline cmdline: fix parameter type 2015-03-04 11:19:37 +01:00
librte_compat mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_distributor tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_eal eal: remove useless errno 2015-03-10 12:17:31 +01:00
librte_ether tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_hash tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_ip_frag tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_ivshmem mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_jobstats jobstats: new library 2015-02-24 22:12:35 +01:00
librte_kni kni: optimize Rx burst 2015-02-24 02:26:24 +01:00
librte_kvargs kvargs: fix freeing behaviour for null 2015-03-04 11:19:37 +01:00
librte_lpm tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_malloc tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_mbuf tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_mempool tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_meter mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_net net: change arp header struct declaration 2015-02-20 22:10:52 +01:00
librte_pipeline pipeline: fix port meta for non-default entries 2015-02-24 02:01:13 +01:00
librte_pmd_af_packet ethdev: add device type 2015-02-26 00:08:25 +01:00
librte_pmd_bond bond: remove debug function to fix link with shared lib 2015-03-04 11:19:25 +01:00
librte_pmd_e1000 tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_pmd_enic ethdev: remove useless parameter in init functions 2015-03-09 18:07:44 +01:00
librte_pmd_fm10k ethdev: remove useless parameter in init functions 2015-03-09 18:07:44 +01:00
librte_pmd_i40e tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_pmd_ixgbe ixgbe: rename igb prefix 2015-03-10 15:24:06 +01:00
librte_pmd_mlx4 mlx4: avoid init errors when kernel modules are not loaded 2015-03-10 16:08:15 +01:00
librte_pmd_null null: fix build with gcc-4.7 2015-02-28 00:22:00 +01:00
librte_pmd_pcap pcap: support port hotplug 2015-02-26 00:19:16 +01:00
librte_pmd_ring ring: fix memory leak 2015-03-04 11:19:37 +01:00
librte_pmd_virtio ethdev: remove useless parameter in init functions 2015-03-09 18:07:44 +01:00
librte_pmd_vmxnet3 tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_pmd_xenvirt ethdev: add device type 2015-02-26 00:08:25 +01:00
librte_port mbuf: remove build option to disable refcnt 2015-02-23 19:31:24 +01:00
librte_power mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_reorder tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_ring tailq: move to dynamic tailq 2015-03-10 12:06:08 +01:00
librte_sched mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_table mk: add library version extension 2015-02-03 16:56:58 +01:00
librte_timer tailq: remove unneeded inclusions 2015-03-10 11:47:46 +01:00
librte_vhost vhost: check file descriptor before closing 2015-03-09 12:46:46 +01:00
Makefile null: new poll mode driver 2015-02-26 00:31:45 +01:00