From 7d5c23a737d1f2b9aca34731e813aa77eaae4ab5 Mon Sep 17 00:00:00 2001 From: lpleahy Date: Fri, 8 Feb 2013 21:31:16 +0000 Subject: 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 --- StdLib/EfiSocketLib/Socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'StdLib/EfiSocketLib') 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 -- cgit v1.2.3