[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Thomas Monjalon
2015-02-17 12:25, Bruce Richardson: > On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: > > 2015-02-16 15:16, Bruce Richardson: > > > On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > > > > Hi John, > > > > > > > > On 02/13/2015 04:39 PM, John McNamara wrote: > > > >

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Bruce Richardson
On Tue, Feb 17, 2015 at 11:08:10AM -0500, Neil Horman wrote: > On Tue, Feb 17, 2015 at 04:00:56PM +, Bruce Richardson wrote: > > On Tue, Feb 17, 2015 at 10:49:24AM -0500, Neil Horman wrote: > > > On Tue, Feb 17, 2015 at 01:50:58PM +, Bruce Richardson wrote: > > > > On Tue, Feb 17, 2015 at

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Bruce Richardson
On Tue, Feb 17, 2015 at 10:49:24AM -0500, Neil Horman wrote: > On Tue, Feb 17, 2015 at 01:50:58PM +, Bruce Richardson wrote: > > On Tue, Feb 17, 2015 at 02:28:02PM +0100, Olivier MATZ wrote: > > > Hi Bruce, > > > > > > On 02/17/2015 01:25 PM, Bruce Richardson wrote: > > > >On Mon, Feb 16,

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Bruce Richardson
On Tue, Feb 17, 2015 at 04:32:01PM +0100, Thomas Monjalon wrote: > 2015-02-17 12:25, Bruce Richardson: > > On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: > > > 2015-02-16 15:16, Bruce Richardson: > > > > On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > > > > > Hi

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Olivier MATZ
Hi Bruce, On 02/17/2015 01:25 PM, Bruce Richardson wrote: > On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: >> 2015-02-16 15:16, Bruce Richardson: >>> In this specific instance, given that the application does little else, >>> there >>> is no real advantage to using the

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Neil Horman
On Tue, Feb 17, 2015 at 04:15:09PM +, Bruce Richardson wrote: > On Tue, Feb 17, 2015 at 11:08:10AM -0500, Neil Horman wrote: > > On Tue, Feb 17, 2015 at 04:00:56PM +, Bruce Richardson wrote: > > > On Tue, Feb 17, 2015 at 10:49:24AM -0500, Neil Horman wrote: > > > > On Tue, Feb 17, 2015 at

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Bruce Richardson
On Tue, Feb 17, 2015 at 02:28:02PM +0100, Olivier MATZ wrote: > Hi Bruce, > > On 02/17/2015 01:25 PM, Bruce Richardson wrote: > >On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: > >>2015-02-16 15:16, Bruce Richardson: > >>>In this specific instance, given that the application does

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Bruce Richardson
On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: > 2015-02-16 15:16, Bruce Richardson: > > On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > > > Hi John, > > > > > > On 02/13/2015 04:39 PM, John McNamara wrote: > > > > From: Richardson, Bruce > > > > > > > >

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Declan Doherty
On 16/02/15 17:34, Thomas Monjalon wrote: > 2015-02-16 15:16, Bruce Richardson: >> On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: >>> Hi John, >>> >>> On 02/13/2015 04:39 PM, John McNamara wrote: From: Richardson, Bruce Example showing how callbacks can be used to

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Neil Horman
On Tue, Feb 17, 2015 at 04:00:56PM +, Bruce Richardson wrote: > On Tue, Feb 17, 2015 at 10:49:24AM -0500, Neil Horman wrote: > > On Tue, Feb 17, 2015 at 01:50:58PM +, Bruce Richardson wrote: > > > On Tue, Feb 17, 2015 at 02:28:02PM +0100, Olivier MATZ wrote: > > > > Hi Bruce, > > > > > >

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-17 Thread Neil Horman
On Tue, Feb 17, 2015 at 01:50:58PM +, Bruce Richardson wrote: > On Tue, Feb 17, 2015 at 02:28:02PM +0100, Olivier MATZ wrote: > > Hi Bruce, > > > > On 02/17/2015 01:25 PM, Bruce Richardson wrote: > > >On Mon, Feb 16, 2015 at 06:34:37PM +0100, Thomas Monjalon wrote: > > >>2015-02-16 15:16,

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Thomas Monjalon
2015-02-16 15:16, Bruce Richardson: > On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > > Hi John, > > > > On 02/13/2015 04:39 PM, John McNamara wrote: > > > From: Richardson, Bruce > > > > > > Example showing how callbacks can be used to insert a timestamp > > > into each packet

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Olivier MATZ
Hi John, On 02/13/2015 04:39 PM, John McNamara wrote: > From: Richardson, Bruce > > Example showing how callbacks can be used to insert a timestamp > into each packet on RX. On TX the timestamp is used to calculate > the packet latency through the app, in cycles. > > Signed-off-by: Bruce

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-16 Thread Bruce Richardson
On Mon, Feb 16, 2015 at 03:33:40PM +0100, Olivier MATZ wrote: > Hi John, > > On 02/13/2015 04:39 PM, John McNamara wrote: > > From: Richardson, Bruce > > > > Example showing how callbacks can be used to insert a timestamp > > into each packet on RX. On TX the timestamp is used to calculate > >

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-13 Thread Thomas Monjalon
It appears you made some copy paste of an old example. Please try to send something up to date. > +# Copyright(c) 2010-2014 Intel Corporation. All rights reserved. Old > +#ifdef RTE_EXEC_ENV_BAREMETAL > +#define MAIN _main > +#else > +#define MAIN main > +#endif There is no bare metal

[dpdk-dev] [PATCH v2 3/4] examples: example showing use of callbacks.

2015-02-13 Thread John McNamara
From: Richardson, Bruce Example showing how callbacks can be used to insert a timestamp into each packet on RX. On TX the timestamp is used to calculate the packet latency through the app, in cycles. Signed-off-by: Bruce Richardson ---