crypto/scheduler: fix possible duplicated ring names
authorFan Zhang <roy.fan.zhang@intel.com>
Wed, 16 May 2018 13:10:32 +0000 (14:10 +0100)
committerPablo de Lara <pablo.de.lara.guarch@intel.com>
Tue, 22 May 2018 14:36:11 +0000 (16:36 +0200)
commit91b9c522d61c752708db7005452ebb4b05baff7a
tree034da549287a778c88094993fff96f02f5b90fe2
parentcc32201a8d834a690d76cd281acf553182894d9f
crypto/scheduler: fix possible duplicated ring names

This patch fixes the possible duplicated ring names in multi-core
scheduler. Originally two or more multi-core schedulers may have
same worker ring names thus will cause initialization error.

Fixes: 4c07e0552f0a ("crypto/scheduler: add multicore scheduling mode")
Cc: stable@dpdk.org
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_multicore.c