numam-dpdk/drivers/bus
Nachiketa Prachanda fada6963ce bus/vdev: fix finding device by name
Use strcmp to compare device names as the strncmp in original code
causes find_vdev to return -EEXIST  for names that are prefix
of another. The creation of interfaces fails unpredictably based
on the order of their creation. An easy way hit this bug is to create
eth_vhost1 after eth_vhost11.

Fixes: dda987315c ("vdev: make virtual bus use its device struct")
Cc: stable@dpdk.org

Signed-off-by: Nachiketa Prachanda <nprachan@vyatta.att-mail.com>
Acked-by: Jianfeng Tan <jianfeng.tan@intel.com>
2018-03-28 00:35:37 +02:00
..
dpaa build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
fslmc build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00
pci bus/pci: use SPDX tags in 6WIND copyrighted files 2018-02-01 02:32:52 +01:00
vdev bus/vdev: fix finding device by name 2018-03-28 00:35:37 +02:00
Makefile mk: fix dependencies of dpaaX drivers 2018-03-14 00:37:42 +01:00
meson.build build: add meson support for dpaaX platforms 2018-03-15 17:50:02 +01:00