> -----Original Message-----
> From: dev [mailto:[email protected]] On Behalf Of Shahaf Shuler
> Sent: Tuesday, December 12, 2017 12:26 PM
> To: [email protected]; Ananyev, Konstantin <[email protected]>;
> Nicolau, Radu <[email protected]>; [email protected]
> Subject: [dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to
> new ethdev offloads API
>
> Ethdev offloads API has changed since:
>
> commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit
> cba7f53b717d ("ethdev: introduce Tx queue offloads API")
>
> This commit support the new API.
>
> Signed-off-by: Shahaf Shuler <[email protected]>
Hi Shahaf,
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,
Pablo