On Mon, Jan 09, 2017 at 07:50:47AM +0000, David Hunt wrote:
> Signed-off-by: David Hunt <[email protected]>
> ---
> examples/distributor/main.c | 508
> ++++++++++++++++++++++++++++++++++----------
> 1 file changed, 390 insertions(+), 118 deletions(-)
>
> diff --git a/examples/distributor/main.c b/examples/distributor/main.c
> index e7641d2..eebfb74 100644
Compile errors on 32-bit:
/home/bruce/dpdk-clean/examples/distributor/main.c: In function
‘print_stats’:
/home/bruce/dpdk-clean/examples/distributor/main.c:589:14: error: format
‘%ld’ expects argument of type ‘long int’, but argument 2 has type
‘uint64_t {aka volatile long long unsigned int}’ [-Werror=format=]
printf("%ld ", app_stats.worker_bursts[i][j]);
^