test/crypto: create unique driver name
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 18 Apr 2017 11:39:39 +0000 (12:39 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commit217179d1bca45b64cf77086ffca23aa89d8ce638
tree161900df8e3b4e4433d36321806c2d18c9b4e6ce
parent8fec4832c95f82806f947389799f8ae54fb79421
test/crypto: create unique driver name

Since commit <dda987315ca2> ("vdev: make virtual bus use
its device struct"), rte_eal_vdev_init cannot be called
with same name twice.

If several devices with the same driver are needed
(as in the crypto scheduler test), then driver name argument
has to be unique, concatenating the driver name and an index.

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
test/test/test_cryptodev.c