From: Paul Emmerich <emmericp@net.in.tum.de>
To: terry.montague.1980@btinternet.com
Cc: users <users@dpdk.org>
Subject: Re: [dpdk-users] Intel X550 Receive timestamping for all packets
Date: Sun, 17 Sep 2017 02:31:08 +0200 [thread overview]
Message-ID: <569F9A1F-E77C-4045-95A3-3161691D0689@net.in.tum.de> (raw)
In-Reply-To: <7969136.40614.1505489072336.JavaMail.defaultUser@defaultHost>
Hi,
> terry.montague.1980@btinternet.com:
> Hi all,
> Has anyone tried modifying the ixgbe PMD driver to allow an Intel X550 card to insert the extra 8 bytes of data at the end of each receive message, the 8 bytes containing the receive SYSTIME timestamp ?
I've had that open as a todo for a year or so, and I've implemented it after seeing your email :)
> I've adjusted TYPE in TSYNCRXCTL to be "all packets" and set TSIP_UT_EN. I get the 8 bytes of data appended to all packets, but the controller doesn't populate the memory - the contents are left unchanged when transmitted.
> TS and TSIP are both set in the received RDESC descriptor (along with the receive byte count increasing by 8 bytes) so the adaptor is definitely doing something.
My implementation is here: https://github.com/libmoon/libmoon/commit/52f0b8cab580c8cf0579a03324cf0ac7f697e6e9#diff-0977b88594c9ac952093605f7aa091dcL109
Tested on an X550 and it works fine as far as I can tell from looking at a few histograms of inter-arrival times.
Paul
prev parent reply other threads:[~2017-09-17 0:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-15 15:24 terry.montague.1980
2017-09-17 0:31 ` Paul Emmerich [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=569F9A1F-E77C-4045-95A3-3161691D0689@net.in.tum.de \
--to=emmericp@net.in.tum.de \
--cc=terry.montague.1980@btinternet.com \
--cc=users@dpdk.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;
as well as URLs for NNTP newsgroup(s).