DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] What's the performance significance of ixgbe_recv_pkts_bulk_alloc
@ 2014-02-23 23:43 Daniel Kan
  2014-02-23 23:57 ` Jayakumar, Muthurajan
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel Kan @ 2014-02-23 23:43 UTC (permalink / raw)
  To: dev

Hi,
While browsing through the ixgbe pmd code, I noticed that there is ixgbe_recv_pkts_bulk_alloc, which can be enabled if the following preconditions are met. 

     *   rxq->rx_free_thresh >= RTE_PMD_IXGBE_RX_MAX_BURST
     *   rxq->rx_free_thresh < rxq->nb_rx_desc
     *   (rxq->nb_rx_desc % rxq->rx_free_thresh) == 0
     *   rxq->nb_rx_desc<(IXGBE_MAX_RING_DESC-RTE_PMD_IXGBE_RX_MAX_BURST)

I presume the difference from the normal (non bulk) version has to do with buffer allocation. Can someone please explain the inner working of bulk_alloc and why one may or may not want to enable bulk_alloc mode? 

I only see bulk_alloc is available for ixgbe driver and not igb and e1000. Why is that?

Thanks.

Dan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-23 23:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-23 23:43 [dpdk-dev] What's the performance significance of ixgbe_recv_pkts_bulk_alloc Daniel Kan
2014-02-23 23:57 ` Jayakumar, Muthurajan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).