Removed delay after receiving in recvfrom(). This was killing network performance

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5107 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-09-07 16:51:53 +00:00
parent 46739d5322
commit 4a76c94a08
22 changed files with 25 additions and 22 deletions

View File

@ -990,7 +990,10 @@ defconfig -- This is a configuration file similar to the Linux
CONFIG_NET_MAX_LISTENPORTS - Maximum number of listening TCP ports (all tasks)
CONFIG_NET_TCP_READAHEAD_BUFSIZE - Size of TCP read-ahead buffers
CONFIG_NET_NTCP_READAHEAD_BUFFERS - Number of TCP read-ahead buffers
(may be zero)
(may be zero to disable TCP/IP read-ahead buffering)
CONFIG_NET_TCP_RECVDELAY - Delay (in deciseconds) after a TCP/IP packet
is received. This delay may allow catching of additional packets
when TCP/IP read-ahead is disabled. Default: 0
CONFIG_NET_TCPBACKLOG - Incoming connections pend in a backlog until
accept() is called. The size of the backlog is selected when listen()
is called.

View File

@ -365,7 +365,7 @@ CONFIG_NET_MULTICAST=n
#
# STM32F107vc Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=n
CONFIG_STM32_RMII=y
CONFIG_STM32_RMII_MCO=y

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F20xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -204,7 +204,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -203,7 +203,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -197,7 +197,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -192,7 +192,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n

View File

@ -198,7 +198,7 @@ CONFIG_CAN2_BAUD=700000
#
# STM32F40xxx Ethernet device driver settings
#
CONFIG_STM32_PHYADDR=0x01
CONFIG_STM32_PHYADDR=1
CONFIG_STM32_MII=y
CONFIG_STM32_MII_MCO1=y
CONFIG_STM32_MII_MCO2=n