crypto/octeontx2: enable non-byte aligned data
authorAnkur Dwivedi <adwivedi@marvell.com>
Sat, 16 May 2020 09:26:55 +0000 (14:56 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Sun, 17 May 2020 14:10:44 +0000 (16:10 +0200)
The OCTEON TX2 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/octeontx2.ini
drivers/crypto/octeontx2/otx2_cryptodev.c

index e9ce26c..cdcaf70 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 'octeontx2' crypto driver.
index 7cda077..6ffbc2e 100644 (file)
@@ -104,6 +104,7 @@ otx2_cpt_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
                             RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT |
                             RTE_CRYPTODEV_FF_ASYMMETRIC_CRYPTO |
                             RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT |
+                            RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA |
                             RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
 
        return 0;