vfio: fix API description
[dpdk.git] / lib / librte_eal / include / rte_bus.h
index d3034d0..80b154f 100644 (file)
@@ -215,10 +215,16 @@ typedef int (*rte_bus_sigbus_handler_t)(const void *failure_addr);
  */
 enum rte_bus_scan_mode {
        RTE_BUS_SCAN_UNDEFINED,
-       RTE_BUS_SCAN_WHITELIST,
-       RTE_BUS_SCAN_BLACKLIST,
+       RTE_BUS_SCAN_ALLOWLIST,
+       RTE_BUS_SCAN_BLOCKLIST,
 };
 
+/* Backwards compatibility will be removed */
+#define RTE_BUS_SCAN_WHITELIST \
+       RTE_DEPRECATED(RTE_BUS_SCAN_WHITELIST) RTE_BUS_SCAN_ALLOWLIST
+#define RTE_BUS_SCAN_BLACKLIST \
+       RTE_DEPRECATED(RTE_BUS_SCAN_BLACKLIST) RTE_BUS_SCAN_BLOCKLIST
+
 /**
  * A structure used to configure bus operations.
  */