Skip to content

Reduce coupling between DSA and Broadcom SYSTEMPORT driver

Vladimir Oltean netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest4 patches 0 repliesApplied 4/4

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4net: dsa: move the Broadcom tag information in a separate header fileMAINTAINERS drivers/net/ethernet/broadcom/bcmsysport.c include/linux/dsa/brcm.h +2 more+19 -60 repliesApplied
2/4net: dsa: export dsa_slave_dev_checkinclude/net/dsa.h net/dsa/dsa_priv.h net/dsa/slave.c+7 -10 repliesApplied
3/4net: systemport: use standard netdevice notifier to detect DSA presencedrivers/net/ethernet/broadcom/bcmsysport.c drivers/net/ethernet/broadcom/bcmsysport.h+37 -460 repliesApplied
4/4net: dsa: remove the DSA specific notifiersinclude/net/dsa.h net/dsa/dsa.c net/dsa/slave.c+0 -810 repliesApplied

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchFlorian Fainelli
1/4A-b
2/4A-b
3/4T-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/4] Reduce coupling between DSA and Broadcom SYSTEMPORT driver

From: Vladimir Oltean <[email protected]>

Upon a quick inspection, it seems that there is some code in the generic DSA layer that is somehow specific to the Broadcom SYSTEMPORT driver. The challenge there is that the hardware integration is very tight between the switch and the DSA master interface. However this does not mean that the drivers must also be as integrated as the hardware is. We can avoid creating a DSA notifier just for the Broadcom SYSTEMPORT, and we can move some Broadcom-specific queue mapping helpers outside of the common include/net/dsa.h.

Vladimir Oltean (4):
net: dsa: move the Broadcom tag information in a separate header file
net: dsa: export dsa_slave_dev_check
net: systemport: use standard netdevice notifier to detect DSA
presence
net: dsa: remove the DSA specific notifiers

 MAINTAINERS                                |  1 +
 drivers/net/ethernet/broadcom/bcmsysport.c | 82 ++++++++++------------
 drivers/net/ethernet/broadcom/bcmsysport.h |  2 +-
 include/linux/dsa/brcm.h                   | 16 +++++
 include/net/dsa.h                          | 48 +------------
 net/dsa/dsa.c                              | 22 ------
 net/dsa/dsa_priv.h                         |  1 -
 net/dsa/slave.c                            | 18 +----
 net/dsa/tag_brcm.c                         |  1 +
 9 files changed, 60 insertions(+), 131 deletions(-)
 create mode 100644 include/linux/dsa/brcm.h
Signature · 1 line
2.25.1