[PATCH 1/3] tftp: add timeframe when remote server is retransmitting

2014-04-30 Thread chf . fritz
From: Christoph Fritz If there's packet loss and the remote server needs to retransmit, there is falsely no timeframe left because TIMEOUT (server wait time) and TFTP_TIMEOUT (abort timer) are the same. This patch increases TFTP_TIMEOUT. See RFC2349 for more info: http://tools.ietf.org/html/rfc

[PATCH 3/3] net cpsw: check phy status on send and receive

2014-04-30 Thread chf . fritz
From: Christoph Fritz This patch adds phy status checks on cpsw_send() and cpsw_recv(). This is derived from upstream. Signed-off-by: Christoph Fritz --- drivers/net/cpsw.c | 24 1 file changed, 24 insertions(+) diff --git a/drivers/net/cpsw.c b/drivers/net/cpsw.c i

[PATCH 0/3] arm am335x cpsw and tftp fixes

2014-04-30 Thread chf . fritz
From: Christoph Fritz This series adds fixes for cpsw network driver and tftp client. Christoph Fritz (3): tftp: add timeframe when remote server is retransmitting net cpsw: fix rx stability under heavy network load net cpsw: check phy status on send and receive drivers/net/cpsw.c | 31

[PATCH 2/3] net cpsw: fix rx stability under heavy network load

2014-04-30 Thread chf . fritz
From: Christoph Fritz RX DMA Head Descriptor Pointer can get 0 when there is a lot of traffic, which results in a timeout error. A good way to provoke this error is by sending lots of ARP requests. This patch makes sure that the RX DMA Head Descriptor Pointer is set. The origin driver, from whic