All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/6] net: dsa: Make bcm_sf2 utilize b53_common
@ 2016-08-25  1:33 Florian Fainelli
  2016-08-25  1:33 ` [PATCH net-next 1/6] net: dsa: b53: Initialize ds->drv in b53_switch_alloc Florian Fainelli
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Florian Fainelli @ 2016-08-25  1:33 UTC (permalink / raw)
  To: netdev; +Cc: davem, andrew, jon.mason, Florian Fainelli

Hi all,

This patch series makes the bcm_sf2 driver utilize a large number of the core
functions offered by the b53_common driver since the SWITCH_CORE registers are
mostly register compatible with the switches driven by b53_common.

In order to accomplish that, we just override the dsa_driver_ops callbacks that
we need to. There are still integration specific logic from the bcm_sf2 that we
cannot absorb into b53_common because it is just not there, mostly in the area
of link management and power management, but most of the features are within
b53_common now: VLAN, FDB, bridge

Along the process, we also improve support for the BCM58xx SoCs, since those
also have the same version of the switching IP that 7445 has (for which bcm_sf2
was developed).

Florian Fainelli (6):
  net: dsa: b53: Initialize ds->drv in b53_switch_alloc
  net: dsa: b53: Prepare to support 7445 switch
  net: dsa: b53: Define SF2 MIB layout
  net: dsa: b53: Add JOIN_ALL_VLAN support
  net: dsa: bcm_sf2: Utilize core B53 driver when possible
  net: dsa: bcm_sf2: Remove duplicate code

 drivers/net/dsa/Kconfig          |   1 +
 drivers/net/dsa/b53/b53_common.c | 108 ++++-
 drivers/net/dsa/b53/b53_priv.h   |   7 +
 drivers/net/dsa/b53/b53_regs.h   |   3 +
 drivers/net/dsa/bcm_sf2.c        | 932 +++++++--------------------------------
 drivers/net/dsa/bcm_sf2.h        |  82 +---
 drivers/net/dsa/bcm_sf2_regs.h   | 122 -----
 7 files changed, 288 insertions(+), 967 deletions(-)

-- 
2.7.4

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [PATCH net-next-v2 0/6] net: dsa: Make bcm_sf2 utilize b53_common
@ 2016-08-25 16:24 Florian Fainelli
  2016-08-25 16:24 ` [PATCH net-next 1/6] net: dsa: b53: Initialize ds->drv in b53_switch_alloc Florian Fainelli
  0 siblings, 1 reply; 9+ messages in thread
From: Florian Fainelli @ 2016-08-25 16:24 UTC (permalink / raw)
  To: netdev; +Cc: davem, jonas.gorski, andrew, vivien.didelot, Florian Fainelli

Hi all,

This patch series makes the bcm_sf2 driver utilize a large number of the core
functions offered by the b53_common driver since the SWITCH_CORE registers are
mostly register compatible with the switches driven by b53_common.

In order to accomplish that, we just override the dsa_driver_ops callbacks that
we need to. There are still integration specific logic from the bcm_sf2 that we
cannot absorb into b53_common because it is just not there, mostly in the area
of link management and power management, but most of the features are within
b53_common now: VLAN, FDB, bridge

Along the process, we also improve support for the BCM58xx SoCs, since those
also have the same version of the switching IP that 7445 has (for which bcm_sf2
was developed).

Changes in v2:

- rebased against "net: dsa: rename switch operations structure"

Florian Fainelli (6):
  net: dsa: b53: Initialize ds->ops in b53_switch_alloc
  net: dsa: b53: Prepare to support 7445 switch
  net: dsa: b53: Define SF2 MIB layout
  net: dsa: b53: Add JOIN_ALL_VLAN support
  net: dsa: bcm_sf2: Utilize core B53 driver when possible
  net: dsa: bcm_sf2: Remove duplicate code

 drivers/net/dsa/Kconfig          |   1 +
 drivers/net/dsa/b53/b53_common.c | 108 ++++-
 drivers/net/dsa/b53/b53_priv.h   |   7 +
 drivers/net/dsa/b53/b53_regs.h   |   3 +
 drivers/net/dsa/bcm_sf2.c        | 932 +++++++--------------------------------
 drivers/net/dsa/bcm_sf2.h        |  82 +---
 drivers/net/dsa/bcm_sf2_regs.h   | 122 -----
 7 files changed, 288 insertions(+), 967 deletions(-)

-- 
2.7.4

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

end of thread, other threads:[~2016-08-25 16:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-25  1:33 [PATCH net-next 0/6] net: dsa: Make bcm_sf2 utilize b53_common Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 1/6] net: dsa: b53: Initialize ds->drv in b53_switch_alloc Florian Fainelli
2016-08-25  3:14   ` Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 2/6] net: dsa: b53: Prepare to support 7445 switch Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 3/6] net: dsa: b53: Define SF2 MIB layout Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 4/6] net: dsa: b53: Add JOIN_ALL_VLAN support Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 5/6] net: dsa: bcm_sf2: Utilize core B53 driver when possible Florian Fainelli
2016-08-25  1:33 ` [PATCH net-next 6/6] net: dsa: bcm_sf2: Remove duplicate code Florian Fainelli
2016-08-25 16:24 [PATCH net-next-v2 0/6] net: dsa: Make bcm_sf2 utilize b53_common Florian Fainelli
2016-08-25 16:24 ` [PATCH net-next 1/6] net: dsa: b53: Initialize ds->drv in b53_switch_alloc 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.