git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/ice: enable eCPRI tunnel port configure in DCF
[dpdk.git]
/
doc
/
guides
/
cryptodevs
/
ccp.rst
diff --git
a/doc/guides/cryptodevs/ccp.rst
b/doc/guides/cryptodevs/ccp.rst
index
9c19977
..
36dae09
100644
(file)
--- a/
doc/guides/cryptodevs/ccp.rst
+++ b/
doc/guides/cryptodevs/ccp.rst
@@
-5,7
+5,7
@@
AMD CCP Poll Mode Driver
========================
This code provides the initial implementation of the ccp poll mode driver.
========================
This code provides the initial implementation of the ccp poll mode driver.
-The CCP poll mode driver library (
librte_pmd_ccp
) implements support for
+The CCP poll mode driver library (
**librte_crypto_ccp**
) implements support for
AMD’s cryptographic co-processor (CCP). The CCP PMD is a virtual crypto
poll mode driver which schedules crypto operations to one or more available
CCP hardware engines on the platform. The CCP PMD provides poll mode crypto
AMD’s cryptographic co-processor (CCP). The CCP PMD is a virtual crypto
poll mode driver which schedules crypto operations to one or more available
CCP hardware engines on the platform. The CCP PMD provides poll mode crypto
@@
-56,10
+56,8
@@
AEAD algorithms:
Installation
------------
Installation
------------
-To compile ccp PMD, it has to be enabled in the config/common_base file and openssl
-packages have to be installed in the build environment.
-
-* ``CONFIG_RTE_LIBRTE_PMD_CCP=y``
+To compile ccp PMD, openssl packages have to be installed in the build
+environment.
For Ubuntu 16.04 LTS use below to install openssl in the build system:
For Ubuntu 16.04 LTS use below to install openssl in the build system:
@@
-85,8
+83,6
@@
The following command assumes ``BFD`` as ``0000:09:00.2``::
cd to the top-level DPDK directory
./usertools/dpdk-devbind.py -b igb_uio 0000:09:00.2
cd to the top-level DPDK directory
./usertools/dpdk-devbind.py -b igb_uio 0000:09:00.2
-In order to enable the ccp crypto PMD, user must set CONFIG_RTE_LIBRTE_PMD_CCP=y in config/common_base.
-
To use the PMD in an application, user must:
* Call rte_vdev_init("crypto_ccp") within the application.
To use the PMD in an application, user must:
* Call rte_vdev_init("crypto_ccp") within the application.
@@
-108,7
+104,7
@@
To validate ccp pmd, l2fwd-crypto example can be used with following command:
.. code-block:: console
.. code-block:: console
- sudo ./
build/
l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x1
+ sudo ./
<build_dir>/examples/dpdk-
l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp" -- -p 0x1
--chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
--cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
--chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
--cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
@@
-123,7
+119,7
@@
following:
.. code-block:: console
.. code-block:: console
- sudo ./
build/
l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=1" -- -p 0x1
+ sudo ./
<build_dir>/examples/dpdk-
l2fwd-crypto -l 1 -n 4 --vdev "crypto_ccp,ccp_auth_opt=1" -- -p 0x1
--chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
--cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff
--chain CIPHER_HASH --cipher_op ENCRYPT --cipher_algo aes-cbc
--cipher_key 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:0f
--cipher_iv 00:01:02:03:04:05:06:07:08:09:0a:0b:0c:0d:0e:ff