On Tue, 29 Apr 2025 23:41:30 +0530
<sk...@marvell.com> wrote:

> @@ -7131,14 +7118,11 @@ rte_eth_tx_queue_count(uint16_t port_id, uint16_t 
> queue_id)
>               goto out;
>       }
>  #endif
> -     if (fops->tx_queue_count == NULL) {
> -             rc = -ENOTSUP;
> -             goto out;
> -     }
> -
>       rc = fops->tx_queue_count(qd);
>  
> +#ifdef RTE_ETHDEV_DEBUG_TX
>  out:
> +#endif

I think you could just fix the ETHDEV_DEBUG_TX to just return.
Other ethdev functions skip calling tracing for
the case of errors.

Reply via email to