From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 871C3200 for ; Tue, 19 Dec 2017 13:33:22 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Dec 2017 04:33:21 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,426,1508828400"; d="scan'208";a="160079474" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga004.jf.intel.com with ESMTP; 19 Dec 2017 04:33:19 -0800 Received: from irsmsx108.ger.corp.intel.com ([169.254.11.167]) by IRSMSX103.ger.corp.intel.com ([169.254.3.49]) with mapi id 14.03.0319.002; Tue, 19 Dec 2017 12:33:18 +0000 From: "De Lara Guarch, Pablo" To: Shahaf Shuler , "dev@dpdk.org" , "Ananyev, Konstantin" , "Nicolau, Radu" , "arybchenko@solarflare.com" Thread-Topic: [dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to new ethdev offloads API Thread-Index: AQHTc0S4zFyGR87YQ0m2oImyi2t/s6NKoJFA Date: Tue, 19 Dec 2017 12:33:18 +0000 Message-ID: References: <20171123121419.144132-1-shahafs@mellanox.com> <7ddb1ea46013dad991a4330a5c22a90c2c54064a.1513081087.git.shahafs@mellanox.com> In-Reply-To: <7ddb1ea46013dad991a4330a5c22a90c2c54064a.1513081087.git.shahafs@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiNjYxNGI0YjYtZjMzNi00YmYwLWJkN2UtZWM4YzkxYTg5YjJhIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE2LjUuOS4zIiwiVHJ1c3RlZExhYmVsSGFzaCI6InNCR3Q5YUt2bGhqd2Q0K2R4RDNtQ2hiV2RDekFkbHRNU1lxSVdvQit6T1U9In0= x-ctpclassification: CTP_IC dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [163.33.239.182] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to new ethdev offloads API X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Dec 2017 12:33:23 -0000 > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Shahaf Shuler > Sent: Tuesday, December 12, 2017 12:26 PM > To: dev@dpdk.org; Ananyev, Konstantin ; > Nicolau, Radu ; arybchenko@solarflare.com > Subject: [dpdk-dev] [PATCH v2 03/39] examples/l2fwd-jobstats: convert to > new ethdev offloads API >=20 > Ethdev offloads API has changed since: >=20 > commit ce17eddefc20 ("ethdev: introduce Rx queue offloads API") commit > cba7f53b717d ("ethdev: introduce Tx queue offloads API") >=20 > This commit support the new API. >=20 > Signed-off-by: Shahaf Shuler 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 lo= ng unsigned int}' [-Werror=3Dformat=3D] 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 lo= ng unsigned int}' [-Werror=3Dformat=3D] 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 lo= ng unsigned int}' [-Werror=3Dformat=3D] 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 lo= ng unsigned int}' [-Werror=3Dformat=3D] This happens on all the apps (I acked the first two apps, since I missed th= is issue when I was reviewing them). Thanks, Pablo