cryptodev: make xform key pointer constant
[dpdk.git] / drivers / net / softnic / rte_eth_softnic_internals.h
index 415434d..08bc660 100644 (file)
@@ -948,6 +948,9 @@ struct softnic_table_rule_match {
        } match;
 };
 
+#ifndef SYM_CRYPTO_MAX_KEY_SIZE
+#define SYM_CRYPTO_MAX_KEY_SIZE                (256)
+#endif
 struct softnic_table_rule_action {
        uint64_t action_mask;
        struct rte_table_action_fwd_params fwd;
@@ -962,6 +965,7 @@ struct softnic_table_rule_action {
        struct rte_table_action_tag_params tag;
        struct rte_table_action_decap_params decap;
        struct rte_table_action_sym_crypto_params sym_crypto;
+       uint8_t sym_crypto_key[SYM_CRYPTO_MAX_KEY_SIZE];
 };
 
 struct rte_flow {