From: Ansuel Smith Date: Wed, 2 Feb 2022 00:03:24 +0000 (+0100) Subject: net: dsa: tag_qca: enable promisc_on_master flag X-Git-Tag: v5.18-rc1~136^2~469^2~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=101c04c3463b87061e6a3d4f72c1bc57670685a6;p=thirdparty%2Fkernel%2Flinux.git net: dsa: tag_qca: enable promisc_on_master flag Ethernet MDIO packets are non-standard and DSA master expects the first 6 octets to be the MAC DA. To address these kind of packet, enable promisc_on_master flag for the tagger. Signed-off-by: Ansuel Smith Reviewed-by: Vladimir Oltean Reviewed-by: Florian Fainelli Signed-off-by: David S. Miller --- diff --git a/net/dsa/tag_qca.c b/net/dsa/tag_qca.c index 34e565e00ece4..f8df49d5956f7 100644 --- a/net/dsa/tag_qca.c +++ b/net/dsa/tag_qca.c @@ -68,6 +68,7 @@ static const struct dsa_device_ops qca_netdev_ops = { .xmit = qca_tag_xmit, .rcv = qca_tag_rcv, .needed_headroom = QCA_HDR_LEN, + .promisc_on_master = true, }; MODULE_LICENSE("GPL");