Merge branch 'lan966x-extend-switchdev-and-mdb-support'
Horatiu Vultur says: ==================== net: lan966x: Extend switchdev with mdb support This patch series extends lan966x with mdb support by implementing the switchdev callbacks: SWITCHDEV_OBJ_ID_PORT_MDB and SWITCHDEV_OBJ_ID_HOST_MDB. It adds support for both ipv4/ipv6 entries and l2 entries. v2->v3: - rename PGID_FIRST and PGID_LAST to PGID_GP_START and PGID_GP_END - don't forget and relearn an entry for the CPU if there are more references to the cpu. v1->v2: - rename lan966x_mac_learn_impl to __lan966x_mac_learn - rename lan966x_mac_cpu_copy to lan966x_mac_ip_learn - fix grammar and typos in comments and commit messages - add reference counter for entries that copy frames to CPU ==================== Reviewed-by:Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
Showing
- drivers/net/ethernet/microchip/lan966x/Makefile 1 addition, 1 deletiondrivers/net/ethernet/microchip/lan966x/Makefile
- drivers/net/ethernet/microchip/lan966x/lan966x_mac.c 31 additions, 5 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_mac.c
- drivers/net/ethernet/microchip/lan966x/lan966x_main.c 2 additions, 0 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_main.c
- drivers/net/ethernet/microchip/lan966x/lan966x_main.h 24 additions, 2 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_main.h
- drivers/net/ethernet/microchip/lan966x/lan966x_mdb.c 506 additions, 0 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_mdb.c
- drivers/net/ethernet/microchip/lan966x/lan966x_regs.h 6 additions, 0 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_regs.h
- drivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c 8 additions, 0 deletionsdrivers/net/ethernet/microchip/lan966x/lan966x_switchdev.c
- drivers/net/ethernet/microchip/lan966x/lan966x_vlan.c 6 additions, 1 deletiondrivers/net/ethernet/microchip/lan966x/lan966x_vlan.c
Please register or sign in to comment