summaryrefslogtreecommitdiff
path: root/StdLib/EfiSocketLib
diff options
context:
space:
mode:
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2013-02-08 21:31:16 +0000
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>2013-02-08 21:31:16 +0000
commit7d5c23a737d1f2b9aca34731e813aa77eaae4ab5 (patch)
tree1598eaa5ccad3a054f20889b776f1b480fd9e067 /StdLib/EfiSocketLib
parent1c740a7d05e0ce7ccdefcb453bc532aca1f8d91b (diff)
downloadedk2-platforms-7d5c23a737d1f2b9aca34731e813aa77eaae4ab5.tar.xz
Increase sockets performance by increasing the maximum buffer sizes.
Tested using: DataSource/DataSink Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14125 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/EfiSocketLib')
-rw-r--r--StdLib/EfiSocketLib/Socket.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/StdLib/EfiSocketLib/Socket.h b/StdLib/EfiSocketLib/Socket.h
index 43a7084f95..81f8437dd2 100644
--- a/StdLib/EfiSocketLib/Socket.h
+++ b/StdLib/EfiSocketLib/Socket.h
@@ -33,9 +33,9 @@
#define DEBUG_OPTION 0x00080000 ///< Display option messages
#define MAX_PENDING_CONNECTIONS 1 ///< Maximum connection FIFO depth
-#define MAX_RX_DATA 65536 ///< Maximum receive data size
+#define MAX_RX_DATA 0x01000000 ///< Maximum receive data size
#define MAX_TX_DATA ( MAX_RX_DATA * 2 ) ///< Maximum buffered transmit data in bytes
-#define RX_PACKET_DATA 16384 ///< Maximum number of bytes in a RX packet
+#define RX_PACKET_DATA 0x00100000 ///< Maximum number of bytes in a RX packet
#define MAX_UDP_RETRANSMIT 16 ///< UDP retransmit attempts to handle address not mapped
#define ESL_STRUCTURE_ALIGNMENT_BYTES 15 ///< Number of bytes for structure alignment