From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 7CC5A14EC for ; Fri, 13 Jan 2017 16:38:46 +0100 (CET) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 13 Jan 2017 07:38:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,222,1477983600"; d="scan'208";a="1082603971" Received: from bricha3-mobl3.ger.corp.intel.com ([10.237.221.61]) by orsmga001.jf.intel.com with SMTP; 13 Jan 2017 07:38:42 -0800 Received: by (sSMTP sendmail emulation); Fri, 13 Jan 2017 15:38:42 +0000 Date: Fri, 13 Jan 2017 15:38:42 +0000 From: Bruce Richardson To: David Hunt Cc: dev@dpdk.org Message-ID: <20170113153842.GE201464@bricha3-MOBL3.ger.corp.intel.com> References: <1482381428-148094-2-git-send-email-david.hunt@intel.com> <1483948248-91364-1-git-send-email-david.hunt@intel.com> <1483948248-91364-6-git-send-email-david.hunt@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1483948248-91364-6-git-send-email-david.hunt@intel.com> Organization: Intel Research and =?iso-8859-1?Q?De=ACvel?= =?iso-8859-1?Q?opment?= Ireland Ltd. User-Agent: Mutt/1.7.1 (2016-10-04) Subject: Re: [dpdk-dev] [PATCH v4 5/6] example: distributor app showing burst 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: Fri, 13 Jan 2017 15:38:46 -0000 On Mon, Jan 09, 2017 at 07:50:47AM +0000, David Hunt wrote: > Signed-off-by: David Hunt > --- > examples/distributor/main.c | 508 ++++++++++++++++++++++++++++++++++---------- > 1 file changed, 390 insertions(+), 118 deletions(-) > > diff --git a/examples/distributor/main.c b/examples/distributor/main.c > index e7641d2..eebfb74 100644 Compile errors on 32-bit: /home/bruce/dpdk-clean/examples/distributor/main.c: In function ‘print_stats’: /home/bruce/dpdk-clean/examples/distributor/main.c:589:14: error: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘uint64_t {aka volatile long long unsigned int}’ [-Werror=format=] printf("%ld ", app_stats.worker_bursts[i][j]); ^