From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v2 6/6] ethdev: return named opaque type instead of void pointer Date: Tue, 9 Jan 2018 10:58:11 -0800 Message-ID: <20180109105811.2995412e@xeon-e3> References: <20171201022957.64329-1-ferruh.yigit@intel.com> <20180109162317.18183-1-ferruh.yigit@intel.com> <20180109162317.18183-6-ferruh.yigit@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Thomas Monjalon , dev@dpdk.org, stable@dpdk.org, declan.doherty@intel.com, Boris Pismenny , Aviad Yehezkel , Radu Nicolau To: Ferruh Yigit Return-path: Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by dpdk.org (Postfix) with ESMTP id B6BB51B1B8 for ; Tue, 9 Jan 2018 19:58:13 +0100 (CET) Received: by mail-pg0-f68.google.com with SMTP id f14so6025779pga.10 for ; Tue, 09 Jan 2018 10:58:13 -0800 (PST) In-Reply-To: <20180109162317.18183-6-ferruh.yigit@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Tue, 9 Jan 2018 16:23:17 +0000 Ferruh Yigit wrote: > "struct rte_eth_rxtx_callback" is defined as internal data structure and > used as named opaque type. > > So the functions that are adding callbacks can return objects in this > type instead of void pointer. > > Signed-off-by: Ferruh Yigit My comment was "yes I agree pointer should have opaque type" Acked-by: Stephen Hemminger