[dpdk-dev] ieee1588fwd.c implementation
john.mcnamara at intel.com
Mon Aug 17 16:21:31 CEST 2015
> -----Original Message-----
> From: Stefan Binna [mailto:stefan.binna at salzburgresearch.at]
> Sent: Monday, August 17, 2015 1:48 AM
> To: Mcnamara, John; dev at dpdk.org
> Subject: Re: [dpdk-dev] ieee1588fwd.c implementation
> 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?
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".
More information about the dev