From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx0.salzburgresearch.at (mx0.salzburgresearch.at [78.104.175.164]) by dpdk.org (Postfix) with ESMTP id 10DDC8D92 for ; Mon, 17 Aug 2015 10:47:43 +0200 (CEST) X-Virus-Scanned: by Salzburg Research on mx0.salzburgresearch.at DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=salzburgresearch.at; s=srfg; t=1439801262; bh=H+Ei58kRrQoL+rvkTlPfxZ0m3eh1QW/QLFsIjZ54tLY=; h=Subject:To:References:From:Date:In-Reply-To:From; b=usJBz37UU9FU2VN0FftFaR0msiwgUF4zT0su7xNBNwoxHtb9Nwe7mikuOvSPC5/QT 4EsyhuAouDzsXXQbbbmsXNbkT2f1PoKA81aXRFcI+5Gc4s4HG8rhY13mOrCsHoa9Uw SJ1lCK4Y2SGv7u5mvPcJGMdm2YGQ7zBUdYhvpcTk= Received: from mail01.salzburgresearch.at (mail01.salzburgresearch.at [172.16.0.31]) by mx0.salzburgresearch.at (Postfix) with ESMTPS id 9DF03200ECB; Mon, 17 Aug 2015 10:47:40 +0200 (CEST) Received: from [172.16.96.142] (anc42.salzburgresearch.at [172.16.96.142]) by mail01.salzburgresearch.at (Postfix) with ESMTPSA id 844145196; Mon, 17 Aug 2015 10:47:40 +0200 (CEST) To: "Mcnamara, John" , "dev@dpdk.org" References: <55CB6DC8.4090607@salzburgresearch.at> <55CB7745.6040808@salzburgresearch.at> <55CB833A.8090901@salzburgresearch.at> <55CC7F04.5040300@salzburgresearch.at> From: Stefan Binna Message-ID: <55D19FAC.20609@salzburgresearch.at> Date: Mon, 17 Aug 2015 10:47:40 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] ieee1588fwd.c implementation 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, 17 Aug 2015 08:47:43 -0000 Hi, I'm using the Intel NIC 82547L. Furthermore I'm using DPDK-2.0.0, the last stable download from the official homepage. Is there any method to "measure" the time the NIC takes to process the packet from the input port (e.g. port 0) to the output port (port 1)? Should be around 8 to 40 microseconds depending on the packet size? Thanks. Best regards, Stefan. Am 14.08.2015 um 18:04 schrieb Mcnamara, John: >> -----Original Message----- >> From: Stefan Binna [mailto:stefan.binna@salzburgresearch.at] >> Sent: Thursday, August 13, 2015 12:27 PM >> To: Mcnamara, John; dev@dpdk.org >> Subject: Re: [dpdk-dev] ieee1588fwd.c implementation >> >> I got PTP working and was able to transmit a valid PTPv2 packet over the >> DPDK network card. >> >> Every time a PTP packet arrives I get following message in the testpmd >> application: Port 0 Received PTP packet not filtered by hardware > > Hi, > > That may be due to 1 or 2 different issues: > > 1. You are using a NIC that doesn't support PTP timesyncing. What NIC are you using? > 2. You are using a Fortville NIC but don't have the latest code from dpdk.org. > > >> However, the hardware does not change the timestamp, when I check the >> received packet. > You will need to address the above issue first, but just to be clear, the NIC doesn't update the timestamp in the PTP packet. It sets a flag to say that the packet is a L2 PTP packet and that the timestamp of its arrival is available for reading. > > John >