bus/vdev: fix comment
authorDavid Marchand <david.marchand@redhat.com>
Mon, 16 Nov 2020 10:06:18 +0000 (11:06 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 20 Nov 2020 08:58:55 +0000 (09:58 +0100)
RTE_DEV_WHITELISTED is now replaced with RTE_DEV_ALLOWED.

Fixes: a65a34a85ebf ("eal: replace usage of blacklist/whitelist in enums")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
drivers/bus/vdev/vdev.c

index 0e94ea9..acfd788 100644 (file)
@@ -498,7 +498,7 @@ scan:
                         * by calling rte_devargs_insert() with
                         *     devargs.bus = rte_bus_find_by_name("vdev");
                         *     devargs.type = RTE_DEVTYPE_VIRTUAL;
-                        *     devargs.policy = RTE_DEV_WHITELISTED;
+                        *     devargs.policy = RTE_DEV_ALLOWED;
                         */
                        custom_scan->callback(custom_scan->user_arg);
        }