eventdev/eth_rx: fix telemetry Rx stats reset
[dpdk.git] / examples / ipsec-secgw / ipsec.h
index b471360..ccfde8e 100644 (file)
@@ -63,8 +63,7 @@ struct ip_addr {
        } ip;
 };
 
-#define MAX_KEY_SIZE           36
-
+#define MAX_KEY_SIZE           64
 /*
  * application wide SA parameters
  */
@@ -143,6 +142,7 @@ struct ipsec_sa {
        enum rte_security_ipsec_sa_direction direction;
        uint8_t udp_encap;
        uint16_t portid;
+       uint64_t esn;
        uint16_t mss;
        uint8_t fdir_qid;
        uint8_t fdir_flag;
@@ -248,7 +248,7 @@ struct socket_ctx {
        struct sp_ctx *sp_ip6_out;
        struct rt_ctx *rt_ip4;
        struct rt_ctx *rt_ip6;
-       struct rte_mempool *mbuf_pool;
+       struct rte_mempool *mbuf_pool[RTE_MAX_ETHPORTS];
        struct rte_mempool *mbuf_pool_indir;
        struct rte_mempool *session_pool;
        struct rte_mempool *session_priv_pool;