Anatoly Burakov
7b74a6e0b6
vfio: fix enabled check on error
...
rte_eal_check_module() might return -1, which would have been a
"not false" condition for mod_available. Fix that to only report
vfio being enabled if rte_eal_check_module() returns 1.
Fixes: 221f7c220d6b ("vfio: move global config out of PCI files")
Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
2018-01-12 16:02:45 +01:00
..
2018-01-09 16:19:01 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2017-06-14 23:54:13 +02:00
2018-01-04 22:41:39 +01:00
2018-01-05 22:08:24 +01:00
2018-01-12 16:02:45 +01:00
2018-01-09 16:19:01 +01:00
2018-01-05 22:08:15 +01:00
2018-01-09 16:19:01 +01:00
2018-01-11 19:15:26 +01:00
2018-01-11 23:18:36 +01:00
2018-01-04 22:41:39 +01:00
2018-01-09 16:19:01 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2017-10-24 02:14:57 +02:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-12 00:37:07 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-09 16:19:01 +01:00
2017-11-06 22:12:08 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-12 00:37:07 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-09 16:19:01 +01:00
2018-01-04 22:41:39 +01:00
2018-01-04 22:41:39 +01:00
2018-01-11 19:15:26 +01:00