crypto/scheduler: improve parameters parsing
authorFan Zhang <roy.fan.zhang@intel.com>
Tue, 18 Apr 2017 11:28:14 +0000 (12:28 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 20 Apr 2017 09:32:45 +0000 (11:32 +0200)
commit50e14527b9d14b340214412bfe9b6a8755933384
treecb62e4e475b68e12ddb6670afea9fa56aeed4397
parent217179d1bca45b64cf77086ffca23aa89d8ce638
crypto/scheduler: improve parameters parsing

This patch improves the cryptodev scheduler PMD's commandline
parsing capability. Originally, the scheduler's slave option
requires the slave vdev(s) being declared prior to it. This
patch removes this limitation by storing the slave names
temporarily and attaching them later.

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