DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] ixgbe vPMD RX functions and buffer number minimum requirement
@ 2015-07-24 14:59 Zoltan Kiss
  2015-07-24 16:43 ` Ananyev, Konstantin
  0 siblings, 1 reply; 7+ messages in thread
From: Zoltan Kiss @ 2015-07-24 14:59 UTC (permalink / raw)
  To: Richardson, Bruce, dev

Hi,

I was thinking how to handle the situation when you call 
rte_eth_rx_burst with less than RTE_IXGBE_VPMD_RX_BURST buffers. In 
ODP-DPDK unfortunately we can't force this requirement onto the calling 
application.
One idea I had to check in ixgbe_recv_pkts_vec() if nb_pkts < 
RTE_IXGBE_VPMD_RX_BURST, and call ixgbe_recv_pkts_bulk_alloc in that 
case. Accordingly, in ixgbe_recv_scattered_pkts_vec() we could call 
ixgbe_recv_scattered_pkts() in this case. A branch predictor can easily 
eliminate the performance penalty of this, and applications can use 
whatever burst size feasible for them.
The obvious problem could be whether you can mix the receive functions 
this way. I have a feeling it wouldn't fly, but I wanted to ask first 
before spending time investigate this option further.

Regards,

Zoltan

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

end of thread, other threads:[~2015-07-29 10:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-24 14:59 [dpdk-dev] ixgbe vPMD RX functions and buffer number minimum requirement Zoltan Kiss
2015-07-24 16:43 ` Ananyev, Konstantin
2015-07-27 11:38   ` Zoltan Kiss
2015-07-28  0:10     ` Ananyev, Konstantin
2015-07-28  8:49       ` Liang, Cunming
2015-07-29  9:40       ` Zoltan Kiss
2015-07-29 10:03         ` Ananyev, Konstantin

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).