[qca-nss-drv] NSS PPE stats

Changes to enable various PPE stats through debugfs.
Currently there are 3 new files implemented under -
/sys/kernel/debug/qca-nss-drv/ppe/ for connection,
l3-debug and packet code related information.

Change-Id: I13e8e030be90402c7b4bd5551144a4ef788e0b64
Signed-off-by: Amit Gupta <amitgupt@codeaurora.org>
diff --git a/nss_init.c b/nss_init.c
index 5bcbe2e..27d98d0 100644
--- a/nss_init.c
+++ b/nss_init.c
@@ -752,6 +752,13 @@
 	nss_capwap_init();
 
 	/*
+	 * INIT ppe on supported platform
+	 */
+	if (of_machine_is_compatible("qcom,ipq807x")) {
+		nss_ppe_init();
+	}
+
+	/*
 	 * Register platform_driver
 	 */
 	return platform_driver_register(&nss_driver);
@@ -781,6 +788,13 @@
 
 	nss_data_plane_destroy_delay_work();
 
+	/*
+	 * cleanup ppe on supported platform
+	 */
+	if (of_machine_is_compatible("qcom,ipq807x")) {
+		nss_ppe_free();
+	}
+
 	platform_driver_unregister(&nss_driver);
 }