public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Enquiry on GetTimerPeriod function in Ping.c
@ 2019-03-21 12:19 twooi
  2019-03-21 14:31 ` Carsey, Jaben
  0 siblings, 1 reply; 2+ messages in thread
From: twooi @ 2019-03-21 12:19 UTC (permalink / raw)
  To: Jaben Carsey, ruiyu.ni, edk2-devel

Hi,

I am enabling an UEFI ethernet driver in our platform. While I tried to
test the driver with ping command, I noticed that ping operation is
aborted due to the GetTimerPeriod function return a value 0.

In the function GetTimerPeriod in ping.c, the function will return the
value of StallCounter/RttTimerTick once it completed all the
operations. However, the value return in my platform is zero due to
StallCounter is having smaller value than RttTimerTick.

I am not sure what is the usage of GetTimerPeriod function and how it
works. The GetTimerPeriod function will return 0 if any of the
operation having an error during the execution. However, I suspect that
this function should not return 0 when StallCounter is having less
value than RttTimerTick? This is because the function actually did not
encounter any error. Please correct me if I m wrong.

Thank you

Best regards,
Tzy Way


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-21 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-21 12:19 Enquiry on GetTimerPeriod function in Ping.c twooi
2019-03-21 14:31 ` Carsey, Jaben

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox