[qca-nss-drv] Support for multicast v4/v6 ingress shaping rule.

Change-Id: Ic3f84c3faf1011fb6609f821f611de61378a2b97
Signed-off-by: Manish Verma <maniverm@codeaurora.org>
diff --git a/exports/nss_ipv4.h b/exports/nss_ipv4.h
index bd96444..0ac86c8 100644
--- a/exports/nss_ipv4.h
+++ b/exports/nss_ipv4.h
@@ -134,6 +134,8 @@
 		/**< Ingress VLAN fields are valid. */
 #define NSS_IPV4_MC_RULE_CREATE_FLAG_INGRESS_PPPOE 0x08
 		/**< Ingress PPPoE fields are valid. */
+#define NSS_IPV4_MC_RULE_CREATE_FLAG_IGS_VALID 0x10
+		/**< Ingress shaping fields are valid. */
 
 /*
  * Per-interface rule flags for a multicast connection (to be used with the rule_flags
@@ -435,7 +437,8 @@
 	uint16_t dest_mac[3];			/**< Destination multicast MAC address. */
 	uint16_t if_count;			/**< Number of destination interfaces. */
 	uint8_t egress_dscp;			/**< Egress DSCP value for the flow. */
-	uint8_t reserved[3];			/**< Reserved 3 bytes for alignment. */
+	uint8_t reserved[1];			/**< Reserved 1 byte for alignment. */
+	uint16_t igs_qos_tag;			/**< Ingress shaping QoS tag for the rule. */
 
 	struct nss_ipv4_mc_if_rule if_rule[NSS_MC_IF_MAX];
 						/**< Per-interface information. */
diff --git a/exports/nss_ipv6.h b/exports/nss_ipv6.h
index 70930ad..cb509bd 100644
--- a/exports/nss_ipv6.h
+++ b/exports/nss_ipv6.h
@@ -130,6 +130,8 @@
 		/**< Ingress VLAN fields are valid. */
 #define NSS_IPV6_MC_RULE_CREATE_FLAG_INGRESS_PPPOE 0x08
 		/**< Ingress PPPoE fields are valid. */
+#define NSS_IPV6_MC_RULE_CREATE_FLAG_IGS_VALID 0x10
+		/**< Ingress shaping fields are valid. */
 
 /*
  * Per-interface rule flags for a multicast connection (to be used with the rule_flags
@@ -506,7 +508,8 @@
 	uint16_t dest_mac[3];		/**< Destination multicast MAC address. */
 	uint16_t if_count;		/**< Number of destination interfaces. */
 	uint8_t egress_dscp;		/**< Egress DSCP value for the flow. */
-	uint8_t reserved[3];		/**< Reserved 3 bytes for alignment. */
+	uint8_t reserved[1];		/**< Reserved 1 byte for alignment. */
+	uint16_t igs_qos_tag;		/**< Ingress shaping QoS tag for the flow. */
 
 	struct nss_ipv6_mc_if_rule if_rule[NSS_MC_IF_MAX];
 			/**< Per-interface information. */