mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11517 from balajicyp/tcp_pktloss
TCP Packet loss happens due to running of out of Mailbox size.pull/11590/head
commit
727b089291
|
@ -46,7 +46,7 @@ typedef struct {
|
|||
} sys_mutex_t;
|
||||
|
||||
// === MAIL BOX ===
|
||||
#define MB_SIZE 8
|
||||
#define MB_SIZE MBED_CONF_LWIP_MBOX_SIZE
|
||||
|
||||
typedef struct {
|
||||
osEventFlagsId_t id;
|
||||
|
|
|
@ -93,8 +93,9 @@
|
|||
#define LWIP_RAW 0
|
||||
#endif
|
||||
|
||||
#define TCPIP_MBOX_SIZE 8
|
||||
#define DEFAULT_TCP_RECVMBOX_SIZE 8
|
||||
#define MEMP_NUM_TCPIP_MSG_INPKT MBED_CONF_LWIP_MEMP_NUM_TCPIP_MSG_INPKT
|
||||
#define TCPIP_MBOX_SIZE MBED_CONF_LWIP_TCPIP_MBOX_SIZE
|
||||
#define DEFAULT_TCP_RECVMBOX_SIZE MBED_CONF_LWIP_DEFAULT_TCP_RECVMBOX_SIZE
|
||||
#define DEFAULT_UDP_RECVMBOX_SIZE 8
|
||||
#define DEFAULT_RAW_RECVMBOX_SIZE 8
|
||||
#define DEFAULT_ACCEPTMBOX_SIZE 8
|
||||
|
|
|
@ -77,10 +77,26 @@
|
|||
"help": "Number of simultaneously queued TCP segments. Current default (used if null here) is set to 16 in opt.h, unless overridden by target Ethernet drivers.",
|
||||
"value": null
|
||||
},
|
||||
"memp-num-tcpip-msg-inpkt": {
|
||||
"help": "Number of simultaneously queued TCP messages that are received",
|
||||
"value": 8
|
||||
},
|
||||
"tcp-mss": {
|
||||
"help": "TCP Maximum segment size. Current default (used if null here) is set to 536 in opt.h, unless overridden by target Ethernet drivers.",
|
||||
"value": null
|
||||
},
|
||||
"tcpip-mbox-size": {
|
||||
"help": "TCPIP mailbox size",
|
||||
"value": 8
|
||||
},
|
||||
"default-tcp-recvmbox-size": {
|
||||
"help": "Default TCPIP receive mailbox size",
|
||||
"value": 8
|
||||
},
|
||||
"mbox-size": {
|
||||
"help": "mailbox size",
|
||||
"value": 8
|
||||
},
|
||||
"tcp-snd-buf": {
|
||||
"help": "TCP sender buffer space (bytes). Current default (used if null here) is set to (2 * TCP_MSS) in opt.h, unless overridden by target Ethernet drivers.",
|
||||
"value": null
|
||||
|
|
Loading…
Reference in New Issue