ipc: end multiprocess thread during cleanup
[dpdk.git] / lib / ipsec / sa.h
index 107ebd1..7503587 100644 (file)
@@ -122,7 +122,7 @@ struct rte_ipsec_sa {
         * In case of SA handled by multiple threads *sqn* cacheline
         * could be shared by multiple cores.
         * To minimise performance impact, we try to locate in a separate
-        * place from other frequently accesed data.
+        * place from other frequently accessed data.
         */
        union {
                uint64_t outb;
@@ -132,6 +132,15 @@ struct rte_ipsec_sa {
                        struct replay_sqn *rsn[REPLAY_SQN_NUM];
                } inb;
        } sqn;
+       /* Statistics */
+       struct {
+               uint64_t count;
+               uint64_t bytes;
+               struct {
+                       uint64_t count;
+                       uint64_t authentication_failed;
+               } errors;
+       } statistics;
 
 } __rte_cache_aligned;