On 5/21/2018 5:23 PM, Matan Azrad wrote: > The vdev_netvsc driver allows an automatic probe in Hyper-V VM systems > unless it was already specified by the EAL command line. > > The detection of a specified NetVSC device is wrongly done by comparing > the vdev_netvsc driver name to all the vdev devices names, including > the suffix device index. Thus, if the user specifies the vdev_netvsc > device by adding an index to the device name, the comparison fails. > Consequently, the vdev_netvsc driver may automatically probe NetVSC > devices, despite the NetVSC device that was specified by the EAL command > line. > > Compare the vdev_netvsc driver name to the devices names without the > index. > > Fixes: 56252de779a6 ("net/vdev_netvsc: add automatic probing") > Cc: sta...@dpdk.org > > Signed-off-by: Matan Azrad <ma...@mellanox.com>
Applied to dpdk-next-net/master, thanks.