|
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1, v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2 |
|
| #
ab4bb424 |
| 02-Nov-2021 |
Maxime Coquelin <[email protected]> |
vhost: rename driver callbacks struct
As previously announced, this patch renames struct vhost_device_ops to struct rte_vhost_device_ops.
Signed-off-by: Maxime Coquelin <[email protected]>
vhost: rename driver callbacks struct
As previously announced, this patch renames struct vhost_device_ops to struct rte_vhost_device_ops.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1 |
|
| #
10aa3757 |
| 15-Apr-2021 |
Chengchang Tang <[email protected]> |
examples: add eal cleanup to examples
According to the programming guide, the rte_eal_init should be used pairs with rte_eal_cleanup.
This patch add rte_eal_cleanup to examples to encourage new use
examples: add eal cleanup to examples
According to the programming guide, the rte_eal_init should be used pairs with rte_eal_cleanup.
This patch add rte_eal_cleanup to examples to encourage new users of DPDK to use it.
Fixes: aec9c13c5257 ("eal: add function to release internal resources") Fixes: 3d0fad56b74a ("examples/fips_validation: add crypto FIPS application") Fixes: c8e6ceecebc1 ("examples/ioat: add new sample app for ioat driver") Fixes: 4ff457986f76 ("examples/l2fwd-event: add default poll mode routines") Fixes: 08bd1a174461 ("examples/l3fwd-graph: add graph-based l3fwd skeleton") Fixes: c5eebf85badc ("examples/ntb: add example for NTB") Fixes: b77f66002812 ("examples/pipeline: add new example application") Fixes: edbed86d1cc3 ("examples/vdpa: introduce a new sample for vDPA") Fixes: c19beb3f38cd ("examples/vhost_blk: introduce vhost storage sample") Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Cc: [email protected]
Signed-off-by: Chengchang Tang <[email protected]>
show more ...
|
|
Revision tags: v21.02, v21.02-rc4, v21.02-rc3 |
|
| #
dd0946f9 |
| 04-Feb-2021 |
Ibtisam Tariq <[email protected]> |
examples/vhost_crypto: remove unused short option
Short option "s" was passed to getopt_long function, while there was no condition on this option.
Fixes: f5188211c721 ("examples/vhost_crypto: add
examples/vhost_crypto: remove unused short option
Short option "s" was passed to getopt_long function, while there was no condition on this option.
Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Cc: [email protected]
Signed-off-by: Ibtisam Tariq <[email protected]> Acked-by: Fan Zhang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| #
270054ed |
| 04-Feb-2021 |
Ibtisam Tariq <[email protected]> |
examples/vhost_crypto: enhance getopt_long usage
Instead of using getopt_long return value, strcmp was used to compare the input parameters with the struct option array. This patch get rid of all th
examples/vhost_crypto: enhance getopt_long usage
Instead of using getopt_long return value, strcmp was used to compare the input parameters with the struct option array. This patch get rid of all those strcmp by directly binding each longopt with an int enum. This is to improve readability and consistency in all examples.
Bugzilla ID: 238
Reported-by: David Marchand <[email protected]> Signed-off-by: Ibtisam Tariq <[email protected]> Acked-by: Fan Zhang <[email protected]> Reviewed-by: David Marchand <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2 |
|
| #
854dbee2 |
| 02-Nov-2020 |
Ibtisam Tariq <[email protected]> |
examples/vhost_crypto: add new line character in usage
Add new line character(\n) in the usage of vhost_crypto example for better readability
Fixes: 709521f4c2cd ("examples/vhost_crypto: support mu
examples/vhost_crypto: add new line character in usage
Add new line character(\n) in the usage of vhost_crypto example for better readability
Fixes: 709521f4c2cd ("examples/vhost_crypto: support multi-core") Cc: [email protected]
Signed-off-by: Ibtisam Tariq <[email protected]> Reviewed-by: David Marchand <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v20.11-rc1 |
|
| #
ea1b835a |
| 02-Oct-2020 |
Fan Zhang <[email protected]> |
vhost/crypto: fix feature negotiation
This patch fixes the feature negotiation for vhost crypto during initialization. The patch uses the newly created driver start function to inform the driver typ
vhost/crypto: fix feature negotiation
This patch fixes the feature negotiation for vhost crypto during initialization. The patch uses the newly created driver start function to inform the driver type with the fixed vhost features. In addition the patch provides a new API specifically used by the application to start a vhost-crypto driver.
Fixes: 939066d96563 ("vhost/crypto: add public function implementation") Cc: [email protected]
Signed-off-by: Fan Zhang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
| #
c08736b3 |
| 28-Sep-2020 |
Maxime Coquelin <[email protected]> |
examples/vhost_crypto: use vhost async-copy flag
The crypto backend uses RTE_VHOST_USER_DEQUEUE_ZERO_COPY only for the shared areas to be populated at mmap time. It does not use the other mechanisms
examples/vhost_crypto: use vhost async-copy flag
The crypto backend uses RTE_VHOST_USER_DEQUEUE_ZERO_COPY only for the shared areas to be populated at mmap time. It does not use the other mechanisms the feature provides.
Now that RTE_VHOST_USER_DEQUEUE_ZERO_COPY is being removed, let's use RTE_VHOST_USER_ASYNC_COPY instead which does the same thing.
Signed-off-by: Maxime Coquelin <[email protected]> Reviewed-by: Chenbo Xia <[email protected]>
show more ...
|
| #
57680e34 |
| 28-Sep-2020 |
Fan Zhang <[email protected]> |
vhost/crypto: fix pool allocation
This patch fixes the missing iv space allocation in crypto operation mempool.
Fixes: 709521f4c2cd ("examples/vhost_crypto: support multi-core") Cc: [email protected]
vhost/crypto: fix pool allocation
This patch fixes the missing iv space allocation in crypto operation mempool.
Fixes: 709521f4c2cd ("examples/vhost_crypto: support multi-core") Cc: [email protected]
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Chenbo Xia <[email protected]>
show more ...
|
|
Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1, v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1, v20.02, v20.02-rc4, v20.02-rc3, v20.02-rc2, v20.02-rc1, v19.11, v19.11-rc4, v19.11-rc3, v19.11-rc2, v19.11-rc1, v19.08, v19.08-rc4, v19.08-rc3, v19.08-rc2, v19.08-rc1 |
|
| #
c9030ae3 |
| 25-Jun-2019 |
Anoob Joseph <[email protected]> |
cryptodev: add feature flags to disable
Adding a new field, ff_disable, to allow applications to control the features enabled on the crypto device. This would allow for efficient usage of HW/SW offl
cryptodev: add feature flags to disable
Adding a new field, ff_disable, to allow applications to control the features enabled on the crypto device. This would allow for efficient usage of HW/SW offloads.
Signed-off-by: Anoob Joseph <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
be7a9518 |
| 15-May-2019 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: remove unused function
This patch tries to fix the coverity issue of unchecked return value. Since the function that causes the problem is unused, it is removed completely.
C
examples/vhost_crypto: remove unused function
This patch tries to fix the coverity issue of unchecked return value. Since the function that causes the problem is unused, it is removed completely.
Coverity issue: 336816 Fixes: f5188211c721 ("examples/vhost_crypto: add sample application") Cc: [email protected]
Signed-off-by: Fan Zhang <[email protected]> Reviewed-by: Jens Freimann <[email protected]> Acked-by: Marko Kovacevic <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v19.05, v19.05-rc4, v19.05-rc3, v19.05-rc2, v19.05-rc1, v19.02, v19.02-rc4, v19.02-rc3 |
|
| #
00479d9c |
| 15-Jan-2019 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: fix session private mempool
This patch fixes the incorrect session private mempool passing to cryptodev.
Fixes: ac5e42daca19 ("vhost/crypto: use separate session mempools")
examples/vhost_crypto: fix session private mempool
This patch fixes the incorrect session private mempool passing to cryptodev.
Fixes: ac5e42daca19 ("vhost/crypto: use separate session mempools")
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Pablo de Lara <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v19.02-rc2 |
|
| #
ac5e42da |
| 10-Jan-2019 |
Fan Zhang <[email protected]> |
vhost/crypto: use separate session mempools
This patch uses the two session mempool approach to vhost crypto. One mempool is for session header objects, and the other is for session private data.
S
vhost/crypto: use separate session mempools
This patch uses the two session mempool approach to vhost crypto. One mempool is for session header objects, and the other is for session private data.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
| #
725d2a7f |
| 10-Jan-2019 |
Fan Zhang <[email protected]> |
cryptodev: change queue pair configure structure
This patch changes the cryptodev queue pair configure structure to enable two mempool passed into cryptodev PMD simutaneously.
Signed-off-by: Fan Zh
cryptodev: change queue pair configure structure
This patch changes the cryptodev queue pair configure structure to enable two mempool passed into cryptodev PMD simutaneously.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Pablo de Lara <[email protected]> Acked-by: Akhil Goyal <[email protected]>
show more ...
|
|
Revision tags: v19.02-rc1 |
|
| #
57f9a9fc |
| 11-Dec-2018 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: fix bracket
This patch fixes a missed bracket bug in the code.
Fixes: e1d90eaa83ff ("examples/vhost_crypto: fix zero copy") Cc: [email protected]
Signed-off-by: Fan Zhang <roy
examples/vhost_crypto: fix bracket
This patch fixes a missed bracket bug in the code.
Fixes: e1d90eaa83ff ("examples/vhost_crypto: fix zero copy") Cc: [email protected]
Signed-off-by: Fan Zhang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v18.11, v18.11-rc5, v18.11-rc4 |
|
| #
e1d90eaa |
| 14-Nov-2018 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: fix zero copy
This patch fixes the zero copy enable problem for vhost crypto sample application.
For some Crypto PMDs such as AESNI-MB and AESNI-GCM the data to be processed
examples/vhost_crypto: fix zero copy
This patch fixes the zero copy enable problem for vhost crypto sample application.
For some Crypto PMDs such as AESNI-MB and AESNI-GCM the data to be processed will be made a copy in the same buffer but next to the data. For example, to encrypt 64 bytes data the PMD will copy this data from offset 64 to offset 123. This requires the application provides the buffer with at least double of the data size.
However there is no way for VMs to know this limitation. When zero-copy is enabled in Vhost the PMD may overwrite the buffer next to the VM data to be processed, and further cause problems such as Segmentation Fault or even worse, crashes the VM.
To fix the problem the user should avoid enabling the zero copy for these Crypto PMDs. This patch adds the checking of the PMD names to see if zero copy can be applied.
Fixes: 709521f4c2cd ("examples/vhost_crypto: support multi-core")
Signed-off-by: Fan Zhang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v18.11-rc3, v18.11-rc2, v18.11-rc1, v18.08, v18.08-rc3, v18.08-rc2, v18.08-rc1 |
|
| #
709521f4 |
| 22-Jun-2018 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: support multi-core
Originally vhost_crypto sample application only supports single core. This patch adds the multi-core support with more flexible options.
Signed-off-by: Fan
examples/vhost_crypto: support multi-core
Originally vhost_crypto sample application only supports single core. This patch adds the multi-core support with more flexible options.
Signed-off-by: Fan Zhang <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|
|
Revision tags: v18.05, v18.05-rc6, v18.05-rc5 |
|
| #
a106fcce |
| 21-May-2018 |
Pablo de Lara <[email protected]> |
cryptodev: rename functions to get session size
rte_cryptodev_get_header_session_size() and rte_cryptodev_get_private_session_size() functions are targeting symmetric sessions.
With the future addi
cryptodev: rename functions to get session size
rte_cryptodev_get_header_session_size() and rte_cryptodev_get_private_session_size() functions are targeting symmetric sessions.
With the future addition of asymmetric operations, these functions need to be renamed from *cryptodev_*_session_* to *cryptodev_sym_*_session_* to be symmetric specific.
The two original functions are marked as deprecated and will be removed in 18.08, so applications can still use the functions in 18.05.
Signed-off-by: Pablo de Lara <[email protected]> Acked-by: Shally Verma <[email protected]> Acked-by: Fiona Trahe <[email protected]> Acked-by: Deepak Kumar Jain <[email protected]>
show more ...
|
|
Revision tags: v18.05-rc4, v18.05-rc3, v18.05-rc2, v18.05-rc1 |
|
| #
f5188211 |
| 05-Apr-2018 |
Fan Zhang <[email protected]> |
examples/vhost_crypto: add sample application
This patch adds vhost_crypto sample application to DPDK.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Jay Zhou <[email protected]
examples/vhost_crypto: add sample application
This patch adds vhost_crypto sample application to DPDK.
Signed-off-by: Fan Zhang <[email protected]> Acked-by: Jay Zhou <[email protected]> Reviewed-by: Maxime Coquelin <[email protected]>
show more ...
|