From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bilemail2.empirix.com (bilemail2.empirix.com [208.67.76.246]) by dpdk.org (Postfix) with ESMTP id 5D006568E for ; Mon, 12 Oct 2015 10:26:32 +0200 (CEST) Received: from BILEMAIL1.empirix.com (10.17.8.30) by bilemail2.empirix.com (10.17.8.31) with Microsoft SMTP Server (TLS) id 15.0.775.38; Mon, 12 Oct 2015 04:26:12 -0400 Received: from BILEMAIL1.empirix.com ([fe80::f9e0:9293:2523:f021]) by bilemail1.empirix.com ([fe80::f9e0:9293:2523:f021%22]) with mapi id 15.00.0775.031; Mon, 12 Oct 2015 04:26:06 -0400 From: "Montorsi, Francesco" To: "Lu, Wenzhuo" , "dev@dpdk.org" Thread-Topic: Accurate timestamps in received packets Thread-Index: AdECoeRGBbnp2n4lTluzoJeGQ8/KtgAdUWggAGtJMGA= Date: Mon, 12 Oct 2015 08:26:06 +0000 Message-ID: <0dfde10b3f384fdb82358031522649b7@bilemail1.empirix.com> References: <825e846fd8934cc0b34293a8a1542bd2@bilemail1.empirix.com> <6A0DE07E22DDAD4C9103DF62FEBC09090209D3D5@shsmsx102.ccr.corp.intel.com> In-Reply-To: <6A0DE07E22DDAD4C9103DF62FEBC09090209D3D5@shsmsx102.ccr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.12.50.106] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] Accurate timestamps in received packets X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Oct 2015 08:26:32 -0000 Hi Wenzhuo, > -----Original Message----- > From: Lu, Wenzhuo [mailto:wenzhuo.lu@intel.com] > Hi Francesco, > Why not searching ieee1588 in the dpdk git repository? Surely you'll fin= d > something. I tried using IEEE 1588 without success. In particular I enabled it at buil= d-time of DPDK and then after calling rte_eth_rx_burst() I tried calling rt= e_eth_timesync_read_tx_timestamp() to get a timestamp from the port_id used= to receive a burst of packets, but the function always returns with an err= or.=20 Moreover, even if the function succeeded I need a timestamp for every incom= ing packet, not a single timestamp for the whole burst of received packets.= .. do you know how I could achieve that? Thanks, Francesco