Skip to content

Commit

Permalink
Change the CXPLAT LARGE IO BUFFER SIZE to 0xFFE3 on unix platforms. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
noah-hwang authored Sep 24, 2024
1 parent d3fbd9c commit 44ff05a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/platform/datapath_epoll.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ CXPLAT_STATIC_ASSERT((SIZEOF_STRUCT_MEMBER(QUIC_BUFFER, Buffer) == sizeof(void*)

//
// The maximum single buffer size for coalesced IO payloads.
// Payload size: 65535 - 8 (UDP header) - 20 (IP header) = 65507 bytes.
//
#define CXPLAT_LARGE_IO_BUFFER_SIZE 0xFFFF
#define CXPLAT_LARGE_IO_BUFFER_SIZE 0xFFE3

//
// The maximum batch size of IOs in that can use a single coalesced IO buffer.
Expand Down

0 comments on commit 44ff05a

Please sign in to comment.