From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by dpdk.org (Postfix) with ESMTP id DB5866837 for ; Sat, 7 Mar 2015 03:23:34 +0100 (CET) Received: by pdev10 with SMTP id v10so19092790pde.13 for ; Fri, 06 Mar 2015 18:23:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=6wJrtqm3q9VuietZfv5HBo88YnwiXPfQjo8V6kdL6n4=; b=H7W081iXC0C43sKfuWMaYesdu9YBTlWOYaoCvIJnRACw7WiU0vQ5LQcGQbVYjJm1Fk KWcz/hxF5GMdL9RY+uTKQ6lqWsuyeRBdCuTq/S+9D8+s5fdRUH6XzE2SmKqof2VNLDLW BSitK9uqNqbXmcNPmzb/hP/YkmGDAfYsexH3k9cpR6ua6hFrtyy9VBJMx72risMeDuqU z67fYuXycokI6+B5x/eTn3z+iPxbW7ZEmAIoup4dlGg3++6M5iZN3B+t4qWqb61eUBiI /8FBj25jQRkP3IET0M7/k6DdssmtEMvcbEEDEzaJ1mTuho/n+mw57URAWyARa4bZW+kG m3Bw== X-Gm-Message-State: ALoCoQnSVOuyW8fhxr5qJbngyuZ4HW57WsQ278o1OWp9GE6+rW5boZbGnXDFLuWiM1Na2epOSENE X-Received: by 10.66.118.198 with SMTP id ko6mr31227274pab.16.1425695014154; Fri, 06 Mar 2015 18:23:34 -0800 (PST) Received: from urahara.brocade.com (static-50-53-82-155.bvtn.or.frontiernet.net. [50.53.82.155]) by mx.google.com with ESMTPSA id x4sm10797098pas.40.2015.03.06.18.23.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 06 Mar 2015 18:23:33 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Date: Fri, 6 Mar 2015 18:23:22 -0800 Message-Id: <1425695004-29605-4-git-send-email-stephen@networkplumber.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1425695004-29605-1-git-send-email-stephen@networkplumber.org> References: <1425695004-29605-1-git-send-email-stephen@networkplumber.org> Subject: [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: Sat, 07 Mar 2015 02:23:35 -0000 Only used in this file, make it static. Signed-off-by: Stephen Hemminger --- 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