[dpdk-dev] [PATCH v7 10/10] l2fwd-crypto: crypto

Thomas Monjalon thomas.monjalon at 6wind.com
Wed Nov 25 02:03:27 CET 2015


2015-11-13 18:58, Declan Doherty:
> +               printf("\nStatistics for cryptodev %lu -------------------------"
> +                          "\nPackets enqueued: %28"PRIu64
> +                          "\nPackets dequeued: %28"PRIu64
> +                          "\nPackets errors: %30"PRIu64,
> +                          cdevid,
> +                          crypto_statistics[cdevid].enqueued,
> +                          crypto_statistics[cdevid].dequeued,
> +                          crypto_statistics[cdevid].errors);

There is a compilation error on 32-bit:

examples/l2fwd-crypto/main.c:252:10:
error: format ‘%lu’ expects argument of type ‘long unsigned int’,
but argument 2 has type ‘uint64_t {aka long long unsigned int}’



More information about the dev mailing list