Thread (12 messages) 12 messages, 4 authors, 27d ago

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

From: Justin Chen <justin.chen@broadcom.com>
Date: 2026-06-15 18:40:48
Also in: lkml


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 <redacted>
Reviewed-by: Justin Chen <justin.chen@broadcom.com>
Tested-by: Justin Chen <justin.chen@broadcom.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help