diff mbox

[net-next] tipc: bump max configurable window size

Message ID 1403683625-30136-1-git-send-email-erik.hugne@ericsson.com
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Erik Hugne June 25, 2014, 8:07 a.m. UTC
From: Erik Hugne <erik.hugne@ericsson.com>

The maximum window size is limited by the sequence gap field, which
was expanded with bd7845337b105e090dd18912d511139945fa7586
("tipc: Expand link sequence gap field to 13 bits")
We remove the artificial limit that prevents the link window to be
set larger than 150.

Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>
---
 include/uapi/linux/tipc_config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller June 26, 2014, 1:03 a.m. UTC | #1
From: <erik.hugne@ericsson.com>
Date: Wed, 25 Jun 2014 10:07:05 +0200

> From: Erik Hugne <erik.hugne@ericsson.com>
> 
> The maximum window size is limited by the sequence gap field, which
> was expanded with bd7845337b105e090dd18912d511139945fa7586
> ("tipc: Expand link sequence gap field to 13 bits")
> We remove the artificial limit that prevents the link window to be
> set larger than 150.
> 
> Signed-off-by: Erik Hugne <erik.hugne@ericsson.com>
> Reviewed-by: Jon Maloy <jon.maloy@ericsson.com>

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/uapi/linux/tipc_config.h b/include/uapi/linux/tipc_config.h
index 41a76ac..876d0a1 100644
--- a/include/uapi/linux/tipc_config.h
+++ b/include/uapi/linux/tipc_config.h
@@ -182,7 +182,7 @@ 
 
 #define TIPC_MIN_LINK_WIN 16
 #define TIPC_DEF_LINK_WIN 50
-#define TIPC_MAX_LINK_WIN 150
+#define TIPC_MAX_LINK_WIN 8191
 
 
 struct tipc_node_info {