From: Stephen Hemminger Date: Sat, 7 Mar 2015 02:23:22 +0000 (-0800) Subject: ixgbe: make bulk alloc static X-Git-Tag: spdx-start~9453 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b74381cf9181e6fc14d4c8dc66eba601dc0b7a34;p=dpdk.git ixgbe: make bulk alloc static Only used in this file, make it static. Signed-off-by: Stephen Hemminger Acked-by: Bruce Richardson Acked-by: Changchun Ouyang --- diff --git a/lib/librte_pmd_ixgbe/ixgbe_ethdev.h b/lib/librte_pmd_ixgbe/ixgbe_ethdev.h index a549f5cdaa..ffe3471bcd 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 3a4641c379..279da41d77 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx.c +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx.c @@ -1144,7 +1144,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) {