[qca-nss-drv] New API to update MTU for PPE inline IPsec port
Addition of API to update MTU and MRU values for inline
IPsec port in PPE.
Change-Id: Ic7fbadd5034ba99b1f2a4ca2600db4e2f962004c
Signed-off-by: Vijay Vigneshan <vvignesh@codeaurora.org>
diff --git a/nss_ppe.c b/nss_ppe.c
index d8f81e4..1135729 100644
--- a/nss_ppe.c
+++ b/nss_ppe.c
@@ -135,7 +135,8 @@
* nss_ppe_tx_ipsec_config_msg
* API to send inline IPsec port configure message to NSS FW
*/
-nss_tx_status_t nss_ppe_tx_ipsec_config_msg(uint32_t nss_ifnum, uint32_t vsi_num, uint16_t mtu)
+nss_tx_status_t nss_ppe_tx_ipsec_config_msg(uint32_t nss_ifnum, uint32_t vsi_num, uint16_t mtu,
+ __attribute__((unused))uint16_t mru)
{
struct nss_ctx_instance *nss_ctx = nss_ppe_get_context();
struct nss_ppe_msg npm = {0};
@@ -164,7 +165,7 @@
* nss_ppe_tx_ipsec_mtu_msg
* API to send IPsec port MTU change message to NSS FW
*/
-nss_tx_status_t nss_ppe_tx_ipsec_mtu_msg(uint32_t nss_ifnum, uint16_t mtu)
+nss_tx_status_t nss_ppe_tx_ipsec_mtu_msg(uint32_t nss_ifnum, uint16_t mtu, __attribute__((unused))uint16_t mru)
{
struct nss_ctx_instance *nss_ctx = nss_ppe_get_context();
struct nss_ppe_msg npm = {0};