On Mon, Jan 02, 2017 at 04:24:01PM +, Hunt, David wrote:
>
>
> On 22/12/2016 12:19 PM, Jerin Jacob wrote:
> > On Thu, Dec 22, 2016 at 04:37:06AM +, David Hunt wrote:
> > > + struct rte_distributor_burst *d = arg;
> > > + unsigned int count = 0;
> > > + unsigned int num = 0;
> > > + unsign
On 22/12/2016 12:19 PM, Jerin Jacob wrote:
On Thu, Dec 22, 2016 at 04:37:06AM +, David Hunt wrote:
+ struct rte_distributor_burst *d = arg;
+ unsigned int count = 0;
+ unsigned int num = 0;
+ unsigned int id = __sync_fetch_and_add(&worker_idx, 1);
Use rte_atomic eq
On Thu, Dec 22, 2016 at 04:37:06AM +, David Hunt wrote:
> Signed-off-by: David Hunt
> ---
> + * it does nothing but return packets and count them.
> + */
> +static int
> +handle_work_burst(void *arg)
> +{
> + //struct rte_mbuf *pkt = NULL;
Seems like their is lot test code with // in this
Signed-off-by: David Hunt
---
app/test/test_distributor_perf.c | 133 +--
1 file changed, 127 insertions(+), 6 deletions(-)
diff --git a/app/test/test_distributor_perf.c b/app/test/test_distributor_perf.c
index 7947fe9..86285fd 100644
--- a/app/test/test_distr
4 matches
Mail list logo