[qca-nss-drv] Add APIs to detect rule table size

API's to allow ECM to know how many rules NSS supports.

Change-Id: I67b706eb210413a7264181e469df6d4601fbe7cf
Signed-off-by: Gareth Williams <garethw@codeaurora.org>
diff --git a/nss_ipv4.c b/nss_ipv4.c
index 2825370..f4f990a 100644
--- a/nss_ipv4.c
+++ b/nss_ipv4.c
@@ -25,6 +25,16 @@
 static struct  nss_conn_cfg_pvt i4cfgp;
 
 /*
+ * nss_ipv4_max_conn_count()
+ *	Return the maximum number of IPv4 connections that the NSS acceleration engine supports.
+ */
+int nss_ipv4_max_conn_count(void)
+{
+	return nss_ipv4_conn_cfg;
+}
+EXPORT_SYMBOL(nss_ipv4_max_conn_count);
+
+/*
  * nss_ipv4_driver_conn_sync_update()
  *	Update driver specific information from the messsage.
  */