Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
DIOT Zynq Ultrascale-based System Board
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
41
Issues
41
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Projects
DIOT Zynq Ultrascale-based System Board
Commits
13fcdd84
Commit
13fcdd84
authored
Nov 17, 2021
by
Adam Wujek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sw/patches/uboot: decrease TFTP timeout from 50 seconds to 10 seconds
Signed-off-by:
Adam Wujek
<
dev_public@wujek.eu
>
parent
a9c73abb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
0001-net-tftp-decrease-TFTP-timeout-from-50-seconds-to-10.patch
...et-tftp-decrease-TFTP-timeout-from-50-seconds-to-10.patch
+26
-0
No files found.
sw/patches/uboot/0001-net-tftp-decrease-TFTP-timeout-from-50-seconds-to-10.patch
0 → 100644
View file @
13fcdd84
From 47873299fa3f04d24717cc12fb226ad1e388daa8 Mon Sep 17 00:00:00 2001
From: Adam Wujek <dev_public@wujek.eu>
Date: Wed, 17 Nov 2021 11:03:19 +0100
Subject: [PATCH] net/tftp: decrease TFTP timeout from 50 seconds to 10 seconds
Signed-off-by: Adam Wujek <dev_public@wujek.eu>
---
net/tftp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/tftp.c b/net/tftp.c
index 68ffd81414..8828c98014 100644
--- a/net/tftp.c
+++ b/net/tftp.c
@@ -20,7 +20,7 @@
/* Well known TFTP port # */
#define WELL_KNOWN_PORT 69
/* Millisecs to timeout for lost pkt */
-#define TIMEOUT 5000UL
+#define TIMEOUT 1000UL
#ifndef CONFIG_NET_RETRY_COUNT
/* # of timeouts before giving up */
# define TIMEOUT_COUNT 10
--
2.25.1
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment