Subject: Re: [PATCH] net: ethernet: ti: am65-cpsw-qos: fix non-bql configs

From: Jakub Kicinski <[email-masked]>
Date: Wed, 28 Feb 2024 07:25:55 -0800

On Wed, 28 Feb 2024 15:03:10 +0100 Arnd Bergmann wrote:
> +#ifdef CONFIG_BQL
>  		   dql_avail(&netif_txq->dql),
> +#else
> +		   0,
> +#endif

Same exact code exists in qdisc_avail_bulklimit()
How about we add static inline in netdevice.h wrapping
this, like we do for other BQL related functionality?
(taking in txq as the argument)