Re: [dpdk-dev] [PATCH 2/2] bus/vdev: fix hotplug twice

2019-02-24 Thread Andrew Rybchenko
On 2/21/19 10:01 PM, Thomas Monjalon wrote: From: Raslan Darawsheh In case vdev was already probed, it shouldn't be probed again, and it should return -EEXIST as error. There are some checks in vdev_probe() and insert_vdev(), but a check was missing in vdev_plug(). The check is moved in vdev_pr

[dpdk-dev] [PATCH 2/2] bus/vdev: fix hotplug twice

2019-02-21 Thread Thomas Monjalon
From: Raslan Darawsheh In case vdev was already probed, it shouldn't be probed again, and it should return -EEXIST as error. There are some checks in vdev_probe() and insert_vdev(), but a check was missing in vdev_plug(). The check is moved in vdev_probe_all_drivers() which is called in all code