#
8711af29 |
| 20-Nov-2024 |
Nandini Persad <nandinipersad361@gmail.com> |
doc: describe security protocols in a dedicated guide
This is a new document covering security protocols implemented in DPDK and more.
Signed-off-by: Nandini Persad <nandinipersad361@gmail.com> Sig
doc: describe security protocols in a dedicated guide
This is a new document covering security protocols implemented in DPDK and more.
Signed-off-by: Nandini Persad <nandinipersad361@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net> Reviewed-by: Stephen Hemminger <stephen@networkplumber.org> Reviewed-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
8bd4315c |
| 04-Oct-2024 |
Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> |
cryptodev: add EdDSA asymmetric algorithm
Add support for asymmetric EdDSA in cryptodev, as referenced in RFC: https://datatracker.ietf.org/doc/html/rfc8032
Signed-off-by: Gowrishankar Muthukrishna
cryptodev: add EdDSA asymmetric algorithm
Add support for asymmetric EdDSA in cryptodev, as referenced in RFC: https://datatracker.ietf.org/doc/html/rfc8032
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Acked-by: Arkadiusz Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
d2d7f019 |
| 21-Mar-2023 |
Akhil Goyal <gakhil@marvell.com> |
doc: fix code blocks in cryptodev guide
Certain structures were replicated in programmer's guide, which resulted in mismatch when that structure is changed in future releases. Added literal includes
doc: fix code blocks in cryptodev guide
Certain structures were replicated in programmer's guide, which resulted in mismatch when that structure is changed in future releases. Added literal includes to copy code block while compiling.
Fixes: 0318c02b57cf ("doc: add cryptodev chapter in prog guide") Cc: stable@dpdk.org
Reported-by: David Marchand <david.marchand@redhat.com> Signed-off-by: Akhil Goyal <gakhil@marvell.com> Acked-by: Ciara Power <ciara.power@intel.com> Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
show more ...
|
#
9a8569ac |
| 06-Jan-2023 |
Fan Zhang <fanzhang.oss@gmail.com> |
cryptodev: fix sym session mempool creation description
After the session mempool creation API is changed, some description is no longer valid. This patch fixes the descriptions in both API comment
cryptodev: fix sym session mempool creation description
After the session mempool creation API is changed, some description is no longer valid. This patch fixes the descriptions in both API comment and the programmer's guide.
Fixes: bdce2564dbf7 ("cryptodev: rework session framework") Cc: stable@dpdk.org
Signed-off-by: Fan Zhang <fanzhang.oss@gmail.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
2a440d6a |
| 04-Oct-2022 |
Akhil Goyal <gakhil@marvell.com> |
cryptodev: hide symmetric session structure
Structure rte_cryptodev_sym_session is moved to internal headers which are not visible to applications. The only field which should be used by app is opaq
cryptodev: hide symmetric session structure
Structure rte_cryptodev_sym_session is moved to internal headers which are not visible to applications. The only field which should be used by app is opaque_data. This field can now be accessed via set/get APIs added in this patch. Subsequent changes in app and lib are made to compile the code.
Signed-off-by: Akhil Goyal <gakhil@marvell.com> Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Kai Ji <kai.ji@intel.com> Tested-by: Gagandeep Singh <g.singh@nxp.com> Tested-by: David Coyle <david.coyle@intel.com> Tested-by: Kevin O'Sullivan <kevin.osullivan@intel.com>
show more ...
|
#
96db98db |
| 01-Jun-2022 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
cryptodev: add elliptic curve Diffie-Hellman
- Added elliptic curve Diffie-Hellman parameters. Point multiplication allows the user to process every phase of ECDH, but for phase 1, user should not r
cryptodev: add elliptic curve Diffie-Hellman
- Added elliptic curve Diffie-Hellman parameters. Point multiplication allows the user to process every phase of ECDH, but for phase 1, user should not really care about the generator. The user does not even need to know what the generator looks like, therefore setting ec xform would make this work.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
4ac7359b |
| 09-Mar-2022 |
Sean Morrissey <sean.morrissey@intel.com> |
doc: fix telemetry example in cryptodev guide
Blank line added to the final telemetry example for the cryptography device library as to fix the example rendering.
Fixes: 1c559ee8469 ("cryptodev: ad
doc: fix telemetry example in cryptodev guide
Blank line added to the final telemetry example for the cryptography device library as to fix the example rendering.
Fixes: 1c559ee8469 ("cryptodev: add telemetry endpoint for capabilities") Cc: stable@dpdk.org
Signed-off-by: Sean Morrissey <sean.morrissey@intel.com> Acked-by: Ciara Power <ciara.power@intel.com>
show more ...
|
#
92d55afe |
| 11-Feb-2022 |
Ciara Power <ciara.power@intel.com> |
cryptodev: add asymmetric session user data API
A user data field is added to the asymmetric session structure. Relevant API added to get/set the field.
Signed-off-by: Ciara Power <ciara.power@inte
cryptodev: add asymmetric session user data API
A user data field is added to the asymmetric session structure. Relevant API added to get/set the field.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
a29bb248 |
| 11-Feb-2022 |
Ciara Power <ciara.power@intel.com> |
cryptodev: hide asymmetric session structure
The rte_cryptodev_asym_session structure is now moved to an internal header. This will no longer be used directly by apps, private session data can be ac
cryptodev: hide asymmetric session structure
The rte_cryptodev_asym_session structure is now moved to an internal header. This will no longer be used directly by apps, private session data can be accessed via get API.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
1f1e4b7c |
| 11-Feb-2022 |
Ciara Power <ciara.power@intel.com> |
cryptodev: use single mempool for asymmetric session
Rather than using a session buffer that contains pointers to private session data elsewhere, have a single session buffer. This session is create
cryptodev: use single mempool for asymmetric session
Rather than using a session buffer that contains pointers to private session data elsewhere, have a single session buffer. This session is created for a driver ID, and the mempool element contains space for the max session private data needed for any driver.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
0438b7df |
| 11-Feb-2022 |
Ciara Power <ciara.power@intel.com> |
doc: replace asym crypto code with literal includes
The programmer's guide for cryptodev included sample code for using Asymmetric crypto. This is now replaced with direct code from the test applica
doc: replace asym crypto code with literal includes
The programmer's guide for cryptodev included sample code for using Asymmetric crypto. This is now replaced with direct code from the test application, using literal includes. It is broken into snippets as the test application didn't have all of the required code in one function.
Signed-off-by: Ciara Power <ciara.power@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
1c559ee8 |
| 26-Oct-2021 |
Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> |
cryptodev: add telemetry endpoint for capabilities
Add telemetry endpoint for getting cryptodev capabilities.
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Acked-by: Akhil Go
cryptodev: add telemetry endpoint for capabilities
Add telemetry endpoint for getting cryptodev capabilities.
Signed-off-by: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
d3d98f5c |
| 26-Oct-2021 |
Rebecca Troy <rebecca.troy@intel.com> |
cryptodev: support telemetry
The cryptodev library now registers commands with telemetry, and implements the corresponding callback functions. These commands allow a list of cryptodevs to be queried
cryptodev: support telemetry
The cryptodev library now registers commands with telemetry, and implements the corresponding callback functions. These commands allow a list of cryptodevs to be queried, as well as info and stats for the corresponding cryptodev.
An example usage can be seen below:
Connecting to /var/run/dpdk/rte/dpdk_telemetry.v2 {"version": "DPDK 21.11.0-rc0", "pid": 1135019, "max_output_len": 16384} --> / {"/": ["/", "/cryptodev/info", "/cryptodev/list", "/cryptodev/stats", ...]} --> /cryptodev/list {"/cryptodev/list": [0,1,2,3]} --> /cryptodev/info,0 {"/cryptodev/info": {"device_name": "0000:1c:01.0_qat_sym", \ "max_nb_queue_pairs": 2}} --> /cryptodev/stats,0 {"/cryptodev/stats": {"enqueued_count": 0, "dequeued_count": 0, \ "enqueue_err_count": 0, "dequeue_err_count": 0}}
Signed-off-by: Rebecca Troy <rebecca.troy@intel.com> Acked-by: Ciara Power <ciara.power@intel.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
1c3ffb95 |
| 22-Dec-2020 |
Abhinandan Gujjar <abhinandan.gujjar@intel.com> |
cryptodev: add enqueue and dequeue callbacks
This patch adds APIs to add/remove callback functions on crypto enqueue/dequeue burst. The callback function will be called for each burst of crypto ops
cryptodev: add enqueue and dequeue callbacks
This patch adds APIs to add/remove callback functions on crypto enqueue/dequeue burst. The callback function will be called for each burst of crypto ops received/sent on a given crypto device queue pair.
Signed-off-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
db27370b |
| 10-Nov-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: replace blacklist/whitelist options
Replace -w / --pci-whitelist with -a / --allow options and --pci-blacklist with --block. The -b short option remains unchanged.
Allow the old options for no
eal: replace blacklist/whitelist options
Replace -w / --pci-whitelist with -a / --allow options and --pci-blacklist with --block. The -b short option remains unchanged.
Allow the old options for now, but print a nag warning since old options are deprecated.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Luca Boccassi <bluca@debian.org> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
show more ...
|
#
eb7eed34 |
| 11-Oct-2020 |
Fan Zhang <roy.fan.zhang@intel.com> |
cryptodev: add raw crypto datapath API
This patch adds raw data-path APIs for enqueue and dequeue operations to cryptodev. The APIs support flexible user-define enqueue and dequeue behaviors.
Signe
cryptodev: add raw crypto datapath API
This patch adds raw data-path APIs for enqueue and dequeue operations to cryptodev. The APIs support flexible user-define enqueue and dequeue behaviors.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Signed-off-by: Piotr Bronowski <piotrx.bronowski@intel.com> Acked-by: Adam Dybkowski <adamx.dybkowski@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
8d928d47 |
| 11-Oct-2020 |
Fan Zhang <roy.fan.zhang@intel.com> |
cryptodev: change crypto symmetric vector structure
This patch updates ``rte_crypto_sym_vec`` structure to add support for both cpu_crypto synchronous operation and asynchronous raw data-path APIs.
cryptodev: change crypto symmetric vector structure
This patch updates ``rte_crypto_sym_vec`` structure to add support for both cpu_crypto synchronous operation and asynchronous raw data-path APIs. The patch also includes AESNI-MB and AESNI-GCM PMD changes, unit test changes and documentation updates.
Signed-off-by: Fan Zhang <roy.fan.zhang@intel.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
3d4b2afb |
| 19-Mar-2020 |
David Marchand <david.marchand@redhat.com> |
doc: prefer https when pointing to dpdk.org
for file in $(git grep -l http://.*dpdk.org doc/); do sed -i -e 's#http://\(.*dpdk.org\)#https://\1#g' $file; done
Cc: stable@dpdk.org
Signed-off-by:
doc: prefer https when pointing to dpdk.org
for file in $(git grep -l http://.*dpdk.org doc/); do sed -i -e 's#http://\(.*dpdk.org\)#https://\1#g' $file; done
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Kevin Traynor <ktraynor@redhat.com>
show more ...
|
#
7adf992f |
| 04-Feb-2020 |
Marcin Smoczynski <marcinx.smoczynski@intel.com> |
cryptodev: introduce CPU crypto API
Add new API allowing to process crypto operations in a synchronous manner. Operations are performed on a set of SG arrays.
Cryptodevs which allows CPU crypto ope
cryptodev: introduce CPU crypto API
Add new API allowing to process crypto operations in a synchronous manner. Operations are performed on a set of SG arrays.
Cryptodevs which allows CPU crypto operation mode have to use RTE_CRYPTODEV_FF_SYM_CPU_CRYPTO capability.
Add a helper method to easily convert mbufs to a SGL form.
Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Signed-off-by: Marcin Smoczynski <marcinx.smoczynski@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
f43d3dbb |
| 12-Nov-2019 |
David Marchand <david.marchand@redhat.com> |
doc/guides: clean repeated words
Shoot repeated words in all our guides.
Cc: stable@dpdk.org
Signed-off-by: David Marchand <david.marchand@redhat.com> Acked-by: Kevin Traynor <ktraynor@redhat.com>
|
#
f2b2a449 |
| 10-Oct-2019 |
Arek Kusztal <arkadiuszx.kusztal@intel.com> |
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <a
cryptodev: add asymmetric session-less
This commit adds asymmetric session-less option to rte_crypto_asym_op. Feature flag for session-less is added to rte_cryptodev.
Signed-off-by: Arek Kusztal <arkadiuszx.kusztal@intel.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
48903a79 |
| 15-May-2019 |
Fiona Trahe <fiona.trahe@intel.com> |
doc: clarify xform zeroing in crypto guide
Signed-off-by: Fiona Trahe <fiona.trahe@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
|
#
6b1a74ef |
| 22-May-2019 |
Thierry Herbelot <thierry.herbelot@6wind.com> |
doc: fix grammar in prog guides
A copy'n'paste typo was present in three guides.
Fixes: a584d3bea902 ("doc: add compressdev library guide") Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band
doc: fix grammar in prog guides
A copy'n'paste typo was present in three guides.
Fixes: a584d3bea902 ("doc: add compressdev library guide") Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band device lib") Fixes: 0318c02b57cf ("doc: add cryptodev chapter in prog guide") Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com> Acked-by: Rami Rosen <ramirose@gmail.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|
#
8b283e90 |
| 22-May-2019 |
Thierry Herbelot <thierry.herbelot@6wind.com> |
doc: fix triplicated typo in prog guides
A bad formula was copied and pasted.
Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band device lib") Fixes: 0318c02b57cf ("doc: add cryptodev chapter
doc: fix triplicated typo in prog guides
A bad formula was copied and pasted.
Fixes: 4935e1e9f76e ("bbdev: introduce wireless base band device lib") Fixes: 0318c02b57cf ("doc: add cryptodev chapter in prog guide") Fixes: a9bb0c44c775 ("doc: add rawdev library guide and doxygen page") Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com> Acked-by: Fiona Trahe <fiona.trahe@intel.com>
show more ...
|