net: dsa: Add ability to elect CPU port
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: dsa: Add ability to elect CPU portinclude/ net/ | +16 | 2 replies | |
| 2/2 | net: dsa: b53: Add CPU port election callbackdrivers/ drivers/ drivers/ | +19 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] net: dsa: Add ability to elect CPU port
Hi all,
This patch series solves a problem we have with Broadcom switches whereby multiple CPU ports can be defined, and while they should all be possible choices, it may not be desirable to use, say port 5 instead of port 8 because port 8 is hard wired as the management port in the switch logic, or because it simply offers more features.
Add an election callback into the driver to allow the selection of a particular CPU port when multiple are defined.
Florian Fainelli (2):
net: dsa: Add ability to elect CPU port
net: dsa: b53: Add CPU port election callback
drivers/net/dsa/b53/b53_common.c | 17 +++++++++++++++++ drivers/net/dsa/b53/b53_priv.h | 1 + drivers/net/dsa/bcm_sf2.c | 1 + include/net/dsa.h | 1 + net/dsa/dsa2.c | 19 +++++++++++++++---- 5 files changed, 35 insertions(+), 4 deletions(-)
Signature · 1 line
2.17.1