Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netdev-dpdk: Keep calling rte_eth_tx_burst() until it returns 0
rte_eth_tx_burst() _should_ transmit every packet that it is passed unless the queue is full. Nontheless some implementation of rte_eth_tx_burst (e.g. ixgbe_xmit_pkts_vec()) does not transmit more than a fixed number (32) of packets at a time. With this commit we assume that there's an error only if rte_eth_tx_burst returns 0. Signed-off-by: Daniele Di Proietto <[email protected]> Acked-by: Pravin B Shelar <[email protected]>
- Loading branch information