kernel: move accepted mtk_eth_soc patches to generic-backport
[openwrt/openwrt.git] / target / linux / generic / pending-5.15 / 705-net-dsa-tag_mtk-add-padding-for-tx-packets.patch
index 4f3af6c6b0ecc47f6a71da0426f4226478f4cda6..d444b2027cb46287a08a8deba25d03ddab3a446c 100644 (file)
@@ -12,9 +12,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/net/dsa/tag_mtk.c
 +++ b/net/dsa/tag_mtk.c
-@@ -25,6 +25,13 @@ static struct sk_buff *mtk_tag_xmit(stru
-       u8 xmit_tpid;
-       u8 *mtk_tag;
+@@ -27,6 +27,13 @@ static struct sk_buff *mtk_tag_xmit(stru
+       skb_set_queue_mapping(skb, dp->index);
  
 +      /* The Ethernet switch we are interfaced with needs packets to be at
 +       * least 64 bytes (including FCS) otherwise their padding might be