diff options
author | Felix Fietkau <nbd@nbd.name> | 2022-12-31 08:44:33 +0100 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2023-04-19 10:09:43 +0200 |
commit | f4d63a87b527de258eec5bd6e9547f063d472b79 (patch) | |
tree | fadd457aa1515066fc31776dc6de331920d2f71f /drivers/net/wireless/mediatek/mt76/dma.c | |
parent | e12b2e99b8799f26432528934edc8677888ad72f (diff) | |
download | linux-stable-f4d63a87b527de258eec5bd6e9547f063d472b79.tar.gz linux-stable-f4d63a87b527de258eec5bd6e9547f063d472b79.tar.bz2 linux-stable-f4d63a87b527de258eec5bd6e9547f063d472b79.zip |
wifi: mt76: dma: use napi_build_skb
Improves performance by using bulk allocation
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/dma.c')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/dma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/dma.c b/drivers/net/wireless/mediatek/mt76/dma.c index 6c0174313d09..465190ebaf1c 100644 --- a/drivers/net/wireless/mediatek/mt76/dma.c +++ b/drivers/net/wireless/mediatek/mt76/dma.c @@ -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; |