[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200926173108.1230014-1-vladimir.oltean@nxp.com>
Date: Sat, 26 Sep 2020 20:30:52 +0300
From: Vladimir Oltean <vladimir.oltean@....com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: andrew@...n.ch, f.fainelli@...il.com, vivien.didelot@...il.com,
kuba@...nel.org
Subject: [PATCH v2 net-next 00/16] Generic adjustment for flow dissector in DSA
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
Powered by blists - more mailing lists