Commit f4d63a87 authored by Felix Fietkau's avatar Felix Fietkau
Browse files

wifi: mt76: dma: use napi_build_skb



Improves performance by using bulk allocation

Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent e12b2e99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -853,7 +853,7 @@ mt76_dma_rx_process(struct mt76_dev *dev, struct mt76_queue *q, int budget)
		    !(dev->drv->rx_check(dev, data, len)))
			goto free_frag;

		skb = build_skb(data, q->buf_size);
		skb = napi_build_skb(data, q->buf_size);
		if (!skb)
			goto free_frag;