Fix few comments and add detailed comments for return value.
Fixes:
279b581c897d ("vfio: expose functions")
Cc: stable@dpdk.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
* kernel module name.
*
* @return
- * !0 if true.
+ * 1 if true.
* 0 otherwise.
*/
int rte_vfio_is_enabled(const char *modname);
* an error on BSD.
*
* @return
- * !0 if true.
- * 0 otherwise.
+ * 1 if true.
+ * 0 if false.
+ * <0 for errors.
*/
int rte_vfio_noiommu_is_enabled(void);