Hi All,
I am implementing a UEFI driver for a network controller and I am producing 
Simple Network Protocol(SNP). To test this, I am using the 'ping' shell 
command. The problem is that I never get the first ping reply. I have debugged 
this all the way up the IPv4 stack and I can see that reply packet is being 
passed up but the first packet never reaches the 'ping' command. Logs below. 
From the ping source code it looks like it is creating an event to get a call 
back on reply packet and as part of the call back, it registers for event again 
if more replies are expected. But the first reply never kicks the call back 
function.Any suggestions ?Thanx.
Shell> ping -n 1 172.25.17.100Ping StartsAPing 172.25.17.100 16 data 
bytesNicVfTransmit                                                          
(ARP request)NicVfGetPacket                                                     
   (ARP reply)NicVfTransmit                                                     
     (Ping packet)NicVfGetPacket                                                
        (Ping reply)Ip4AccpetFrame EFI_IP_PROTO_ICMP                    (ICMP 
recognized)Ip4IcmpHandle ICMP_QUERY_MESSAGEIp4ProcessIcmpQuery Ip4Demultiplex   
                 (Ip4Demultiplex function call)Ip4Demultiplex 
Ip4InterfaceEnquePacketIp4Demultiplex Ip4InterfaceEnquePacketIp4Demultiplex 
Ip4InterfaceDeliverPacketIp4Demultiplex Ip4InterfaceDeliverPacket
1 packets transmitted, 0 received, 100% packet loss, time 0ms
                                          
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to