From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v7 10/10] l2fwd-crypto: crypto Date: Wed, 25 Nov 2015 02:03:27 +0100 Message-ID: <3138205.RSe44hZpFt@xps13> References: <1447176763-19303-1-git-send-email-declan.doherty@intel.com> <1447441090-8129-1-git-send-email-declan.doherty@intel.com> <1447441090-8129-11-git-send-email-declan.doherty@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Declan Doherty Return-path: Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by dpdk.org (Postfix) with ESMTP id 6139F8E87 for ; Wed, 25 Nov 2015 02:04:46 +0100 (CET) Received: by wmuu63 with SMTP id u63so118763229wmu.0 for ; Tue, 24 Nov 2015 17:04:46 -0800 (PST) In-Reply-To: <1447441090-8129-11-git-send-email-declan.doherty@intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 =E2=80=98%lu=E2=80=99 expects argument of type =E2=80=98l= ong unsigned int=E2=80=99, but argument 2 has type =E2=80=98uint64_t {aka long long unsigned int}=E2= =80=99