Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423163AbbD2O4X (ORCPT ); Wed, 29 Apr 2015 10:56:23 -0400 Received: from mail-by2on0135.outbound.protection.outlook.com ([207.46.100.135]:24536 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1423001AbbD2O4S (ORCPT ); Wed, 29 Apr 2015 10:56:18 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; From: Madalin Bucur To: , CC: , , , Madalin Bucur Subject: [RFC,v3 00/10] Introduce DPAA Ethernet driver Date: Wed, 29 Apr 2015 17:56:07 +0300 Message-ID: <1430319367-31234-1-git-send-email-madalin.bucur@freescale.com> X-Mailer: git-send-email 1.5.6.5 Reply-To: X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(199003)(189002)(104016003)(62966003)(46102003)(48376002)(49486002)(6806004)(5001960100001)(43066003)(50466002)(86362001)(106466001)(33646002)(77096005)(19580395003)(53806999)(15975445007)(50226001)(105606002)(77156002)(36756003)(47776003)(5001770100001)(229853001)(87936001)(50986999)(85426001)(142933001)(4001430100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB546;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB546; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(3002001);SRVR:BL2PR03MB546;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB546; X-Forefront-PRVS: 05610E64EE X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Apr 2015 14:56:13.4664 (UTC) X-MS-Exchange-CrossTenant-Id: 710a03f5-10f6-4d38-9ff4-a80b81da590d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=710a03f5-10f6-4d38-9ff4-a80b81da590d;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB546 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4537 Lines: 99 This is the 3rd version of a patch series that adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version addresses the feedback received from Joe Perches and Paul Bolle. Together with the driver a managed version of alloc_percpu is provided that simplifies the release of percpu memory. The Freescale DPAA architecture consists in a series of hardware blocks that support the Ethernet connectivity. the Ethernet driver depends upon the Peripheral Access Memory Unit (PAMU), Frame Manager (FMan), Queue Manager (QMan), Buffer Manager (BMan). Drivers for these blocks are currently in the kernel or in review. The current set of RFC patches is meant to provide early access to the codebase and also provide context and aid the review of the latest FMan driver patches submitted by Igal Liberman: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=Igal.Liberman&state=*&q=RFC%2Cv3 These patches rely also on the Q/BMan drivers submitted by Emil Medve: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=Emil+Medve&state=*&q=RFC The complete set of patches will be available soon in this public git repository under the ldup_public_git_20150429 tag: http://git.freescale.com/git/cgit.cgi/ppc/upstream/linux.git/ Due to device tree binding changes, a u-boot patch is also required to be applied to enable this set of drivers. The u-boot patch is available in this public git under the ldup_public_git_20150410 tag: http://git.freescale.com/git/cgit.cgi/ppc/upstream/u-boot.git/ The actual patch is 052f94430230e7ff388e6ae7daec45ba4f2f6b2f powerpc/mpc85xx: align to the new FMan compatibles http://git.freescale.com/git/cgit.cgi/ppc/upstream/u-boot.git/commit/?id=052f94430230e7ff388e6ae7daec45ba4f2f6b2f The SDK documentation and source code, documentation for the DPAA hardware are available at the company website. Madalin Bucur (10): devres: add devm_alloc_percpu() dpaa_eth: add support for DPAA Ethernet dpaa_eth: add configurable bpool thresholds dpaa_eth: add support for S/G frames dpaa_eth: add driver's Tx queue selection mechanism dpaa_eth: add ethtool functionality dpaa_eth: add sysfs exports dpaa_eth: add debugfs counters dpaa_eth: add debugfs entries dpaa_eth: add trace points Documentation/driver-model/devres.txt | 4 + drivers/base/devres.c | 64 + drivers/net/ethernet/freescale/Kconfig | 2 + drivers/net/ethernet/freescale/Makefile | 1 + drivers/net/ethernet/freescale/dpaa/Kconfig | 81 ++ drivers/net/ethernet/freescale/dpaa/Makefile | 17 + drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.c | 273 ++++ drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.h | 43 + drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 875 +++++++++++++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 495 +++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 1379 ++++++++++++++++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 130 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth_sg.c | 726 +++++++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c | 168 +++ .../net/ethernet/freescale/dpaa/dpaa_eth_trace.h | 141 ++ drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 247 ++++ include/linux/device.h | 19 + 17 files changed, 4665 insertions(+) create mode 100644 drivers/net/ethernet/freescale/dpaa/Kconfig create mode 100644 drivers/net/ethernet/freescale/dpaa/Makefile create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.c create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_debugfs.h create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth_common.c create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth_common.h create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sg.c create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_eth_trace.h create mode 100644 drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/