[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240228072555.428e0312@kernel.org>
Date: Wed, 28 Feb 2024 07:25:55 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Arnd Bergmann <arnd@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>, Breno Leitao
<leitao@...ian.org>, Arnd Bergmann <arnd@...db.de>, Roger Quadros
<rogerq@...nel.org>, Siddharth Vadapalli <s-vadapalli@...com>, Grygorii
Strashko <grygorii.strashko@...com>, Dan Carpenter
<dan.carpenter@...aro.org>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] net: ethernet: ti: am65-cpsw-qos: fix non-bql configs
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)
Powered by blists - more mailing lists