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 075798E76 for ; Tue, 18 Aug 2015 09:39:02 +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=1439883541; bh=yibQSrf78GC3cqTrbA9pGspqreakQFZ/iga4kce9enc=; h=Subject:To:References:From:Date:In-Reply-To:From; b=NhAT/6/fmD4C+H46sHHrwE0SxQuvlc4DmmJnCMu9Zv93E/5ZcHEOfBLHieTcbRbGA 6+RG1sK0a41BGBcwA3Z++MVcbeFUQdJJfOw1DDdTeAhmIkxWweaMUT+dfoB9+lcAda czbtVdA9DVuF3iBqMh7dOew+3mE8qxzoo+auBGQM= Received: from mail01.salzburgresearch.at (mail01.salzburgresearch.at [172.16.0.31]) by mx0.salzburgresearch.at (Postfix) with ESMTPS id 5561A200EC7; Tue, 18 Aug 2015 09:38:59 +0200 (CEST) Received: from [172.16.96.142] (anc42.salzburgresearch.at [172.16.96.142]) by mail01.salzburgresearch.at (Postfix) with ESMTPSA id 3E3B35196; Tue, 18 Aug 2015 09:38:59 +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> <55D19FAC.20609@salzburgresearch.at> From: Stefan Binna Message-ID: <55D2E112.40805@salzburgresearch.at> Date: Tue, 18 Aug 2015 09:38:58 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.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: Tue, 18 Aug 2015 07:39:02 -0000 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.