zephyr/drivers/net
Robert Lubos 823ac60c70 drivers: net: loopback: Increase MTU to match IPv4 MTU
net_pkt_alloc_buffer() will use the maximum packet length of
NET_IPV4_MTU in case the interface MTU is smaller than this. Because of
this, the using the loopback interface with smaller MTU leads to
additional fragmentation at the TCP layer, which impacts performace and
requires more network buffers for tests to execute.

Fix this by matching the loopback interface MTU with NET_IPV4_MTU.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
2022-03-30 11:08:22 +02:00
..
CMakeLists.txt drivers: net: build as static library 2021-08-17 06:06:03 -04:00
Kconfig drivers: net: ppp: asynch api: use microseconds 2022-02-01 13:31:20 +01:00
loopback.c drivers: net: loopback: Increase MTU to match IPv4 MTU 2022-03-30 11:08:22 +02:00
ppp.c drivers: net: ppp: asynch api: use microseconds 2022-02-01 13:31:20 +01:00
slip.c