1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 17:47:44 +00:00

Kernel: Increase IPv4 buffer size to 256kB

This increases the buffer size for connection-oriented sockets
to 256kB. In combination with the other patches in this series
I was able to receive TCP packets at a rate of about 120Mbps.
This commit is contained in:
Gunnar Beutner 2021-05-11 23:52:35 +02:00 committed by Andreas Kling
parent b00cdf8ed8
commit b83a110174

View file

@ -110,7 +110,7 @@ private:
SinglyLinkedListWithCount<ReceivedPacket> m_receive_queue;
DoubleBuffer m_receive_buffer;
DoubleBuffer m_receive_buffer { 256 * KiB };
u16 m_local_port { 0 };
u16 m_peer_port { 0 };