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
56 TIPC_NL_NET_GET,56 TIPC_NL_NET_GET,
57 TIPC_NL_NET_SET,57 TIPC_NL_NET_SET,
58 TIPC_NL_NAME_TABLE_GET,58 TIPC_NL_NAME_TABLE_GET,
59 TIPC_NL_MON_SET,
59 60
60 __TIPC_NL_CMD_MAX,61 __TIPC_NL_CMD_MAX,
61 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 162 TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
@@ -72,6 +73,7 @@ enum { · 10 unmodified lines
72 TIPC_NLA_NODE, /* nest */73 TIPC_NLA_NODE, /* nest */
73 TIPC_NLA_NET, /* nest */74 TIPC_NLA_NET, /* nest */
74 TIPC_NLA_NAME_TABLE, /* nest */75 TIPC_NLA_NAME_TABLE, /* nest */
76 TIPC_NLA_MON, /* nest */
75 77
76 __TIPC_NLA_MAX,78 __TIPC_NLA_MAX,
77 TIPC_NLA_MAX = __TIPC_NLA_MAX - 179 TIPC_NLA_MAX = __TIPC_NLA_MAX - 1
@@ -166,6 +168,15 @@ enum { · 88 unmodified lines
166 TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1168 TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1
167};169};
168 170
171/* Monitor info */
172enum {
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
169/* Publication info */180/* Publication info */
170enum {181enum {
171 TIPC_NLA_PUBL_UNSPEC,182 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