From: Vladimir Oltean <vladimir.oltean@nxp.com>
To: netdev@vger.kernel.org, Jakub Kicinski <kuba@kernel.org>,
"David S. Miller" <davem@davemloft.net>
Cc: Florian Fainelli <f.fainelli@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Vivien Didelot <vivien.didelot@gmail.com>,
Vladimir Oltean <olteanv@gmail.com>
Subject: [PATCH net 0/2] Fix circular dependency between sja1105 and tag_sja1105
Date: Wed, 22 Sep 2021 17:37:24 +0300 [thread overview]
Message-ID: <20210922143726.2431036-1-vladimir.oltean@nxp.com> (raw)
As discussed here:
https://lore.kernel.org/netdev/20210908220834.d7gmtnwrorhharna@skbuf/
DSA tagging protocols cannot use symbols exported by switch drivers.
Eliminate the two instances of that from tag_sja1105, and that allows us
to have a working setup with modules again.
Vladimir Oltean (2):
net: dsa: move sja1110_process_meta_tstamp inside the tagging protocol
driver
net: dsa: sja1105: break dependency between dsa_port_is_sja1105 and
switch driver
drivers/net/dsa/sja1105/sja1105_main.c | 3 +-
drivers/net/dsa/sja1105/sja1105_ptp.c | 45 ++++----------------------
drivers/net/dsa/sja1105/sja1105_ptp.h | 19 -----------
include/linux/dsa/sja1105.h | 40 ++++++++---------------
net/dsa/Kconfig | 1 -
net/dsa/tag_sja1105.c | 43 ++++++++++++++++++++++++
6 files changed, 63 insertions(+), 88 deletions(-)
--
2.25.1
next reply other threads:[~2021-09-22 14:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-22 14:37 Vladimir Oltean [this message]
2021-09-22 14:37 ` [PATCH net 1/2] net: dsa: move sja1110_process_meta_tstamp inside the tagging protocol driver Vladimir Oltean
2021-09-22 14:37 ` [PATCH net 2/2] net: dsa: sja1105: break dependency between dsa_port_is_sja1105 and switch driver Vladimir Oltean
2021-09-23 11:50 ` [PATCH net 0/2] Fix circular dependency between sja1105 and tag_sja1105 patchwork-bot+netdevbpf
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=20210922143726.2431036-1-vladimir.oltean@nxp.com \
--to=vladimir.oltean@nxp.com \
--cc=andrew@lunn.ch \
--cc=davem@davemloft.net \
--cc=f.fainelli@gmail.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=olteanv@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.