> -----Original Message----- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Shahaf Shuler > Sent: Tuesday, December 12, 2017 12:26 PM > To: dev@dpdk.org; Ananyev, Konstantin <konstantin.anan...@intel.com>; > Nicolau, Radu <radu.nico...@intel.com>; arybche...@solarflare.com > 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 <shah...@mellanox.com>
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