Intel-Wired-Lan Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jacob Keller <jacob.e.keller@intel.com>
To: <intel-wired-lan@osuosl.org>
Subject: Re: [Intel-wired-lan] Intel E810-XXVDA2: Too high TX timestamp read latency
Date: Mon, 26 Feb 2024 11:07:08 -0800	[thread overview]
Message-ID: <9a389396-a91e-4e7d-a557-94f9eee4d3ef@intel.com> (raw)
In-Reply-To: <ZdiYnfCJX8d1QDHu@argosmk.mpia-hd.mpg.de>



On 2/23/2024 5:07 AM, Martin Kulas wrote:
> Dear Karol,
> 
> On Thu, Feb 22, 2024 at 05:30:09PM +0000, Kolacinski, Karol wrote:
> [...]
>>
>> On Tue, Feb 20, 2024 at 2:17PM +0100, Martin Kulas wrote:
>>>
>>> After having applied that commit,  the TX timestamp read latency stays
>>> unacceptable high (in the range of about 700 microseconds), i.e. no
>>> regression.
>>
>> This improvement utilises 'low latency read', where the driver writes
>> a timestamp request to a specific register, FW has to poll this
>> register every 0.6 ms and then the driver receives a second interrupt,
>> so that it can read the timestamp from this register.
>> Unfortunately, polling every 0.6 ms is the best we could do.
> 
> 
> Thank you very much for your explanation!
> 
> The fact the the firmware (FW) polls the TX timestamp register every 600
> microseconds explains the TX timestamp read latency of my application of
> 700 microseconds.
> 
> Since it is a firmware problem:  A updated firmware with customizable 
> polling rate would enable low TX hardware timestamp read latencies.  Right?
> 
> 
> Currently,  I am looking for other Ethernetcards with TX hardware
> timestamping capability.  I am not sure whether the Intel X710-DA2 (i40e) 
> supports TX hardware timestamps for all outgoing packets and not only
> for PTP packets.  Do you know the timestamping capabilities of that card by
> any chance?  The datasheet of that Ethernet card is not completely clear
> about it.
> 

The 700 series can timestamp any outgoing Tx frame as long as its not
part of a TCP Segmentation Offload. It is limited for Rx timestamping to
only frames it recognizes as PTP, but this limitation does not apply for Tx.

As with the 500 series cards, this device is limited to a single
outstanding Tx timestamp request per PF. You can't initiate a second Tx
timestamp until the first completes.

> [...]
> 
> 
> Kind regards,
> Martin
> 

      reply	other threads:[~2024-02-26 19:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-16 14:18 [Intel-wired-lan] Intel E810-XXVDA2: Too high TX timestamp read latency Martin Kulas
2024-02-16 21:18 ` Paul Menzel
2024-02-20 13:17   ` Martin Kulas
2024-02-22 17:30     ` Kolacinski, Karol
2024-02-23 13:07       ` Martin Kulas
2024-02-26 19:07         ` Jacob Keller [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a389396-a91e-4e7d-a557-94f9eee4d3ef@intel.com \
    --to=jacob.e.keller@intel.com \
    --cc=intel-wired-lan@osuosl.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox