net/softnic: add symmetric crypto action
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_thread.c
index c8a8d23..4572adf 100644 (file)
@@ -2498,6 +2498,16 @@ action_convert(struct rte_table_action *a,
                        return status;
        }
 
+       if (action->action_mask & (1LLU << RTE_TABLE_ACTION_SYM_CRYPTO)) {
+               status = rte_table_action_apply(a,
+                       data,
+                       RTE_TABLE_ACTION_SYM_CRYPTO,
+                       &action->sym_crypto);
+
+               if (status)
+                       return status;
+       }
+
        return 0;
 }