All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4 net-next] net: phy: add Generic Netlink switch configuration API
@ 2013-10-22 18:23 Florian Fainelli
  2013-10-22 18:23 ` [PATCH 1/4 net-next] net: phy: add Generic Netlink Ethernet " Florian Fainelli
                   ` (3 more replies)
  0 siblings, 4 replies; 41+ messages in thread
From: Florian Fainelli @ 2013-10-22 18:23 UTC (permalink / raw)
  To: netdev; +Cc: davem, s.hauer, nbd, blogic, jogo, gary, Florian Fainelli

Hi all,

This patchset aims at providing Linux with a simple and extensible Ethernet
switch configuration API. It comes with two drivers, one for Broadcom BCM53xx
aka Roboswitch and a simulation/fake one to help developpers.

These patches have been used in OpenWrt since 2008 to drive various
Ethernet switches commonly found in small home and office wireless routers.

The documentation part of the patch explains why this solution was developped
in contrast to using DSA, user-space or something else deeply in details, but
to summarize:

- DSA is Marvell centric and messes up with the actual Ethernet frames, its
  control path is scattered around bridge, ethtool and iproute...

- swconfig is focused on providing a standard control path for Ethernet
  switches out there from $vendor and is extensible without core kernel
  changes and user-space changes too thanks to its netlink interface

Florian Fainelli (3):
  net: phy: add Generic Netlink Ethernet switch configuration API
  tools: add Generic Netlink switch configuration tool
  net: phy: add fake switch driver

Jonas Gorski (1):
  net: phy: add Broadcom B53 switch driver

 Documentation/networking/swconfig.txt |  162 ++++
 MAINTAINERS                           |   11 +
 drivers/net/phy/Kconfig               |   16 +
 drivers/net/phy/Makefile              |    3 +
 drivers/net/phy/b53/Kconfig           |   25 +
 drivers/net/phy/b53/Makefile          |    8 +
 drivers/net/phy/b53/b53_common.c      | 1336 +++++++++++++++++++++++++++++++++
 drivers/net/phy/b53/b53_mdio.c        |  425 +++++++++++
 drivers/net/phy/b53/b53_phy_fixup.c   |   55 ++
 drivers/net/phy/b53/b53_priv.h        |  282 +++++++
 drivers/net/phy/b53/b53_regs.h        |  311 ++++++++
 drivers/net/phy/b53/b53_spi.c         |  329 ++++++++
 drivers/net/phy/swconfig-hwsim.c      |  230 ++++++
 drivers/net/phy/swconfig.c            | 1078 ++++++++++++++++++++++++++
 include/linux/platform_data/b53.h     |   32 +
 include/linux/swconfig.h              |  180 +++++
 include/uapi/linux/Kbuild             |    1 +
 include/uapi/linux/swconfig.h         |  103 +++
 tools/Makefile                        |   10 +-
 tools/swconfig/.gitignore             |    2 +
 tools/swconfig/Makefile               |   15 +
 tools/swconfig/cli.c                  |  328 ++++++++
 tools/swconfig/swlib.c                |  786 +++++++++++++++++++
 tools/swconfig/swlib.h                |  244 ++++++
 24 files changed, 5971 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/networking/swconfig.txt
 create mode 100644 drivers/net/phy/b53/Kconfig
 create mode 100644 drivers/net/phy/b53/Makefile
 create mode 100644 drivers/net/phy/b53/b53_common.c
 create mode 100644 drivers/net/phy/b53/b53_mdio.c
 create mode 100644 drivers/net/phy/b53/b53_phy_fixup.c
 create mode 100644 drivers/net/phy/b53/b53_priv.h
 create mode 100644 drivers/net/phy/b53/b53_regs.h
 create mode 100644 drivers/net/phy/b53/b53_spi.c
 create mode 100644 drivers/net/phy/swconfig-hwsim.c
 create mode 100644 drivers/net/phy/swconfig.c
 create mode 100644 include/linux/platform_data/b53.h
 create mode 100644 include/linux/swconfig.h
 create mode 100644 include/uapi/linux/swconfig.h
 create mode 100644 tools/swconfig/.gitignore
 create mode 100644 tools/swconfig/Makefile
 create mode 100644 tools/swconfig/cli.c
 create mode 100644 tools/swconfig/swlib.c
 create mode 100644 tools/swconfig/swlib.h

-- 
1.8.3.2

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

end of thread, other threads:[~2013-12-07  1:46 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-22 18:23 [PATCH 0/4 net-next] net: phy: add Generic Netlink switch configuration API Florian Fainelli
2013-10-22 18:23 ` [PATCH 1/4 net-next] net: phy: add Generic Netlink Ethernet " Florian Fainelli
2013-10-22 19:22   ` Dan Williams
2013-10-22 19:32     ` Florian Fainelli
2013-10-22 19:47       ` David Miller
     [not found]         ` <1382477150.19269.69.camel@dcbw.foobar.com>
2013-10-22 21:22           ` David Miller
2013-10-22 19:46     ` David Miller
2013-10-22 19:53   ` John Fastabend
2013-10-22 19:59     ` Florian Fainelli
2013-10-22 20:25       ` Neil Horman
2013-10-22 22:09         ` Florian Fainelli
2013-10-23 11:34           ` Neil Horman
2013-10-23 11:47           ` Jamal Hadi Salim
2013-10-23 12:04             ` Felix Fietkau
2013-10-23 12:53               ` Jamal Hadi Salim
2013-10-23 13:31                 ` Felix Fietkau
2013-10-23 14:09                   ` Jamal Hadi Salim
2013-10-23 14:32                     ` Felix Fietkau
2013-10-25 11:43                       ` Jamal Hadi Salim
2013-10-25 13:01                         ` Felix Fietkau
2013-10-27 17:19                           ` Jamal Hadi Salim
2013-10-27 18:14                             ` Florian Fainelli
2013-10-28 22:29                               ` Jamal Hadi Salim
2013-10-27 19:51                             ` Felix Fietkau
2013-10-28 22:53                               ` Jamal Hadi Salim
2013-10-29  9:34                                 ` Felix Fietkau
2013-10-30 11:45                                   ` Jamal Hadi Salim
2013-10-30 12:53                                     ` Felix Fietkau
2013-10-30 17:27                                 ` Lennert Buytenhek
2013-10-30 17:34                                   ` Lennert Buytenhek
2013-10-30 17:56                                     ` John Fastabend
2013-10-30 17:56                                     ` John Fastabend
2013-10-30 19:47                                   ` Felix Fietkau
2013-12-07  1:45                                     ` Florian Fainelli
2013-10-29 23:12                 ` Maxime Bizon
2013-10-30 11:50                   ` Jamal Hadi Salim
2013-10-30 11:58                     ` Felix Fietkau
2013-10-30 14:28                     ` Maxime Bizon
2013-10-22 18:23 ` [PATCH 2/4 net-next] tools: add Generic Netlink switch configuration tool Florian Fainelli
2013-10-22 18:23 ` [PATCH 3/4 net-next] net: phy: add Broadcom B53 switch driver Florian Fainelli
2013-10-22 18:23 ` [PATCH 4/4 net-next] net: phy: add fake " Florian Fainelli

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.