drivers/crypto: add missing OOP feature flag
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Thu, 4 Jun 2020 08:51:12 +0000 (08:51 +0000)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 7 Jul 2020 22:15:35 +0000 (00:15 +0200)
ZUC, SNOW3G and KASUMI PMDs support Out-of-place operations,
but their feature flags did not reflect this.

Fixes: 2717246ecd7d ("cryptodev: replace mbuf scatter gather flag")
Cc: stable@dpdk.org
Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
doc/guides/cryptodevs/features/kasumi.ini
doc/guides/cryptodevs/features/snow3g.ini
doc/guides/cryptodevs/features/zuc.ini
drivers/crypto/kasumi/rte_kasumi_pmd.c
drivers/crypto/snow3g/rte_snow3g_pmd.c
drivers/crypto/zuc/rte_zuc_pmd.c

index 8380a57..fbdb47e 100644 (file)
@@ -8,6 +8,7 @@ Symmetric crypto       = Y
 Sym operation chaining = Y
 Symmetric sessionless  = Y
 Non-Byte aligned data  = Y
+OOP LB  In LB  Out     = Y
 
 ;
 ; Supported crypto algorithms of the 'kasumi' crypto driver.
index b2caefe..14ac7e4 100644 (file)
@@ -8,6 +8,7 @@ Symmetric crypto       = Y
 Sym operation chaining = Y
 Symmetric sessionless  = Y
 Non-Byte aligned data  = Y
+OOP LB  In LB  Out     = Y
 
 ;
 ; Supported crypto algorithms of the 'snow3g' crypto driver.
index 21d074f..1c53454 100644 (file)
@@ -8,6 +8,7 @@ Symmetric crypto       = Y
 Sym operation chaining = Y
 Symmetric sessionless  = Y
 Non-Byte aligned data  = Y
+OOP LB  In LB  Out     = Y
 
 ;
 ; Supported crypto algorithms of the 'zuc' crypto driver.
index c3f0dfc..5ff1b5c 100644 (file)
@@ -551,7 +551,8 @@ cryptodev_kasumi_create(const char *name,
        dev->feature_flags = RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO |
                        RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
                        RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA |
-                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
+                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS |
+                       RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT;
 
        mgr = alloc_mb_mgr(0);
        if (mgr == NULL)
index 558e01e..962868e 100644 (file)
@@ -563,7 +563,8 @@ cryptodev_snow3g_create(const char *name,
        dev->feature_flags = RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO |
                        RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
                        RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA |
-                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
+                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS |
+                       RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT;
 
        mgr = alloc_mb_mgr(0);
        if (mgr == NULL)
index 20cb5a1..a9ff318 100644 (file)
@@ -480,7 +480,8 @@ cryptodev_zuc_create(const char *name,
        dev->feature_flags = RTE_CRYPTODEV_FF_SYMMETRIC_CRYPTO |
                        RTE_CRYPTODEV_FF_SYM_OPERATION_CHAINING |
                        RTE_CRYPTODEV_FF_NON_BYTE_ALIGNED_DATA |
-                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS;
+                       RTE_CRYPTODEV_FF_SYM_SESSIONLESS |
+                       RTE_CRYPTODEV_FF_OOP_LB_IN_LB_OUT;
 
        mb_mgr = alloc_mb_mgr(0);
        if (mb_mgr == NULL)