crypto/scheduler: add API to get attached slaves
authorFan Zhang <roy.fan.zhang@intel.com>
Thu, 30 Mar 2017 13:39:18 +0000 (14:39 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Wed, 5 Apr 2017 22:17:44 +0000 (00:17 +0200)
commit029bb90781fbbde04b587994693167f0584c2598
treeb0e1301e374a17fa037f981e7ac0f950bc6022c1
parentd099195ae7e0a64aaeba6fed290536f403dd5fe0
crypto/scheduler: add API to get attached slaves

This patch adds an API to get the run-time slaves number and list
of a cryptodev scheduler PMD.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
drivers/crypto/scheduler/rte_cryptodev_scheduler.c
drivers/crypto/scheduler/rte_cryptodev_scheduler.h
drivers/crypto/scheduler/rte_pmd_crypto_scheduler_version.map
drivers/crypto/scheduler/scheduler_pmd.c
drivers/crypto/scheduler/scheduler_pmd_private.h
drivers/crypto/scheduler/scheduler_roundrobin.c