wifi: mt76: dma: use napi_build_skb

Improves performance by using bulk allocation

Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
Felix Fietkau
2022-12-31 08:47:20 +01:00
parent 5b509e8038
commit 6c256218e5
+1 -1
View File
@@ -845,7 +845,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;