mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +00:00
21 lines
713 B
Diff
21 lines
713 B
Diff
|
From 066b30a76a0d13cbd2c0d463f9a1e87efc352679 Mon Sep 17 00:00:00 2001
|
||
|
From: John Crispin <john@phrozen.org>
|
||
|
Date: Thu, 10 Aug 2017 15:58:46 +0200
|
||
|
Subject: [PATCH 49/57] net: mediatek: add rx queue
|
||
|
|
||
|
Signed-off-by: John Crispin <john@phrozen.org>
|
||
|
---
|
||
|
drivers/net/ethernet/mediatek/mtk_eth_soc.c | 1 +
|
||
|
1 file changed, 1 insertion(+)
|
||
|
|
||
|
--- a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
||
|
+++ b/drivers/net/ethernet/mediatek/mtk_eth_soc.c
|
||
|
@@ -1009,6 +1009,7 @@ static int mtk_poll_rx(struct napi_struc
|
||
|
RX_DMA_VID(trxd.rxd3))
|
||
|
__vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q),
|
||
|
RX_DMA_VID(trxd.rxd3));
|
||
|
+ skb_record_rx_queue(skb, 0);
|
||
|
napi_gro_receive(napi, skb);
|
||
|
|
||
|
ring->data[idx] = new_data;
|