[qca-nss-drv] IGS configuration interface message.
Add IGS configuration (set/clear) message in the
base interface command messages.
Change-Id: Idef1630460f5991de57d3ccabceafd928c4c9c56
Signed-off-by: Manish Verma <maniverm@codeaurora.org>
diff --git a/exports/nss_if.h b/exports/nss_if.h
index 853f9bd..a664cc9 100644
--- a/exports/nss_if.h
+++ b/exports/nss_if.h
@@ -1,6 +1,6 @@
/*
**************************************************************************
- * Copyright (c) 2014-2018, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2019, 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.
@@ -48,6 +48,8 @@
NSS_IF_VSI_ASSIGN,
NSS_IF_VSI_UNASSIGN,
NSS_IF_SET_NEXTHOP,
+ NSS_IF_SET_IGS_NODE,
+ NSS_IF_CLEAR_IGS_NODE,
NSS_IF_MAX_MSG_TYPES = 9999,
};
@@ -185,6 +187,14 @@
};
/**
+ * nss_if_igs_config
+ * Ingress shaper set/clear configure message structure.
+ */
+struct nss_if_igs_config {
+ int32_t igs_num; /**< Ingress shaper interface number. */
+};
+
+/**
* nss_if_msgs
* Information for physical NSS interface command messages.
*/
@@ -215,6 +225,8 @@
/**< Remove the VSI assignment. */
struct nss_if_set_nexthop set_nexthop;
/**< Set nexthop of interface. */
+ struct nss_if_igs_config config_igs;
+ /**< Configure an ingress shaper interface. */
};
/**