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

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

From: Florian Fainelli <florian.fainelli@broadcom.com>
Date: 2026-06-18 10:50:58
Also in: lkml


On 6/12/2026 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: Florian Fainelli <florian.fainelli@broadcom.com>
-- 
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help