tipc: bump max configurable window size
authorErik Hugne <erik.hugne@ericsson.com>
Wed, 25 Jun 2014 08:07:05 +0000 (10:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jun 2014 01:03:41 +0000 (18:03 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc_config.h

index 41a76acbb305f85cb4cb0ec6dfab9cab1e20e1d4..876d0a14863c391e801ad9f636973f1470769c77 100644 (file)
 
 #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 {