All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net-next 00/14] Make DSA tag drivers kernel modules
@ 2019-04-23  0:22 Andrew Lunn
  2019-04-23  0:22 ` [PATCH v2 net-next 01/14] dsa: Add SPDX header to tag drivers Andrew Lunn
                   ` (16 more replies)
  0 siblings, 17 replies; 21+ messages in thread
From: Andrew Lunn @ 2019-04-23  0:22 UTC (permalink / raw)
  To: David Miller; +Cc: netdev, Florian Fainelli, Vivien Didelot, Andrew Lunn

istorically, DSA tag drivers have been compiled into the kernel as
part of the DSA core. With the growing number of tag drivers, it makes
sense to allow this driver code to be compiled as a module, and loaded
on demand.

v2
--
Move name to end of structure, keeping the hot entries at the beginning.
More tag protocol to end of structure to keep hot members at the beginning.
Fix indent of #endif
Rewrite to move list pointer into a new structure
void functions, since there cannot be errors
Fix fall-through comment
Reorder patch for unused symbols to before tag drivers can be modules
tab/space cleanup
Help text wording
NET_DSA_TAG_BRCM_COMMON and NET_DSA_TAG_KZS_COMMON hidden


Andrew Lunn (14):
  dsa: Add SPDX header to tag drivers.
  dsa: Move tagger name into its ops structure
  dsa: Add MODULE_ALIAS to taggers in preparation to become modules
  dsa: Add MODULE_LICENSE to tag drivers
  dsa: Add TAG protocol to tag ops
  dsa: Add boilerplate helper to register DSA tag driver modules
  dsa: Keep link list of tag drivers
  dsa: Register the none tagger ops
  dsa: Rename dsa_resolve_tag_protocol() to _get ready for locking
  dsa: Add stub tag driver put method
  dsa: Make use of the list of tag drivers
  dsa: Cleanup unneeded table and make tag structures static
  dsa: tag_brcm: Avoid unused symbols
  dsa: Allow tag drivers to be built as modules

 include/net/dsa.h     | 110 ++++++++++++++++++++++++----
 net/dsa/Kconfig       |  83 ++++++++++++++++-----
 net/dsa/Makefile      |  19 +++--
 net/dsa/dsa.c         | 165 ++++++++++++++++++++++--------------------
 net/dsa/dsa2.c        |   4 +-
 net/dsa/dsa_priv.h    |  34 +--------
 net/dsa/legacy.c      |   4 +-
 net/dsa/tag_brcm.c    |  41 ++++++++---
 net/dsa/tag_dsa.c     |  15 ++--
 net/dsa/tag_edsa.c    |  15 ++--
 net/dsa/tag_gswip.c   |   9 ++-
 net/dsa/tag_ksz.c     |  29 ++++++--
 net/dsa/tag_lan9303.c |  20 +++--
 net/dsa/tag_mtk.c     |  18 ++---
 net/dsa/tag_qca.c     |  19 +++--
 net/dsa/tag_trailer.c |  15 ++--
 16 files changed, 380 insertions(+), 220 deletions(-)

-- 
2.20.1


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

end of thread, other threads:[~2019-04-24 20:45 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-23  0:22 [PATCH v2 net-next 00/14] Make DSA tag drivers kernel modules Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 01/14] dsa: Add SPDX header to tag drivers Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 02/14] dsa: Move tagger name into its ops structure Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 03/14] dsa: Add MODULE_ALIAS to taggers in preparation to become modules Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 04/14] dsa: Add MODULE_LICENSE to tag drivers Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 05/14] dsa: Add TAG protocol to tag ops Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 06/14] dsa: Add boilerplate helper to register DSA tag driver modules Andrew Lunn
2019-04-23 23:52   ` Jakub Kicinski
2019-04-23  0:22 ` [PATCH v2 net-next 07/14] dsa: Keep link list of tag drivers Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 08/14] dsa: Register the none tagger ops Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 09/14] dsa: Rename dsa_resolve_tag_protocol() to _get ready for locking Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 10/14] dsa: Add stub tag driver put method Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 11/14] dsa: Make use of the list of tag drivers Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 12/14] dsa: Cleanup unneeded table and make tag structures static Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 13/14] dsa: tag_brcm: Avoid unused symbols Andrew Lunn
2019-04-23  0:22 ` [PATCH v2 net-next 14/14] dsa: Allow tag drivers to be built as modules Andrew Lunn
2019-04-23  1:03   ` Randy Dunlap
2019-04-23 23:59 ` [PATCH v2 net-next 00/14] Make DSA tag drivers kernel modules Jakub Kicinski
2019-04-24  0:13 ` David Miller
2019-04-24 12:39   ` Andrew Lunn
2019-04-24 20:45 ` Vivien Didelot

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.