The OCTEON TX2 crypto PMD may be compiled natively on an OCTEON TX2 platform or
cross-compiled on an x86 platform.
-Enable OCTEON TX2 crypto PMD in your config file:
-
-* ``CONFIG_RTE_LIBRTE_PMD_OCTEONTX2_CRYPTO=y``
-
Refer to :doc:`../platform/octeontx2` for instructions to build your DPDK
application.
.. note::
- Ensure that sufficient huge pages are available for your application::
+ * For CN98xx SoC, it is recommended to use even and odd DBDF VFs to achieve
+ higher performance as even VF uses one crypto engine and odd one uses
+ another crypto engine.
+
+ * Ensure that sufficient huge pages are available for your application::
- echo 8 > /sys/kernel/mm/hugepages/hugepages-524288kB/nr_hugepages
+ dpdk-hugepages.py --setup 4G --pagesize 512M
- Refer to :ref:`linux_gsg_hugepages` for more details.
+ Refer to :ref:`linux_gsg_hugepages` for more details.
Debugging Options
-----------------
.. code-block:: console
- ./test
+ ./dpdk-test
RTE>>cryptodev_octeontx2_autotest
The asymmetric crypto operations on OCTEON TX2 crypto PMD may be verified by running the test
.. code-block:: console
- ./test
+ ./dpdk-test
RTE>>cryptodev_octeontx2_asym_autotest
* IPv6
* ESP
* Tunnel mode
+* ESN
+* Anti-replay
* AES-128/192/256-GCM
+* AES-128/192/256-CBC-SHA1-HMAC
+* AES-128/192/256-CBC-SHA256-128-HMAC