From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <anatoly.burakov@intel.com>
Received: from mga05.intel.com (mga05.intel.com [192.55.52.43])
 by dpdk.org (Postfix) with ESMTP id E69851B588
 for <dev@dpdk.org>; Fri, 11 Jan 2019 11:40:22 +0100 (CET)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga005.fm.intel.com ([10.253.24.32])
 by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 11 Jan 2019 02:40:21 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.56,465,1539673200"; d="scan'208";a="310984884"
Received: from aburakov-mobl1.ger.corp.intel.com (HELO [10.251.85.183])
 ([10.251.85.183])
 by fmsmga005.fm.intel.com with ESMTP; 11 Jan 2019 02:40:20 -0800
To: Gage Eads <gage.eads@intel.com>, dev@dpdk.org
Cc: olivier.matz@6wind.com, arybchenko@solarflare.com,
 bruce.richardson@intel.com, konstantin.ananyev@intel.com
References: <20190110210122.24889-1-gage.eads@intel.com>
 <20190110210122.24889-2-gage.eads@intel.com>
From: "Burakov, Anatoly" <anatoly.burakov@intel.com>
Message-ID: <d0b41430-48ec-93d6-5032-000fc2df39f7@intel.com>
Date: Fri, 11 Jan 2019 10:40:19 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101
 Thunderbird/60.4.0
MIME-Version: 1.0
In-Reply-To: <20190110210122.24889-2-gage.eads@intel.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Subject: Re: [dpdk-dev] [PATCH 1/6] ring: change head and tail to
 pointer-width size
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Fri, 11 Jan 2019 10:40:23 -0000

<...>

> + * Copyright(c) 2016-2019 Intel Corporation
>    */
>   
>   /**
> @@ -88,7 +88,7 @@ rte_event_ring_enqueue_burst(struct rte_event_ring *r,
>   		const struct rte_event *events,
>   		unsigned int n, uint16_t *free_space)
>   {
> -	uint32_t prod_head, prod_next;
> +	uintptr_t prod_head, prod_next;

I would also question the use of uinptr_t. I think semnatically, size_t 
is more appropriate.

-- 
Thanks,
Anatoly