RFC net: dsa: ksz: generic port mirror function for ksz9477 based switch
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: dsa: ksz9477: port mirror sniffing limited to one portdrivers/ | +34 | 1 reply | |
| 2/3 | net: dsa: ksz: remove duplicate ksz_cfg and ksz_port_cfgdrivers/ drivers/ drivers/ | +13 | 1 reply | |
| 3/3 | net: dsa: ksz: moved ksz9477 port mirror to ksz_common.cdrivers/ drivers/ drivers/ +2 more | +108 | 4 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by.
| Patch | Vladimir Oltean |
|---|---|
| 1/3 | |
| 2/3 | |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC patch net-next 0/3] net: dsa: ksz: generic port mirror function for ksz9477 based switch
This patch series updates the ksz9477 port_mirror_add and port_mirror_del as per the LAN937x patch submission. It allows only one port to be sniffing port. Then moves the function to ksz_common.c file, to have it referenced by LAN937x based switch. And add new header file ksz_reg.h which has common register address between them.
Arun Ramadoss (3):
net: dsa: ksz9477: port mirror sniffing limited to one port
net: dsa: ksz: remove duplicate ksz_cfg and ksz_port_cfg
net: dsa: ksz: moved ksz9477 port mirror to ksz_common.c
drivers/net/dsa/microchip/ksz8795.c | 12 ----- drivers/net/dsa/microchip/ksz9477.c | 56 +------------------ drivers/net/dsa/microchip/ksz9477_reg.h | 15 ------ drivers/net/dsa/microchip/ksz_common.c | 72 +++++++++++++++++++++++++ drivers/net/dsa/microchip/ksz_common.h | 18 +++++++ drivers/net/dsa/microchip/ksz_reg.h | 29 ++++++++++ 6 files changed, 121 insertions(+), 81 deletions(-) create mode 100644 drivers/net/dsa/microchip/ksz_reg.h
base-commit: 03fa8fc93e443e6caa485cc741328a1386c63630
Signature · 1 line
2.33.0