mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 06:41:39 +00:00
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. Reviewed-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Parthasarathy Bhuvaragan <parthasarathy.bhuvaragan@ericsson.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9ff26e9fab
commit
7b3f522964
7 changed files with 66 additions and 2 deletions
|
@ -56,6 +56,7 @@ enum {
|
|||
TIPC_NL_NET_GET,
|
||||
TIPC_NL_NET_SET,
|
||||
TIPC_NL_NAME_TABLE_GET,
|
||||
TIPC_NL_MON_SET,
|
||||
|
||||
__TIPC_NL_CMD_MAX,
|
||||
TIPC_NL_CMD_MAX = __TIPC_NL_CMD_MAX - 1
|
||||
|
@ -72,6 +73,7 @@ enum {
|
|||
TIPC_NLA_NODE, /* nest */
|
||||
TIPC_NLA_NET, /* nest */
|
||||
TIPC_NLA_NAME_TABLE, /* nest */
|
||||
TIPC_NLA_MON, /* nest */
|
||||
|
||||
__TIPC_NLA_MAX,
|
||||
TIPC_NLA_MAX = __TIPC_NLA_MAX - 1
|
||||
|
@ -166,6 +168,15 @@ enum {
|
|||
TIPC_NLA_NAME_TABLE_MAX = __TIPC_NLA_NAME_TABLE_MAX - 1
|
||||
};
|
||||
|
||||
/* Monitor info */
|
||||
enum {
|
||||
TIPC_NLA_MON_UNSPEC,
|
||||
TIPC_NLA_MON_ACTIVATION_THRESHOLD, /* u32 */
|
||||
|
||||
__TIPC_NLA_MON_MAX,
|
||||
TIPC_NLA_MON_MAX = __TIPC_NLA_MON_MAX - 1
|
||||
};
|
||||
|
||||
/* Publication info */
|
||||
enum {
|
||||
TIPC_NLA_PUBL_UNSPEC,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue