History

tipc: make cluster size threshold for monitoring configurable

In this commit, we introduce support to configure the minimum threshold to activate the new link monitoring algorithm.

Parthasarathy Bhuvaragan committed 10 years ago

Commit 7b3f5221 parent 9ff26e97 files · +66 −2Browse files

Showing the changes to include/uapi/linux (1 of 7 files). Show all

Unified · Split

include/uapi/linux/tipc_netlink.h+11−0
@@ -56,6 +56,7 @@ enum { · 55 unmodified lines
5656 TIPC_NL_NET_GET,
5757 TIPC_NL_NET_SET,
5858 TIPC_NL_NAME_TABLE_GET,
59+ TIPC_NL_MON_SET,
5960
6061 __TIPC_NL_CMD_MAX,
6162 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
@@ -72,6 +73,7 @@ enum { · 10 unmodified lines
7273 TIPC_NLA_NODE, /* nest */
7374 TIPC_NLA_NET, /* nest */
7475 TIPC_NLA_NAME_TABLE, /* nest */
76+ TIPC_NLA_MON, /* nest */
7577
7678 __TIPC_NLA_MAX,
7779 TIPC_NLA_MAX = __TIPC_NLA_MAX - 1
@@ -166,6 +168,15 @@ enum { · 88 unmodified lines
166168 TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1
167169 };
168170
171+/* Monitor info */
172+enum {
173+ TIPC_NLA_MON_UNSPEC,
174+ TIPC_NLA_MON_ACTIVATION_THRESHOLD, /* u32 */
175+
176+ __TIPC_NLA_MON_MAX,
177+ TIPC_NLA_MON_MAX = __TIPC_NLA_MON_MAX - 1
178+};
179+
169180 /* Publication info */
170181 enum {
171182 TIPC_NLA_PUBL_UNSPEC,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t