crypto/cnxk: support null authentication in IPsec
[dpdk.git] / drivers / crypto / cnxk / cnxk_cryptodev.c
index 9c7dc62..d67de54 100644 (file)
@@ -21,10 +21,11 @@ cnxk_cpt_default_ff_get(void)
                      RTE_CRYPTODEV_FF_OOP_SGL_IN_LB_OUT |
                      RTE_CRYPTODEV_FF_OOP_SGL_IN_SGL_OUT |
                      RTE_CRYPTODEV_FF_SYM_SESSIONLESS |
-                     RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED;
+                     RTE_CRYPTODEV_FF_DIGEST_ENCRYPTED |
+                     RTE_CRYPTODEV_FF_SECURITY;
 
        if (roc_model_is_cn10k())
-               ff |= RTE_CRYPTODEV_FF_SECURITY;
+               ff |= RTE_CRYPTODEV_FF_SECURITY_INNER_CSUM;
 
        return ff;
 }