Re: [PATCH net-next 3/3] net: bcmgenet: allocate a single-queue netdev

From: Justin Chen

Date: Mon Jun 15 2026 - 14:41:32 EST




On 6/12/26 1:59 PM, Nicolai Buchwitz wrote:
The driver only uses TX ring 0 and RX ring 0, so allocating a netdev
with GENET_MAX_MQ_CNT + 1 = 5 TX and 5 RX slots leaves four of each
unused. Switch to alloc_etherdev() which allocates exactly one queue
of each kind.

No functional change: netif_set_real_num_{tx,rx}_queues() already
clamps the visible queue count to 1.

Signed-off-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>

Reviewed-by: Justin Chen <justin.chen@xxxxxxxxxxxx>
Tested-by: Justin Chen <justin.chen@xxxxxxxxxxxx>