rte_eth_tx_burst() always returns 0 in tight loop

Stephen Hemminger stephen at networkplumber.org
Mon Sep 26 19:24:07 CEST 2022


On Mon, 26 Sep 2022 17:36:06 +0200
Antonio Di Bacco <a.dibacco.ks at gmail.com> wrote:

> Is there any way to check if a TX queue is full before transmitting
> using the rte_eth_rx_burst() or should I rely on the return value of
> rte_eth_tx_burst()?

There is an API that might help rte_eth_tx_descriptor_status
but only some drivers support it. And it requires some detailed knowledge
about which descriptor is being used.



More information about the users mailing list