Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965257AbbGVQRU (ORCPT ); Wed, 22 Jul 2015 12:17:20 -0400 Received: from mail-bl2on0115.outbound.protection.outlook.com ([65.55.169.115]:20261 "EHLO na01-bl2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S934506AbbGVQRS (ORCPT ); Wed, 22 Jul 2015 12:17:18 -0400 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; From: Madalin Bucur To: CC: , , , , , , , , Madalin Bucur Subject: [PATCH 00/10] dpaa_eth: Add the Freescale DPAA Ethernet driver Date: Wed, 22 Jul 2015 19:15:56 +0300 Message-ID: <1437581756-17371-1-git-send-email-madalin.bucur@freescale.com> X-Mailer: git-send-email 1.5.6.5 Reply-To: X-EOPAttributedMessage: 0 X-Microsoft-Exchange-Diagnostics: 1;BN1BFFO11FD023;1:ZCzl3vdFXPR16XRvuWcaQtarBpofTac5ucemnhhfOPycfkJPKTkDS9/zrovHKRPwgntKp9NZXpR9qsbKJYHZvmLJ7OzuS+9mGcCuX7KeYxZubmahPFCeSl828WWhchlF338M2WEF8zsJTPLW0f3utv8jpN2NgM3DEQau7P5t0qusAD5XxjXwaUFgbP/bJpabr0fY27LXlFJA+NZQoAWML/z192BnWAsp9dXdxR1nqYJwZlX8OH26WmLxZ+F/cwfXLjpVW6mhMcUq6Mb0NAjfva1cN5di9LpCaKjRmTmOg0Cprw2fbgKn/app6DKbiDG866FzlzD53/LR1z8Pt5Hd7jnqRxkM9zBQy5MoYMHswag5rKteh052xgUkCWMRClhVU5sPGk48sMG2o+Jn2bi+3fvd+eHeaU5BaZWBuQvvVOpNXNPjTn66vhjzbVFI2MPj X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(2980300002)(339900001)(42274003)(199003)(189002)(62966003)(104016003)(6806004)(107886002)(2351001)(87936001)(77156002)(5001960100002)(49486002)(47776003)(110136002)(33646002)(36756003)(5003940100001)(189998001)(15975445007)(229853001)(85426001)(77096005)(46102003)(53806999)(50466002)(106466001)(105606002)(48376002)(50226001)(50986999)(19580395003)(43066003)(86362001)(4001430100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB375;H:az84smr01.freescale.net;FPR:;SPF:Fail;MLV:sfv;A:1;MX:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB375;2:xq3I789lAeACsgZOY/32cTC9YsTOqqBE4hqdAqnrJ8j2MI7jXHUDUlYXPYdVlGPA5RC/GCBS2iBQpIPQuRHE+wJAKQErGZ+PVFbS61PkvZ3c3l+DDB9x3icSvTefS3zbxBLrmI/zyJxT33OV7Z68EhG+H8PJ6ZVfOUIumKKkl1Q=;3:xK/opOymjty1wD6tvxdL6w8QBNpoAaHAsoR6twg2O0vpWOVRWoBATohXmpwhcnh7aaEtYuWG+7Ggm/lWSahUZ1QJAjmcw9dzMS4T/tzUED4hDsItLS/EwL1M7/7Dig6UabzOCUP6y1YSCNMu8cD0wQdaXaX1a/g2yXKl0R795eqoh40qU8FzTHfZcbQD6WWDYHfvqrAkXtDK2jhj6ODHvsdC3FKJXCsWQ/rN8DrQYQI=;25:lLqYL2HKrlGaUPXpyaKQV+617SHYiANQrpvIIwe+F8HGhixiTg5/qGBcaKRzKWpXAu59AKs/thY2qrDCocM3REbz7HpLP3pgB9YG/FzxZsrrv9RBaoF87+022l8bGW6bMCkYOV+kMdGsIXM0RF26aqlqCnp1NE2OuxPes/13w3cqEcfZcDXrZxDUNnjGQkGJYjf2uVU2pVwHBozrLqcqpPxIUQSwvyuqkLowAuXm9WvRrGlLJUrK0cZd6XNTJg5AcI1AA6TNuF2AcwZR3XtxWg== X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB375; X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB375;20:irt2VAxgHTSlGvCtQLvthUnTqQMBaR9eo+KbwsuNkdYvp8NZZsdLoW7umraFYnhjdNbZjmW1CRfCi/SpqtVdSeHSHhUZeZzqh+srugWLB7iajy0jPof/oLO+dP5NplMDroBuimDc3458rHsMNLKi2q4mdl4XfXNXSn+GdrOCLJhb6sWEI3QDEbLUqIbv5QK6GmXokbEO9OJnxHV9WMBCIdfHbwY9hMFIO5jAuBkiGkrc+8iZsAQFdrwMQ23boQvJVU3EdyR2+mOXyxpUM2qTkVaABwT6FwY/fI4jnhjqIWatzb7B0T4dZjxqftSeBZR97GY+lzfCE7+54Ns5pWd7+aAJezN8jcJ0xQv7j2micAY=;4:SPMONkecwjnAwNhDSE5N+YRgd33tMD8QMCDSVt2QavK1L6WbO8MxP7XsADjASd9fASgv4FS4sWz5k/a8JsICjCZjiPgejKhmmrLT2gaPWrRhsqDCvWkUnxNkLGA+GN4eawxb1L70R/Hv426oFoNJmpWiD4VL/d2DPV3N9FxhKuG2fh1sLSob3+RdLTPkFIMll5VHEAosh2HW7gCKyijX0VAVKqXfnGSUk2wNdaVukOk/pGeDa+I0QYYcEvPkvMnPUh+ZtPxsCzYXwEPrlnAlKB7+ertxModcu7bMWnZB0sQ= BLUPR03MB375: X-MS-Exchange-Organization-RulesExecuted 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:BLUPR03MB375;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB375; X-Forefront-PRVS: 0645BEB7AA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR03MB375;23:u2rioVGRDDVTHd4YFQTvPFZtH63GI/U3zAHMtoP90v?= =?us-ascii?Q?22w8iMkWoq850ThvIx5Q6sVEeluNULUbnypsIOVvNQI3g7xVsZSc8gWm8tD1?= =?us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E6Tcg2T6NHmDqDdtlTw6iVKNvfF?= =?us-ascii?Q?Q=3D?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB375;5:A9z+qynrWWbSr+2nKQLanlpXxgeqbWcthfWWWT1IKJq4n00vHPpVp7XuH75b5Z6zWaDwcOiFMuWrLlNQcoGzai5xjR6qcFOcKNd3z9GS1QEI6IgukYBqvtsoK+dTWPEwaegr1hvZsV3lvAepl/rd4g==;24:OC67kAhtXnRTVeUSMh1Jrj/AgbcUI2csWmJvwcGhApNDJyh4+YcBclPKC/xSQz/ZsdCGpIyrHYV+8q3dqjKg8x7yUYrUOFI3Y6aLGtscVr4=;20:kgbxib87ieL5i4bLz4/+TaENE6Ie9VwxSvfe3epxY/zBd22WVh/+0s7SgLt2kLzCGKxloLJs2A5plI/Mtw2vTQ== X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 22 Jul 2015 16:17:13.9699 (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.158.2];Helo=[az84smr01.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR03MB375 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3777 Lines: 80 This patch series adds the Ethernet driver for the Freescale QorIQ Data Path Acceleration Architecture (DPAA). This version includes changes following the feedback received on previous RFC versions from Eric Dumazet, Bob Cochran, Joe Perches, Paul Bolle, Joakim Tjernlund, Scott Wood - thank you for your support. 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 following drivers that are currently in the Linux kernel or in review: - Peripheral Access Memory Unit (PAMU) drivers/iommu/fsl_* - Frame Manager (FMan) drivers/net/ethernet/freescale/fman - Queue Manager (QMan), Buffer Manager (BMan) drivers/soc/fsl/qbman The latest FMan driver patches were submitted by Igal Liberman: https://patchwork.ozlabs.org/project/netdev/list/?submitter=64715&state=*&q=[v3, The latest Q/BMan drivers were submitted by Roy Pledge: https://patchwork.ozlabs.org/project/linuxppc-dev/list/?submitter=66331&state=*&q=11 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 | 873 +++++++++++++ drivers/net/ethernet/freescale/dpaa/dpaa_eth.h | 496 +++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_common.c | 1367 ++++++++++++++++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_common.h | 130 ++ drivers/net/ethernet/freescale/dpaa/dpaa_eth_sg.c | 704 ++++++++++ .../net/ethernet/freescale/dpaa/dpaa_eth_sysfs.c | 167 +++ .../net/ethernet/freescale/dpaa/dpaa_eth_trace.h | 141 ++ drivers/net/ethernet/freescale/dpaa/dpaa_ethtool.c | 230 ++++ include/linux/device.h | 19 + 17 files changed, 4612 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/