Thread (26 messages) 26 messages, 3 authors, 2021-12-12

[net-next RFC PATCH v4 07/15] net: da: tag_qca: enable promisc_on_master flag

flat view
STALE1785d SUPERSEDED

From: Ansuel Smith <ansuelsmth@gmail.com>
Date: 2021-12-11 19:59:03
Also in: lkml
Subsystem: networking [dsa], networking [general], qualcomm atheros qca8k dsa switch driver, the rest · Maintainers: Andrew Lunn, Vladimir Oltean, "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Christian Marangi, Linus Torvalds

Status: Superseded by v8 (posted 2022-02-02). [go to v8]

Revision v4 (7 revisions archived).

Revisions (7)
  1. v2
  2. v3 [diff against previous] re-posted go to this post
  3. v4 current [diff against previous]
  4. v5 [diff against previous]
  5. v6 [diff against previous]
  6. v7 [diff against previous]
  7. v8 [diff against previous]
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 <ansuelsmth@gmail.com>
---
 net/dsa/tag_qca.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/net/dsa/tag_qca.c b/net/dsa/tag_qca.c
index 34e565e00ece..f8df49d5956f 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");
-- 
2.32.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help