Thread (14 messages) 14 messages, 4 authors, 2026-03-11

Re: [PATCH net-next v2 4/7] net: stmmac: use u8 for ?x_queues_to_use and number_?x_queues

From: Mohd Ayaan Anwar <mohd.anwar@oss.qualcomm.com>
Date: 2026-03-09 11:19:35
Also in: imx, linux-arm-kernel, linux-arm-msm, linux-mediatek, linux-sunxi, linux-tegra

On Mon, Mar 09, 2026 at 09:39:34AM +0000, Russell King (Oracle) wrote:
The maximum number of queues is a compile time constant of only eight.
This makes using a 32-bit quantity wastefulf. Instead, use u8 for
these and their associated variables.

When reading the DT properties, saturdate at U8_MAX. Provided the core
Nit: saturate?

	Ayaan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help