numam-dpdk/drivers/crypto/snow3g
Fan Zhang d803b4439d cryptodev: add user defined name for vdev
This patch adds a user defined name initializing parameter to cryptodev
library.

Originally, for software cryptodev PMD, the vdev name parameter is
treated as the driver identifier, and will create an unique name for each
device automatically, which is not necessarily as same as the vdev
parameter.

This patch allows the user to either create a unique name for his software
cryptodev, or by default, let the system creates a unique one. This should
help the user managing the created cryptodevs easily.

Examples:
CLI command fragment 1: --vdev "crypto_aesni_gcm_pmd"
The above command will result in creating a AESNI-GCM PMD with name of
"crypto_aesni_gcm_X", where postfix X is the number assigned by the system,
starting from 0. This fragment can be placed in the same CLI command
multiple times, resulting the postfixs incremented by one for each new
device.

CLI command fragment 2: --vdev "crypto_aesni_gcm_pmd,name=gcm1"
The above command will result in creating a AESNI-GCM PMD with name of
"gcm1". This fragment can be placed in the same CLI command multiple
times, as long as each having a unique name value.

Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com>
Acked-by: Declan Doherty <declan.doherty@intel.com>
2017-01-18 21:48:56 +01:00
..
Makefile mk: fix external dependencies of crypto drivers 2016-06-29 13:33:01 +02:00
rte_pmd_snow3g_version.map snow3g: add driver for SNOW 3G library 2016-03-11 00:14:47 +01:00
rte_snow3g_pmd_ops.c crypto: rename some SNOW 3G references 2016-10-04 20:41:09 +02:00
rte_snow3g_pmd_private.h crypto: normalize driver names with macros 2016-07-08 19:20:26 +02:00
rte_snow3g_pmd.c cryptodev: add user defined name for vdev 2017-01-18 21:48:56 +01:00