Update NSS LAG to for new API.

Change-Id: I308ba2653ba58127d7a32d7178dead3afe848840
Signed-off-by: Tushar Mathur <tushar@codeaurora.org>
diff --git a/nss_lag.h b/nss_lag.h
new file mode 100755
index 0000000..5363d5a
--- /dev/null
+++ b/nss_lag.h
@@ -0,0 +1,58 @@
+/*
+ **************************************************************************
+ * Copyright (c) 2014, The Linux Foundation. All rights reserved.
+ * Permission to use, copy, modify, and/or distribute this software for
+ * any purpose with or without fee is hereby granted, provided that the
+ * above copyright notice and this permission notice appear in all copies.
+ * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+ * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+ * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+ * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
+ * OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+ **************************************************************************
+ */
+
+/*
+ * nss_lag.h
+ *	NSS LAG APIs
+ */
+
+
+/*
+ * NSS LAG messages
+ */
+enum nss_lag_metadata_types {
+	NSS_TX_METADATA_LAG_STATE_CHANGE = 0,
+};
+
+/*
+ * NSS LAG state change events
+ */
+enum nss_lag_state_change_ev {
+	NSS_LAG_RELEASE = 0,
+	NSS_LAG_ENSLAVE = 1,
+};
+
+/*
+ * NSS LAG state change message
+ */
+struct nss_lag_state_change {
+	uint32_t lagid;
+	uint32_t interface;
+	enum nss_lag_state_change_ev event;
+};
+
+/*
+ * Message structure to send/receive Link aggregation commands
+ */
+struct nss_lag_msg {
+	struct nss_cmn_msg cm;				/* Message Header */
+	union {
+		struct nss_lag_state_change state;	/* Message: state change */
+	} msg;
+};
+
+extern nss_tx_status_t nss_lag_tx(struct nss_ctx_instance *nss_ctx, struct nss_lag_msg *msg);
+