From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [PATCH v5 6/7] net/ark: Packet RX support initial version Date: Tue, 28 Mar 2017 15:36:02 +0100 Message-ID: <6ae0faec-be5e-9054-0cc0-fb5300bb2f75@intel.com> References: <41265c4fa76265df0144d5d480e4553888df2ee8.1490309515.git.ed.czeck@atomicrules.com> <8a5f46f851c7be85e09e50d7c94b7709edaf881e.1490309515.git.ed.czeck@atomicrules.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: john.miller@atomicrules.com, shepard.siegel@atomicrules.com, stephen@networkplumber.org To: Ed Czeck , dev@dpdk.org Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 08201CF7A for ; Tue, 28 Mar 2017 16:36:06 +0200 (CEST) In-Reply-To: <8a5f46f851c7be85e09e50d7c94b7709edaf881e.1490309515.git.ed.czeck@atomicrules.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 3/23/2017 11:01 PM, Ed Czeck wrote: > * Core RX packet moving functions > > Signed-off-by: Ed Czeck <...> > +/* TODO pick a better function name */ Is it possible to do now :) Thanks. > +static int > +eth_ark_rx_hw_setup(struct rte_eth_dev *dev, > + struct ark_rx_queue *queue, > + uint16_t rx_queue_id __rte_unused, uint16_t rx_queue_idx) > +{ <...> > + > +/* Only used in debug */ > +static void > +dump_mbuf_data(struct rte_mbuf *mbuf, uint16_t lo, uint16_t hi) > +{ There is already a rte_pktmbuf_dump(), does it works for you? <...> > +/* Forward declarations */ > +struct rte_mbuf; > +struct rte_mempool; > +struct rte_eth_dev; > +struct rte_eth_stats; > +struct rte_eth_rxconf; Same comment with Tx patch, these structs can be removed by including proper dpdk headers.