[qca-nss-sfe] Remove active list for the ipv4

to maintain the active list needs use lock, use new packets
number to mark active connection.

Change-Id: Id676f6b47c72ea898f45f014848f5d24d6cb98e0
Signed-off-by: Ken Zhu <quic_guigenz@quicinc.com>
diff --git a/sfe_ipv4.h b/sfe_ipv4.h
index 25411aa..da2f748 100644
--- a/sfe_ipv4.h
+++ b/sfe_ipv4.h
@@ -66,10 +66,6 @@
 	struct sfe_ipv4_connection *connection;
 	struct sfe_ipv4_connection_match *counter_match;
 					/* Matches the flow in the opposite direction as the one in *connection */
-	struct sfe_ipv4_connection_match *active_next;
-	struct sfe_ipv4_connection_match *active_prev;
-	bool active;			/* Flag to indicate if we're on the active list */
-
 	/*
 	 * Characteristics that identify flows that match this rule.
 	 */
@@ -260,10 +256,6 @@
  */
 struct sfe_ipv4 {
 	spinlock_t lock;		/* Lock for SMP correctness */
-	struct sfe_ipv4_connection_match *active_head;
-					/* Head of the list of recently active connections */
-	struct sfe_ipv4_connection_match *active_tail;
-					/* Tail of the list of recently active connections */
 	struct sfe_ipv4_connection *all_connections_head;
 					/* Head of the list of all connections */
 	struct sfe_ipv4_connection *all_connections_tail;
@@ -290,6 +282,8 @@
 	struct sfe_ipv4_stats __percpu *stats_pcpu;
 					/* Per CPU statistics. */
 
+	struct sfe_ipv4_connection *wc_next; /* Connection list walk pointer for stats sync */
+
 	/*
 	 * Control state.
 	 */