Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3a655400 authored by Arun Kumar Neelakantam's avatar Arun Kumar Neelakantam
Browse files

net: ipc_router: Configure the IPC router NODE ID



Add support to configure the IPC Router NODE ID per target
basis through defconfig value.

CRs-Fixed: 2263332
Change-Id: If26cdb384cc98246f80b70d7d943d820d78e7d9e
Signed-off-by: default avatarArun Kumar Neelakantam <aneela@codeaurora.org>
parent f99191db
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -23,3 +23,13 @@ config IPC_ROUTER_SECURITY
	  once configured with the security rules will ensure that the
	  sender of the message to a service belongs to the relevant
	  Linux group as configured by the security script.

config IPC_ROUTER_NODE_ID
	depends on IPC_ROUTER
	int "IPC router local NODE ID"
	default 1
	help
	  This option allows to configure the IPC Router NODE ID dynamically.
	  The NODE defined here is used as the local NODE ID by IPC Router
	  core and publish the same NODE ID to other NODES present in the
	  network.
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2016, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2016, 2018, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -37,7 +37,7 @@

#define IPC_ROUTER_ADDRESS			0x0000FFFF

#define IPC_ROUTER_NID_LOCAL			1
#define IPC_ROUTER_NID_LOCAL	CONFIG_IPC_ROUTER_NODE_ID
#define MAX_IPC_PKT_SIZE 66000

#define IPC_ROUTER_LOW_RX_QUOTA		5