From: Stefan Binna Subject: Re: ieee1588fwd.c implementation Date: Tue, 18 Aug 2015 09:38:58 +0200 Message-ID: <55D2E112.40805@salzburgresearch.at> References: <55CB6DC8.4090607@salzburgresearch.at> <55CB7745.6040808@salzburgresearch.at> <55CB833A.8090901@salzburgresearch.at> <55CC7F04.5040300@salzburgresearch.at> <55D19FAC.20609@salzburgresearch.at> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit To: "Mcnamara, John" , "dev@dpdk.org" Return-path: Received: from mx0.salzburgresearch.at (mx0.salzburgresearch.at [78.104.175.164]) by dpdk.org (Postfix) with ESMTP id 075798E76 for ; Tue, 18 Aug 2015 09:39:02 +0200 (CEST) In-Reply-To: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi, alright, I'll look it up. Thanks for your help. Kind regards, Stefan. Am 17.08.2015 um 16:21 schrieb Mcnamara, John: >> -----Original Message----- >> From: Stefan Binna [mailto:stefan.binna@salzburgresearch.at] >> Sent: Monday, August 17, 2015 1:48 AM >> To: Mcnamara, John; dev@dpdk.org >> Subject: Re: [dpdk-dev] ieee1588fwd.c implementation >> >> 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? > > Hi Stefan, > > The RX/TX callbacks sample application looks closer to what you are looking for: > > "The RX/TX Callbacks sample application is a packet forwarding application > that demonstrates the use of user defined callbacks on received and transmitted > packets. The application performs a simple latency check, using callbacks, > to determine the time packets spend within the application". > > http://dpdk.org/doc/guides/sample_app_ug/rxtx_callbacks.html > > http://dpdk.org/browse/dpdk/tree/examples/rxtx_callbacks/main.c > > John.