[ipq806x] Initial commit for NSS Driver
NSS driver supports following features:
[1] Dual concurrent NSS cores
[2] Dual concurrent interrupts per NSS core
[3] Crypto, Connection manager, GMAC, Profiler, IPsec
[4] C2C
[5] Fast path rules
[6] Sync messages
[7] Descriptor queue congestion cleared callback
Note that following parts of code require more work:
[1] NSS clock and reset initialization
[2] Performance analysis (hrtimer, interrupt co-alescing)
[3] Weighed RR queueing
[4] Virtual interface support
[5] Debug and statistics support
Change-Id: I9d6e158a73f67a5df20c9ae4c7c6786c1b9742b0
Signed-off-by: Abhishek Rastogi <arastogi@codeaurora.org>
diff --git a/Makefile b/Makefile
new file mode 100755
index 0000000..6b9595f
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,11 @@
+obj-m += qca-nss-drv.o
+qca-nss-drv-objs := nss_init.o nss_core.o nss_tx_rx.o
+
+obj ?= .
+
+EXTRA_CFLAGS += -I$(obj)/nss_hal/include
+
+ifeq "$(CONFIG_ARCH_IPQ806X)" "y"
+qca-nss-drv-objs += nss_hal/ipq806x/nss_hal_pvt.o
+EXTRA_CFLAGS += -I$(obj)/nss_hal/ipq806x
+endif