crypto/scheduler: add unit test
authorFan Zhang <roy.fan.zhang@intel.com>
Tue, 24 Jan 2017 16:24:00 +0000 (16:24 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Mon, 30 Jan 2017 16:46:36 +0000 (17:46 +0100)
commitc8e69fce7046ad912865454bc008c19eeabbdf0e
tree2403644d1113497a3e020cc478f07b1b695d26f4
parentdbb336407f1bbd83889df9c77163842921dd9703
crypto/scheduler: add unit test

Same as other cryptodev PMDs, it is necessary to carry out the unit
test for scheduler PMD. Currently the test is designed to attach 2
AESNI-MB cryptodev PMDs as slaves, sets the scheduling mode as round-
robin, and runs almost all AESNI-MB test items (except for sessionless
tests). In the end, the slaves are detached.

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