netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 net-next 00/16] Generic adjustment for flow dissector in DSA
@ 2020-09-26 17:30 Vladimir Oltean
  2020-09-26 17:30 ` [PATCH v2 net-next 01/16] net: mscc: ocelot: move NPI port configuration to DSA Vladimir Oltean
                   ` (15 more replies)
  0 siblings, 16 replies; 24+ messages in thread
From: Vladimir Oltean @ 2020-09-26 17:30 UTC (permalink / raw)
  To: netdev, davem; +Cc: andrew, f.fainelli, vivien.didelot, kuba

This is the v2 of a series initially submitted in May:
https://www.spinics.net/lists/netdev/msg651866.html

The end goal is to get rid of the unintuitive code for the flow
dissector that currently exists in the taggers. It can all be replaced
by a single, common function.

Some background work needs to be done for that. Especially the ocelot
driver poses some problems, since it has a different tag length between
RX and TX, and I didn't want to make DSA aware of that, since I could
instead make the tag lengths equal.

Vladimir Oltean (16):
  net: mscc: ocelot: move NPI port configuration to DSA
  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: make the .flow_dissect tagger callback return void
  net: dsa: add a generic procedure for the flow dissector
  net: dsa: tag_ar8331: use generic flow dissector procedure
  net: dsa: tag_brcm: use generic flow dissector procedure
  net: dsa: tag_dsa: use the generic flow dissector procedure
  net: dsa: tag_edsa: use the generic flow dissector procedure
  net: dsa: tag_lan9303: use the generic flow dissector procedure
  net: dsa: tag_mtk: use the generic flow dissector procedure
  net: dsa: tag_ocelot: use the generic flow dissector procedure
  net: dsa: tag_qca: use the generic flow dissector procedure
  net: dsa: tag_sja1105: use the generic flow dissector procedure
  net: dsa: tag_rtl4_a: use the generic flow dissector procedure

 drivers/net/dsa/ocelot/felix.c             | 32 ++++++++++++++---
 drivers/net/dsa/ocelot/felix_vsc9959.c     | 13 +++++--
 drivers/net/dsa/ocelot/seville_vsc9953.c   | 13 +++++--
 drivers/net/dsa/sja1105/sja1105_main.c     |  3 ++
 drivers/net/ethernet/mscc/ocelot.c         | 40 ++++------------------
 drivers/net/ethernet/mscc/ocelot_vsc7514.c |  7 ++--
 include/net/dsa.h                          | 11 ++++--
 include/soc/mscc/ocelot.h                  |  4 +--
 net/core/flow_dissector.c                  |  4 +--
 net/dsa/dsa.c                              | 25 ++++++++++++++
 net/dsa/dsa_priv.h                         |  2 ++
 net/dsa/master.c                           | 21 +++++++++++-
 net/dsa/tag_ar9331.c                       |  1 +
 net/dsa/tag_brcm.c                         | 37 ++++++++------------
 net/dsa/tag_dsa.c                          | 10 +-----
 net/dsa/tag_edsa.c                         | 10 +-----
 net/dsa/tag_lan9303.c                      |  1 +
 net/dsa/tag_mtk.c                          | 11 +-----
 net/dsa/tag_ocelot.c                       | 20 +++++++----
 net/dsa/tag_qca.c                          | 11 +-----
 net/dsa/tag_rtl4_a.c                       | 12 +------
 net/dsa/tag_sja1105.c                      | 11 ++++++
 22 files changed, 164 insertions(+), 135 deletions(-)

-- 
2.25.1


^ permalink raw reply	[flat|nested] 24+ messages in thread

end of thread, other threads:[~2020-09-26 18:28 UTC | newest]

Thread overview: 24+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-26 17:30 [PATCH v2 net-next 00/16] Generic adjustment for flow dissector in DSA Vladimir Oltean
2020-09-26 17:30 ` [PATCH v2 net-next 01/16] net: mscc: ocelot: move NPI port configuration to DSA Vladimir Oltean
2020-09-26 17:30 ` [PATCH v2 net-next 02/16] net: dsa: allow drivers to request promiscuous mode on master Vladimir Oltean
2020-09-26 17:47   ` Andrew Lunn
2020-09-26 17:55     ` Vladimir Oltean
2020-09-26 17:30 ` [PATCH v2 net-next 03/16] net: dsa: sja1105: request promiscuous mode for master Vladimir Oltean
2020-09-26 17:30 ` [PATCH v2 net-next 04/16] net: dsa: tag_ocelot: use a short prefix on both ingress and egress Vladimir Oltean
2020-09-26 17:30 ` [PATCH v2 net-next 05/16] net: dsa: make the .flow_dissect tagger callback return void Vladimir Oltean
2020-09-26 17:49   ` Andrew Lunn
2020-09-26 17:30 ` [PATCH v2 net-next 06/16] net: dsa: add a generic procedure for the flow dissector Vladimir Oltean
2020-09-26 18:05   ` Andrew Lunn
2020-09-26 18:18     ` Vladimir Oltean
2020-09-26 18:28       ` Andrew Lunn
2020-09-26 18:13   ` Andrew Lunn
2020-09-26 17:30 ` [PATCH v2 net-next 07/16] net: dsa: tag_ar8331: use generic flow dissector procedure Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 08/16] net: dsa: tag_brcm: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 09/16] net: dsa: tag_dsa: use the " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 10/16] net: dsa: tag_edsa: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 11/16] net: dsa: tag_lan9303: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 12/16] net: dsa: tag_mtk: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 13/16] net: dsa: tag_ocelot: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 14/16] net: dsa: tag_qca: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 15/16] net: dsa: tag_sja1105: " Vladimir Oltean
2020-09-26 17:31 ` [PATCH v2 net-next 16/16] net: dsa: tag_rtl4_a: " Vladimir Oltean

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).