Hi,

One more addition, on further analysis i can see packet is been received by my 
underlying hardware (DPAA/PCIe) 6 times (default retry count).


Please let me know how can I check at what stage packet is been discarded by 
uefi framework.


Thanks,
Meenakshi

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-boun...@lists.01.org] On Behalf Of 
Meenakshi Aggarwal
Sent: Thursday, July 13, 2017 11:58 AM
To: edk2-devel@lists.01.org
Subject: [edk2] TFTP failed with large blocksize

[This sender failed our fraud detection checks and may not be who they appear 
to be. Learn about spoofing at http://aka.ms/LearnAboutSpoofing]

Hi All,


I am working on an ARM based SoC (AARCH64).

When I perform tftp form UEFI shell with blocksize 1024 then it succeeds for 
filesize (~500MB) Tftp -s 1024 iI eth3 192.168.3.161 Image


But if I give blocksize greater than 1024 says 9000 then it results in timeout.
Tftp -s 9000 -i eth3 192.168.3.161 Image

This blocksize of 9000 works fine for small sized files like 34MB.

I tried to  analyze the tcpdump on tftp server side and it shows server didn't 
receive ACK for the packet it sent.


I checked the function which is sending ACK (Mtftp4RrqInput-> 
Mtftp4RrqHandleData (send Ack)), control didn't come here for the last(last 
sent packet for which ACK not received by server) packet.

Now I am wondering if Packet is been received by client or not.

Also UEFI spec mentioned that if you face packet drop then try calling poll 
function from your device.


I am not able to understand how I can do this?

Also how I can change the polling period?


Please provide some debug points on same.


Thanks,
Meenakshi
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to