From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [PATCH RFC 0/6] net: dsa: microchip: Modify KSZ9477 DSA driver to support different tail tag formats Date: Mon, 3 Dec 2018 15:34:51 -0800 Message-ID: <1543880097-7106-1-git-send-email-Tristram.Ha@microchip.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Tristram Ha , , To: Andrew Lunn , Florian Fainelli , Pavel Machek Return-path: Received: from esa2.microchip.iphmx.com ([68.232.149.84]:44883 "EHLO esa2.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725903AbeLCXe6 (ORCPT ); Mon, 3 Dec 2018 18:34:58 -0500 Sender: netdev-owner@vger.kernel.org List-ID: From: Tristram Ha This series of patches is to modify the KSZ9477 DSA driver to support different tail tag formats such that other new KSZ switch drivers can be added without changing the base tail tagging code. Tristram Ha (6): net: dsa: microchip: Prepare PHY for proper advertisement net: dsa: microchip: Add MIB counter reading support net: dsa: microchip: Break ksz_priv.h into two files net: dsa: microchip: Each switch driver has its own tail tagging operations net: dsa: microchip: Update tag_ksz.c to access switch driver net: dsa: microchip: Add switch offload forwarding support drivers/net/dsa/microchip/ksz9477.c | 218 ++++++++++++++++++++++++++------- drivers/net/dsa/microchip/ksz_common.c | 122 +++++++++++++++++- drivers/net/dsa/microchip/ksz_common.h | 4 + drivers/net/dsa/microchip/ksz_priv.h | 94 ++------------ include/linux/dsa/ksz_dsa.h | 99 +++++++++++++++ net/dsa/tag_ksz.c | 46 ++++--- 6 files changed, 426 insertions(+), 157 deletions(-) create mode 100644 include/linux/dsa/ksz_dsa.h -- 1.9.1