]> git.droids-corp.org - dpdk.git/blobdiff - lib/ipsec/sa.h
common/cnxk: use computed value for WQE skip
[dpdk.git] / lib / ipsec / sa.h
index 7503587b5004638a65b1b62de9c23f22f99d5859..ce4af8ceb2a995f66c2fb70c9f0d00b332f2a968 100644 (file)
@@ -5,7 +5,6 @@
 #ifndef _SA_H_
 #define _SA_H_
 
-#include <rte_rwlock.h>
 
 #define IPSEC_MAX_HDR_SIZE     64
 #define IPSEC_MAX_IV_SIZE      16
@@ -60,7 +59,7 @@ union sym_op_data {
 struct replay_sqn {
        rte_rwlock_t rwl;
        uint64_t sqn;
-       __extension__ uint64_t window[0];
+       __extension__ uint64_t window[];
 };
 
 /*IPSEC SA supported algorithms */