From: Vladimir Oltean <olteanv@gmail.com>
To: andrew@lunn.ch, f.fainelli@gmail.com, vivien.didelot@gmail.com
Cc: davem@davemloft.net, kuba@kernel.org, netdev@vger.kernel.org
Subject: [PATCH net-next 0/4] DSA: promisc on master, generic flow dissector code
Date: Mon, 11 May 2020 23:20:42 +0300 [thread overview]
Message-ID: <20200511202046.20515-1-olteanv@gmail.com> (raw)
From: Vladimir Oltean <vladimir.oltean@nxp.com>
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(-)
--
2.17.1
next reply other threads:[~2020-05-11 20:21 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-11 20:20 Vladimir Oltean [this message]
2020-05-11 20:20 ` [PATCH net-next 1/4] net: dsa: allow drivers to request promiscuous mode on master Vladimir Oltean
2020-05-11 23:19 ` Florian Fainelli
2020-05-11 20:20 ` [PATCH net-next 2/4] net: dsa: sja1105: request promiscuous mode for master Vladimir Oltean
2020-05-11 23:19 ` Florian Fainelli
2020-05-11 20:20 ` [PATCH net-next 3/4] net: dsa: tag_ocelot: use a short prefix on both ingress and egress Vladimir Oltean
2020-05-11 22:40 ` Jakub Kicinski
2020-05-11 22:44 ` Vladimir Oltean
2020-05-11 23:11 ` David Miller
2020-05-11 23:19 ` Vladimir Oltean
2020-05-11 23:22 ` Florian Fainelli
2020-05-11 20:20 ` [PATCH net-next 4/4] net: dsa: implement and use a generic procedure for the flow dissector Vladimir Oltean
2020-05-11 23:15 ` Florian Fainelli
2020-05-12 1:11 ` Vladimir Oltean
2020-05-11 23:28 ` [PATCH net-next 0/4] DSA: promisc on master, generic flow dissector code Florian Fainelli
2020-05-11 23:52 ` Vladimir Oltean
2020-05-12 0:03 ` Florian Fainelli
2020-05-14 15:27 ` Vladimir Oltean
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200511202046.20515-1-olteanv@gmail.com \
--to=olteanv@gmail.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=vivien.didelot@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).