On Fri, 3 Jul 2015 16:40:05 +0100
Bruce Richardson <bruce.richardson at intel.com> wrote:
> --- a/drivers/net/ixgbe/ixgbe_rxtx.c
> +++ b/drivers/net/ixgbe/ixgbe_rxtx.c
> @@ -1757,7 +1757,7 @@ ixgbe_recv_pkts_lro_bulk_alloc(void *rx_queue, struct
> rte_mbuf **rx_pkts,
> * needed. If the memzone is already created, then this function returns a
> ptr
> * to the old one.
> */
> -static const struct rte_memzone *
> +static const struct rte_memzone * __attribute__((cold))
> ring_dma_zone_reserve(struct rte_eth_dev *dev, const char *ring_name,
> uint16_t queue_id, uint32_t ring_size, int socket_id)
> {
This function is used in multiple drivers and should really be in common code.