]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/softnic/rte_eth_softnic_action.c
net/ice: rework for generic flow enabling
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_action.c
index 2b74848c31ad37f66e5003b216054e78e36ef31c..92c744dc9a8580412ac9796441d4b56f7b4a0e35 100644 (file)
@@ -386,6 +386,17 @@ softnic_table_action_profile_create(struct pmd_internals *p,
                }
        }
 
+       if (params->action_mask & (1LLU << RTE_TABLE_ACTION_SYM_CRYPTO)) {
+               status = rte_table_action_profile_action_register(ap,
+                       RTE_TABLE_ACTION_SYM_CRYPTO,
+                       &params->sym_crypto);
+
+               if (status) {
+                       rte_table_action_profile_free(ap);
+                       return NULL;
+               }
+       }
+
        status = rte_table_action_profile_freeze(ap);
        if (status) {
                rte_table_action_profile_free(ap);