Skip to content
Snippets Groups Projects
Commit 89ba81d1 authored by Alessandro Rubini's avatar Alessandro Rubini Committed by Ben Warren
Browse files

tftp: get the tftp block size from config file and from the environment


Increasing the block size is useful if CONFIG_IP_DEFRAG is
used. Howerver, the last fragments in a burst may overflow the
receiving ethernet, so the default is left at 1468, with thre new
CONFIG_TFTP_BLOCKSIZE for config files. Further, "tftpblocksize"
can be set in the environment.

Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
Signed-off-by: default avatarBen Warren <biggerbadderben@gmail.com>
parent 5cfaa4e5
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment