]> git.droids-corp.org - dpdk.git/commitdiff
crypto/octeontx: enable non-byte aligned data
authorAnkur Dwivedi <adwivedi@marvell.com>
Sat, 16 May 2020 09:26:57 +0000 (14:56 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 17 May 2020 14:10:44 +0000 (16:10 +0200)
The OCTEON TX crypto PMD supports non-byte aligned data as
input for SNOW and ZUC algos. Adding the same to the feature list.

Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com>
Signed-off-by: Anoob Joseph <anoobj@marvell.com>
doc/guides/cryptodevs/features/octeontx.ini
drivers/crypto/octeontx/otx_cryptodev_ops.c

index 4ce4ff16994562947398bc56e1df6928a6b33d28..09affb21d101b87d040c9a2424eca9ebab4d6592 100644 (file)
@@ -13,6 +13,7 @@ OOP SGL In LB  Out     = Y
 OOP SGL In SGL Out     = Y
 RSA PRIV OP KEY QT     = Y
 Symmetric sessionless  = Y
+Non-Byte aligned data  = Y
 
 ;
 ; Supported crypto algorithms of 'octeontx' crypto driver.
index 3fbf5d5368015af53bd7a39384cdb02c5822c44e..7097499803536e28c5df71a501e9f9aa846e7f73 100644 (file)
@@ -968,6 +968,7 @@ otx_cpt_dev_create(struct rte_cryptodev *c_dev)
                                RTE_CRYPTODEV_FF_IN_PLACE_SGL |
                                RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |
                                RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT |
+                               RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA |
                                RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
                break;
        default: