mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 03:24:19 +02:00
wifi: mt76: dma: use napi_build_skb
Improves performance by using bulk allocation Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
e12b2e99b8
commit
f4d63a87b5
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user