#
917ac9c4 |
| 21-Jun-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
cryptodev: store device pointer in virtual devices
Only non virtual devices were storing the pointer to rte_device structure in rte_cryptodev, which will be needed to retrieve the driver name for an
cryptodev: store device pointer in virtual devices
Only non virtual devices were storing the pointer to rte_device structure in rte_cryptodev, which will be needed to retrieve the driver name for any device.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|
#
168b9e76 |
| 18-Apr-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
drivers/crypto: do not create unique name internally
Crypto devices of the same type could be initialized with the same name, since internally this name was suffixed with an index.
Since commit <dd
drivers/crypto: do not create unique name internally
Crypto devices of the same type could be initialized with the same name, since internally this name was suffixed with an index.
Since commit <dda987315ca2> ("vdev: make virtual bus use its device struct"), this is not allowed anymore.
Therefore, there is no need to create an unique name at device initialization.
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
7e214771 |
| 18-Apr-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
drivers/crypto: check if name is null
Check if virtual device name is NULL, to avoid possible segmentation faults.
Fixes: 5d2aa461cbca ("vdev: use generic vdev struct for probe and remove")
Signed
drivers/crypto: check if name is null
Check if virtual device name is NULL, to avoid possible segmentation faults.
Fixes: 5d2aa461cbca ("vdev: use generic vdev struct for probe and remove")
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com>
show more ...
|
#
5d2aa461 |
| 11-Apr-2017 |
Jan Blunck <jblunck@infradead.org> |
vdev: use generic vdev struct for probe and remove
This is a preparation to embed the generic rte_device into the rte_eth_dev also for virtual devices.
Signed-off-by: Jan Blunck <jblunck@infradead.
vdev: use generic vdev struct for probe and remove
This is a preparation to embed the generic rte_device into the rte_eth_dev also for virtual devices.
Signed-off-by: Jan Blunck <jblunck@infradead.org> Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
show more ...
|
#
1dee7bc7 |
| 23-Feb-2017 |
Pablo de Lara <pablo.de.lara.guarch@intel.com> |
crypto/openssl: support DES DOCSIS BPI
Adds support in OpenSSL PMD for algorithm following the DOCSIS specification, which combines DES-CBC for full DES blocks (8 bytes) and DES-CFB for last runt bl
crypto/openssl: support DES DOCSIS BPI
Adds support in OpenSSL PMD for algorithm following the DOCSIS specification, which combines DES-CBC for full DES blocks (8 bytes) and DES-CFB for last runt block (less than 8 bytes).
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com> Tested-by: Yang Gang <gangx.yang@intel.com>
show more ...
|
#
ecaed092 |
| 29-Mar-2017 |
Bruce Richardson <bruce.richardson@intel.com> |
ring: return remaining entry count when dequeuing
Add an extra parameter to the ring dequeue burst/bulk functions so that those functions can optionally return the amount of remaining objs in the ri
ring: return remaining entry count when dequeuing
Add an extra parameter to the ring dequeue burst/bulk functions so that those functions can optionally return the amount of remaining objs in the ring. This information can be used by applications in a number of ways, for instance, with single-consumer queues, it provides a max dequeue size which is guaranteed to work.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Reviewed-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
show more ...
|
#
d803b443 |
| 16-Jan-2017 |
Fan Zhang <roy.fan.zhang@intel.com> |
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
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>
show more ...
|
#
8f675fc7 |
| 13-Jan-2017 |
Tomasz Kulasek <tomaszx.kulasek@intel.com> |
crypto/openssl: support scatter-gather
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
|
#
5d63ef31 |
| 09-Jan-2017 |
Piotr Azarewicz <piotrx.t.azarewicz@intel.com> |
crypto/openssl: remove unneeded check
EVP_CIPHER_CTX_set_padding() function always returns 1, so the check is unneeded.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Sig
crypto/openssl: remove unneeded check
EVP_CIPHER_CTX_set_padding() function always returns 1, so the check is unneeded.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com> Tested-by: Zhaoyan Chen <zhaoyan.chen@intel.com> Acked-by: Declan Doherty <declan.doherty@intel.com>
show more ...
|
#
6b283a03 |
| 07-Dec-2016 |
Piotr Azarewicz <piotrx.t.azarewicz@intel.com> |
crypto/openssl: fix extra bytes written at end of data
Extra bytes are being written at end of data while process standard openssl cipher encryption. This behaviour is unexpected.
This patch disabl
crypto/openssl: fix extra bytes written at end of data
Extra bytes are being written at end of data while process standard openssl cipher encryption. This behaviour is unexpected.
This patch disable the padding feature in openssl library, which is causing the problem.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Signed-off-by: Piotr Azarewicz <piotrx.t.azarewicz@intel.com> Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
show more ...
|
#
8a9867a6 |
| 18-Oct-2016 |
Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> |
crypto/openssl: rename libcrypto to openssl
This patch replaces name "libcrypto" to "openssl" from file directories, symbol prefixes and sub-names connected with old name. Renamed poll mode driver f
crypto/openssl: rename libcrypto to openssl
This patch replaces name "libcrypto" to "openssl" from file directories, symbol prefixes and sub-names connected with old name. Renamed poll mode driver files, test files, and documentations. It is done to better name association with library because the cryptography operations are using Openssl library crypto API.
Fixes: d61f70b4c918 ("crypto/libcrypto: add driver for OpenSSL library")
Signed-off-by: Slawomir Mrozowicz <slawomirx.mrozowicz@intel.com> Acked-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
show more ...
|