Revision: 14125
http://edk2.svn.sourceforge.net/edk2/?rev=14125&view=rev
Author: lpleahy
Date: 2013-02-08 21:31:16 +0000 (Fri, 08 Feb 2013)
Log Message:
-----------
Increase sockets performance by increasing the maximum buffer sizes.
Tested using: DataSource/DataSink
Signed-off-by: lpleahy
Modified Paths:
--------------
trunk/edk2/StdLib/EfiSocketLib/Socket.h
Modified: trunk/edk2/StdLib/EfiSocketLib/Socket.h
===================================================================
--- trunk/edk2/StdLib/EfiSocketLib/Socket.h 2013-02-08 21:29:03 UTC (rev
14124)
+++ trunk/edk2/StdLib/EfiSocketLib/Socket.h 2013-02-08 21:31:16 UTC (rev
14125)
@@ -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
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits