crypto/scheduler: improve slave configuration
authorFan Zhang <roy.fan.zhang@intel.com>
Fri, 17 Feb 2017 12:01:01 +0000 (12:01 +0000)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commitc281019bfb01fdd1865a3ac029497184ac72dfc8
treed4b1fc394f5fe0f946d9709934889f14fe8d6e8d
parent60e686c22394677787411945fe17bfe18ac0e9c7
crypto/scheduler: improve slave configuration

Since the new device configuration API is updated, we can make use of
this feature to the crypto scheduler PMD to configure its slaves
automatically with the same configurations it got. As originally the
slaves have to be manually configured one by one, this patch should
help reducing the coding complexity.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
drivers/crypto/scheduler/scheduler_pmd_ops.c
test/test/test_cryptodev.c