test: fix virtual device name not set
authorTomasz Kulasek <tomaszx.kulasek@intel.com>
Wed, 26 Jul 2017 15:46:07 +0000 (17:46 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jul 2017 17:58:41 +0000 (19:58 +0200)
commit4460005cf4edf30d1f56f9cdcdf7f864f08cd386
tree991da90b3c179158b987717aeabdd753e13e3956
parentc037fc87324e900574c044cd2f19950c68019b56
test: fix virtual device name not set

Device name in device structure in virtual device used in
link_bonding_autotest is not set what causes segmentation fault when
rte_eth_dev_allocated is called.

Fixes: a1e7c17555e8 ("ethdev: use device name from device structure")

Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
test/test/virtual_pmd.c