Skip to content

DSA: promisc on master, generic flow dissector code

Vladimir Oltean netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: dsa: allow drivers to request promiscuous mode on masterinclude/net/dsa.h net/dsa/master.c+51 -11 reply
2/4net: dsa: sja1105: request promiscuous mode for masterdrivers/net/dsa/sja1105/sja1105_main.c+3 -01 reply
3/4net: dsa: tag_ocelot: use a short prefix on both ingress and egressdrivers/net/dsa/ocelot/felix.c net/dsa/tag_ocelot.c+18 -75 replies
4/4net: dsa: implement and use a generic procedure for the flow dissectornet/dsa/dsa_priv.h net/dsa/tag_ar9331.c net/dsa/tag_brcm.c +7 more+71 -102 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/4R-b
2/4R-b
3/4R-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] DSA: promisc on master, generic flow dissector code

From: Vladimir Oltean <[email protected]>

The initial purpose of this series was to implement the .flow_dissect method for sja1105 and for ocelot/felix. But on Felix this posed a problem, as the DSA headers were of different lengths on RX and on TX. A better solution than to just increase the smaller one was to also try to shrink the larger one, but in turn that required the DSA master to be put in promiscuous mode (which sja1105 also needed, for other reasons).

Finally, we can add the missing .flow_dissect methods to ocelot and sja1105 (as well as generalize the formula to other taggers as well).

Vladimir Oltean (4):
net: dsa: allow drivers to request promiscuous mode on master
net: dsa: sja1105: request promiscuous mode for master
net: dsa: tag_ocelot: use a short prefix on both ingress and egress
net: dsa: implement and use a generic procedure for the flow dissector

 drivers/net/dsa/ocelot/felix.c         |  5 ++--
 drivers/net/dsa/sja1105/sja1105_main.c |  3 ++
 include/net/dsa.h                      | 13 +++++++++
 net/dsa/dsa_priv.h                     | 22 +++++++++++++++
 net/dsa/master.c                       | 39 +++++++++++++++++++++++++-
 net/dsa/tag_ar9331.c                   |  9 ++++++
 net/dsa/tag_brcm.c                     |  5 ++--
 net/dsa/tag_dsa.c                      |  4 +--
 net/dsa/tag_edsa.c                     |  4 +--
 net/dsa/tag_lan9303.c                  |  9 ++++++
 net/dsa/tag_mtk.c                      |  3 +-
 net/dsa/tag_ocelot.c                   | 29 +++++++++++++++----
 net/dsa/tag_qca.c                      |  3 +-
 net/dsa/tag_sja1105.c                  | 13 +++++++++
 14 files changed, 143 insertions(+), 18 deletions(-)
Signature · 1 line
2.17.1