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
commit b83a110174
Notes: sideshowbarker 2024-07-18 18:18:19 +09:00

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 };