examples/vhost_blk: fix build with gcc 10
[dpdk.git] / examples / ipsec-secgw / ipsec.h
index 5988d59..4f2fd61 100644 (file)
@@ -37,7 +37,6 @@
 
 #define DEFAULT_MAX_CATEGORIES 1
 
-#define IPSEC_SA_MAX_ENTRIES (128) /* must be power of 2, max 2 power 30 */
 #define INVALID_SPI (0)
 
 #define DISCARD        INVALID_SPI
@@ -82,6 +81,7 @@ struct app_sa_prm {
        uint32_t enable; /* use librte_ipsec API for ipsec pkt processing */
        uint32_t window_size; /* replay window size */
        uint32_t enable_esn;  /* enable/disable ESN support */
+       uint32_t cache_sz;      /* per lcore SA cache size */
        uint64_t flags;       /* rte_ipsec_sa_prm.flags */
 };