[dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to new ethdev offloads API
Shahaf Shuler
shahafs at mellanox.com
Thu Dec 21 14:47:12 CET 2017
Tuesday, December 19, 2017 2:33 PM, De Lara Guarch, Pablo:
>
> There is a compilation error when building for 32-bit targets:
>
> examples/l2fwd-jobstats/main.c:883:11: error: format '%lx' expects
> argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka
> long long unsigned int}'
> [-Werror=format=]
> printf("Some Rx offloads are not supported "
> ^
> examples/l2fwd-jobstats/main.c:883:11: error: format '%lx' expects
> argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka
> long long unsigned int}'
> [-Werror=format=]
> examples/l2fwd-jobstats/main.c:890:11: error: format '%lx' expects
> argument of type 'long unsigned int', but argument 3 has type 'uint64_t {aka
> long long unsigned int}'
> [-Werror=format=]
> printf("Some Tx offloads are not supported "
> ^
> examples/l2fwd-jobstats/main.c:890:11: error: format '%lx' expects
> argument of type 'long unsigned int', but argument 4 has type 'uint64_t {aka
> long long unsigned int}'
> [-Werror=format=]
>
> This happens on all the apps (I acked the first two apps, since I missed this
> issue when I was reviewing them).
Thanks, will take care.
In fact am thinking of removing those prints, they don't seems necessary. The PMD can print error/warn log in case of bad offloads configuration.
>
> Thanks,
> Pablo
More information about the dev
mailing list