[dpdk-dev] rte_eth_rx_burst only returns up to 32 packets

2015-08-29 Thread Vladislav Zolotarov
On Aug 29, 2015 16:55, "Masood Moshref Javadi" wrote: > > Thanks a lot. > > So I assume the only way to see if there are more than 256 packets in the > queue is to count them using rte_eth_rx_count Sorry for bulging in but i think Masood rose a very important general question here, which is: how

[dpdk-dev] rte_eth_rx_burst only returns up to 32 packets

2015-08-29 Thread Masood Moshref Javadi
Thanks a lot. So I assume the only way to see if there are more than 256 packets in the queue is to count them using rte_eth_rx_count On Aug 28, 2015 8:32 PM, "Gaohaifeng (A)" wrote: > Please see _rece_raw_pkts_vec function. > > Here is part of its comments may explain this question > /* > *

[dpdk-dev] rte_eth_rx_burst only returns up to 32 packets

2015-08-29 Thread Gaohaifeng (A)
Please see _rece_raw_pkts_vec function. Here is part of its comments may explain this question /* * vPMD receive routine, now only accept (nb_pkts == RTE_IXGBE_VPMD_RX_BURST) * in one loop * * Notice: * - nb_pkts < RTE_IXGBE_VPMD_RX_BURST, just return no packet * - nb_pkts >