Thread (16 messages) 16 messages, 2 authors, 2026-03-18

Re: [PATCH net-next v5 6/8] net: macb: generalize tx buffer handling

From: Nicolai Buchwitz <hidden>
Date: 2026-03-16 12:18:17

On 13.3.2026 21:14, Paolo Valerio wrote:
quoted hunk ↗ jump to hunk
[...]

 			/* ctrl still refers to the first buffer descriptor
@@ -1396,20 +1397,22 @@ static bool ptp_one_step_sync(struct sk_buff 
*skb)
 static int macb_tx_complete(struct macb_queue *queue, int budget)
 {
 	struct macb *bp = queue->bp;
-	u16 queue_index = queue - bp->queues;
 	unsigned long flags;
 	unsigned int tail;
 	unsigned int head;
+	u16 queue_index;
 	int packets = 0;
 	u32 bytes = 0;

+	queue_index  = queue - bp->queues;
nit: remove double space before =
[...]
Reviewed-by: Nicolai Buchwitz <redacted>

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