It seems a function is missing in this patch:

29/06/2017 20:22, Jan Blunck:
> +int rte_eal_hotplug_add(const char *busname, const char *devname,
> +                     const char *devargs)
> +{
> +     struct rte_bus *bus;
> +     struct rte_device *dev;
> +     int ret;
> +
> +     bus = rte_bus_find_by_name(busname);
> +     if (!bus) {
> +             RTE_LOG(ERR, EAL, "Cannot find bus (%s)\n", busname);
> +             return -ENOENT;
> +     }
> +
> +     if (!bus->plug) {
> +             RTE_LOG(ERR, EAL, "Function plug not supported by bus (%s)\n",
> +                     bus->name);
> +             return -ENOTSUP;
> +     }
> +
> +     ret = bus->scan();
> +     if (ret)
> +             return ret;
> +
> +     dev = bus->find_device(NULL, cmp_detached_dev_name, devname);

fatal error: use of undeclared identifier 'cmp_detached_dev_name'

Reply via email to