1472 is the maximal possible size that does not result in fragmentation
on networks with 1500 MTU size (1500 = 1472 payload + 8 UDP header +
20 IP header).
This can be verified using
tcpdump -nv -i eth0 udp
The output must contain a zero offset value, and the "Don't Fragment"
IP flag (DF) should be set.
Thanks to Gerrit Renker for pointing this out.
goto out;
}
/* use default fec parameters. */
- scd->max_slice_bytes = 1490;
+ scd->max_slice_bytes = 1472;
scd->slices_per_group = 16;
scd->data_slices_per_group = 14;
ret = 0;