Commit cd5d5e4a authored by David Dillow's avatar David Dillow

Use a non-zero rx_copybreak to avoid charging a full MTU to the

socket on tiny packets.

Dave Miller suggested 256, I used 200 to be more consistent with the
other network drivers.
parent 3815cbcd
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
/* Set the copy breakpoint for the copy-only-tiny-frames scheme. /* Set the copy breakpoint for the copy-only-tiny-frames scheme.
* Setting to > 1518 effectively disables this feature. * Setting to > 1518 effectively disables this feature.
*/ */
static int rx_copybreak = 0; static int rx_copybreak = 200;
/* end user-configurable values */ /* end user-configurable values */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment