aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@phrozen.org>2017-08-18 18:11:52 +0200
committerJohn Crispin <john@phrozen.org>2017-08-18 18:41:41 +0200
commit1f068588efddf0175e954ffc07ec8478bddd52c7 (patch)
tree3e65bb1b6d076cac2597db4bcbf71a9fedee1099 /target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch
parent364befeccf01c07049b492d90e98c2c13457c7c3 (diff)
downloadupstream-1f068588efddf0175e954ffc07ec8478bddd52c7.tar.gz
upstream-1f068588efddf0175e954ffc07ec8478bddd52c7.tar.bz2
upstream-1f068588efddf0175e954ffc07ec8478bddd52c7.zip
mediatek: update to latest kernel patchset from v4.13-rc
Signed-off-by: Muciri Gatimu <muciri@openmesh.com> Signed-off-by: Shashidhar Lakkavalli <shashidhar.lakkavalli@openmesh.com> Signed-off-by: John Crispin <john@phrozen.org>
Diffstat (limited to 'target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch')
-rw-r--r--target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch b/target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch
new file mode 100644
index 0000000000..0146a9dd5c
--- /dev/null
+++ b/target/linux/mediatek/patches-4.9/0049-net-mediatek-add-rx-queue.patch
@@ -0,0 +1,20 @@
+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;