dtc: update to 1.7.0
[openwrt/staging/noltari.git] / target / linux / generic / pending-5.15 / 732-05-net-dsa-tag_mtk-assign-per-port-queues.patch
1 From: Felix Fietkau <nbd@nbd.name>
2 Date: Fri, 28 Oct 2022 18:16:03 +0200
3 Subject: [PATCH] net: dsa: tag_mtk: assign per-port queues
4
5 Keeps traffic sent to the switch within link speed limits
6
7 Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 ---
9
10 --- a/net/dsa/tag_mtk.c
11 +++ b/net/dsa/tag_mtk.c
12 @@ -32,6 +32,8 @@ static struct sk_buff *mtk_tag_xmit(stru
13 */
14 eth_skb_pad(skb);
15
16 + skb_set_queue_mapping(skb, dp->index);
17 +
18 /* Build the special tag after the MAC Source Address. If VLAN header
19 * is present, it's required that VLAN header and special tag is
20 * being combined. Only in this way we can allow the switch can parse