From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-out1.informatik.tu-muenchen.de (mail-out1.informatik.tu-muenchen.de [131.159.0.8]) by dpdk.org (Postfix) with ESMTP id C4503325B for ; Sun, 17 Sep 2017 02:31:14 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mail.net.in.tum.de (Postfix) with ESMTPSA id E6F81282D020; Sun, 17 Sep 2017 02:31:08 +0200 (CEST) Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: Paul Emmerich X-Priority: 3 (Normal) In-Reply-To: <7969136.40614.1505489072336.JavaMail.defaultUser@defaultHost> Date: Sun, 17 Sep 2017 02:31:08 +0200 Cc: users Content-Transfer-Encoding: quoted-printable Message-Id: <569F9A1F-E77C-4045-95A3-3161691D0689@net.in.tum.de> References: <7969136.40614.1505489072336.JavaMail.defaultUser@defaultHost> To: terry.montague.1980@btinternet.com X-Mailer: Apple Mail (2.3124) Subject: Re: [dpdk-users] Intel X550 Receive timestamping for all packets X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Sep 2017 00:31:14 -0000 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/52f0b8cab580c8cf0579a03324cf0ac7= f697e6e9#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=