From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 99A065A76 for ; Mon, 9 Mar 2015 14:39:15 +0100 (CET) Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga103.jf.intel.com with ESMTP; 09 Mar 2015 06:36:22 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,367,1422950400"; d="scan'208";a="677297058" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.26]) by fmsmga001.fm.intel.com with SMTP; 09 Mar 2015 06:39:06 -0700 Received: by (sSMTP sendmail emulation); Mon, 09 Mar 2015 13:39:05 +0025 Date: Mon, 9 Mar 2015 13:39:05 +0000 From: Bruce Richardson To: Stephen Hemminger Message-ID: <20150309133905.GC7256@bricha3-MOBL3> References: <1425695004-29605-1-git-send-email-stephen@networkplumber.org> <1425695004-29605-4-git-send-email-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1425695004-29605-4-git-send-email-stephen@networkplumber.org> Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 3/5] ixgbe: make bulk alloc static X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2015 13:39:16 -0000 On Fri, Mar 06, 2015 at 06:23:22PM -0800, Stephen Hemminger wrote: > Only used in this file, make it static. > > Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson > --- > lib/librte_pmd_ixgbe/ixgbe_ethdev.h | 5 ----- > lib/librte_pmd_ixgbe/ixgbe_rxtx.c | 2 +- > 2 files changed, 1 insertion(+), 6 deletions(-) > > diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.h b/lib/librte_pmd_ixgbe/ixgbe_ethdev.h > index a549f5c..ffe3471 100644 > --- a/lib/librte_pmd_ixgbe/ixgbe_ethdev.h > +++ b/lib/librte_pmd_ixgbe/ixgbe_ethdev.h > @@ -341,11 +341,6 @@ void ixgbevf_dev_rxtx_start(struct rte_eth_dev *dev); > uint16_t ixgbe_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > uint16_t nb_pkts); > > -#ifdef RTE_LIBRTE_IXGBE_RX_ALLOW_BULK_ALLOC > -uint16_t ixgbe_recv_pkts_bulk_alloc(void *rx_queue, struct rte_mbuf **rx_pkts, > - uint16_t nb_pkts); > -#endif > - > uint16_t ixgbe_recv_scattered_pkts(void *rx_queue, > struct rte_mbuf **rx_pkts, uint16_t nb_pkts); > > diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c > index 8706c1e..0f32296 100644 > --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c > +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c > @@ -1145,7 +1145,7 @@ rx_recv_pkts(void *rx_queue, struct rte_mbuf **rx_pkts, > } > > /* split requests into chunks of size RTE_PMD_IXGBE_RX_MAX_BURST */ > -uint16_t > +static uint16_t > ixgbe_recv_pkts_bulk_alloc(void *rx_queue, struct rte_mbuf **rx_pkts, > uint16_t nb_pkts) > { > -- > 2.1.4 >