diff options
author | Allan Stephens <allan.stephens@windriver.com> | 2008-03-06 18:06:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-06 18:06:55 -0500 |
commit | 06d82c9191261942ce7873ce4a8735fd2a15e662 (patch) | |
tree | fcb464c6052f5eba9aa0bd1609533b7a246387df /net/tipc/link.c | |
parent | 0e0609bbd2ab39a5964a70b409a5567ebbaf3700 (diff) |
[TIPC]: Minor cleanup of message header code
This patch eliminates some unused or duplicate message header
symbols, and fixes up the comments and/or location of a few
other symbols.
Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/link.c')
-rw-r--r-- | net/tipc/link.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/net/tipc/link.c b/net/tipc/link.c index cefa99824c58..a42f43430101 100644 --- a/net/tipc/link.c +++ b/net/tipc/link.c | |||
@@ -2832,15 +2832,15 @@ static void link_set_supervision_props(struct link *l_ptr, u32 tolerance) | |||
2832 | void tipc_link_set_queue_limits(struct link *l_ptr, u32 window) | 2832 | void tipc_link_set_queue_limits(struct link *l_ptr, u32 window) |
2833 | { | 2833 | { |
2834 | /* Data messages from this node, inclusive FIRST_FRAGM */ | 2834 | /* Data messages from this node, inclusive FIRST_FRAGM */ |
2835 | l_ptr->queue_limit[DATA_LOW] = window; | 2835 | l_ptr->queue_limit[TIPC_LOW_IMPORTANCE] = window; |
2836 | l_ptr->queue_limit[DATA_MEDIUM] = (window / 3) * 4; | 2836 | l_ptr->queue_limit[TIPC_MEDIUM_IMPORTANCE] = (window / 3) * 4; |
2837 | l_ptr->queue_limit[DATA_HIGH] = (window / 3) * 5; | 2837 | l_ptr->queue_limit[TIPC_HIGH_IMPORTANCE] = (window / 3) * 5; |
2838 | l_ptr->queue_limit[DATA_CRITICAL] = (window / 3) * 6; | 2838 | l_ptr->queue_limit[TIPC_CRITICAL_IMPORTANCE] = (window / 3) * 6; |
2839 | /* Transiting data messages,inclusive FIRST_FRAGM */ | 2839 | /* Transiting data messages,inclusive FIRST_FRAGM */ |
2840 | l_ptr->queue_limit[DATA_LOW + 4] = 300; | 2840 | l_ptr->queue_limit[TIPC_LOW_IMPORTANCE + 4] = 300; |
2841 | l_ptr->queue_limit[DATA_MEDIUM + 4] = 600; | 2841 | l_ptr->queue_limit[TIPC_MEDIUM_IMPORTANCE + 4] = 600; |
2842 | l_ptr->queue_limit[DATA_HIGH + 4] = 900; | 2842 | l_ptr->queue_limit[TIPC_HIGH_IMPORTANCE + 4] = 900; |
2843 | l_ptr->queue_limit[DATA_CRITICAL + 4] = 1200; | 2843 | l_ptr->queue_limit[TIPC_CRITICAL_IMPORTANCE + 4] = 1200; |
2844 | l_ptr->queue_limit[CONN_MANAGER] = 1200; | 2844 | l_ptr->queue_limit[CONN_MANAGER] = 1200; |
2845 | l_ptr->queue_limit[ROUTE_DISTRIBUTOR] = 1200; | 2845 | l_ptr->queue_limit[ROUTE_DISTRIBUTOR] = 1200; |
2846 | l_ptr->queue_limit[CHANGEOVER_PROTOCOL] = 2500; | 2846 | l_ptr->queue_limit[CHANGEOVER_PROTOCOL] = 2500; |