Skip to content

ksz8795 VLAN fixes

Ben Hutchings netdev 1 version Applied

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

Get series with b4
b4 am 20210809225753.GA17207@cephalopod

Versions newest first

  1. v1 Latest7 patches 1 replyApplied 7/7

Patches in v1 All 7 applied

#Subject and filesSizeRepliesApplied
1/7net: dsa: microchip: Fix ksz_read64()drivers/net/dsa/microchip/ksz_common.h+2 -60 repliesApplied
2/7net: dsa: microchip: ksz8795: Fix PVID tag insertiondrivers/net/dsa/microchip/ksz8795.c drivers/net/dsa/microchip/ksz8795_reg.h+23 -70 repliesApplied
3/7net: dsa: microchip: ksz8795: Reject unsupported VLAN configurationdrivers/net/dsa/microchip/ksz8795.c drivers/net/dsa/microchip/ksz_common.h+27 -10 repliesApplied
4/7net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on deletiondrivers/net/dsa/microchip/ksz8795.c+0 -30 repliesApplied
5/7net: dsa: microchip: ksz8795: Use software untagging on CPU portdrivers/net/dsa/microchip/ksz8795.c+8 -10 repliesApplied
6/7net: dsa: microchip: ksz8795: Fix VLAN filteringdrivers/net/dsa/microchip/ksz8795.c+11 -00 repliesApplied
7/7net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table lookupdrivers/net/dsa/microchip/ksz8795.c+4 -40 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net 0/7] ksz8795 VLAN fixes

This series fixes a number of bugs in the ksz8795 driver that affect VLAN filtering, tag insertion, and tag removal.

I've tested these on the KSZ8795CLXD evaluation board, and checked the register usage against the datasheets for the other supported chips.

Ben.

Ben Hutchings (7):
net: dsa: microchip: Fix ksz_read64()
net: dsa: microchip: ksz8795: Fix PVID tag insertion
net: dsa: microchip: ksz8795: Reject unsupported VLAN configuration
net: dsa: microchip: ksz8795: Fix VLAN untagged flag change on
deletion
net: dsa: microchip: ksz8795: Use software untagging on CPU port
net: dsa: microchip: ksz8795: Fix VLAN filtering
net: dsa: microchip: ksz8795: Don't use phy_port_cnt in VLAN table
lookup

 drivers/net/dsa/microchip/ksz8795.c     | 82 ++++++++++++++++++++-----
 drivers/net/dsa/microchip/ksz8795_reg.h |  4 ++
 drivers/net/dsa/microchip/ksz_common.h  |  9 +--
 3 files changed, 74 insertions(+), 21 deletions(-)
Signature · 1 line
2.20.1