Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753210AbcLFKJ2 (ORCPT ); Tue, 6 Dec 2016 05:09:28 -0500 Received: from mail-cys01nam02on0041.outbound.protection.outlook.com ([104.47.37.41]:55120 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752640AbcLFKJW (ORCPT ); Tue, 6 Dec 2016 05:09:22 -0500 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=fail action=none header.from=nxp.com; X-IncomingTopHeaderMarker: OriginalChecksum:;UpperCasedChecksum:;SizeAsReceived:719;Count:8 From: Ioana Radulescu To: CC: , , , , , , , , Subject: [PATCH 0/8] staging: Introduce Freescale DPAA2 Ethernet driver Date: Tue, 6 Dec 2016 03:34:34 -0600 Message-ID: <20161206093442.11362-1-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 X-IncomingHeaderCount: 8 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131254904837382766;(91ab9b29-cfa4-454e-5278-08d120cd25b8);() X-Forefront-Antispam-Report: CIP:192.88.168.50;IPV:NLI;CTRY:US;EFV:NLI;SFV:NSPM;SFS:(10009020)(6009001)(7916002)(2980300002)(1110001)(1109001)(339900001)(336004)(189002)(199003)(7846002)(50986999)(50466002)(39410400001)(39060400001)(97736004)(39400400001)(7416002)(2906002)(77096006)(68736007)(5660300001)(39840400001)(104016004)(36756003)(6916009)(39380400001)(8676002)(81156014)(39860400001)(356003)(39450400002)(8666005)(85426001)(81166006)(5003940100001)(4326007)(106466001)(33646002)(86362001)(105606002)(92566002)(6666003)(47776003)(50226002)(305945005)(48376002)(626004)(189998001)(38730400001)(39850400001)(1076002)(8936002)(110136003)(2351001)(7059030);DIR:OUT;SFP:1101;SCL:1;SRVR:DM2PR0301MB0750;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;PTR:InfoDomainNonexistent;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11FD039;1:Q9POs7E8Ah70YlCEsqN4aED2JfHG+PuHfqe3nKjzxPU8bl67rgFdjCO9wKwSiJZ3iq4rlm3wVHttSG+QMfjcaYAhItyhmEfB8ZX2lebRYfI5YLLM9uk0YGcJglX/gTwgk61N6DPksS9HCdDnWd6l09zIjjagqmNwA4N+Wqcuj4xHratoRULKa5w1j6MhyZc78rljtpj341oO50uMLveUCj1IMyhS7QxFikYylV1u8l6sfiX308z28P9m0UfdlUjFK9yOpHTISVem3hQBiY9mQH2QRMePKQSd6AYIjvDQ5B/MeHwB77Ui/CY3MDDuOWADGIbMSWx0sZB1d93P7cCmWFngMpoX7NGiTSy7sPnt+QE0Zx5kyuo6LtWFOmGbeIFkNjkyMjgeFf/4s0PibwTwv7j0xOWvux/8JAITOXrVE8OfdzXx5iTGlUdUVb2PlAvvQZq7lS5zzAkdBXRbVqNb0xy4w4CMqd3/ttJi37bwxUTsoHmIbyKVFTni7EpiIuJwQ7EhBFkqPlX8TKHn5aY2zboktz3IeoOoP1Q/bIPpskOhsf/wpXHZQEurjZWHesv6n+WcjtyvCRwKSFj9C7h7At6d9Q7RKVnP/mxnXMZXaZvJjW2c/Ua5sYKAauxr97Sp MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0750;2:OsQJ4kI9vjPuOmRkVzyvwVuqJyJjjGYbeX1ah/zpKM+CplWHuUN3ZftokkGqy0m6O4/bu2tPyMu0mnRbqOdrD2KPpPXeS0LZgBLhy2OFb9ltL3f6nUsRTTFMjqqlJw/j8Gh1k9OdUs3qr/2npH3xNMUCUMhkTaannDuazqZQ/ws=;3:mbBJDk08EPcWGVj4pCdTsMhhEQAXL7XtUQHaUfiLbkYgQuK8m7Ggt/vgtgAN+m4Tu9cMYmWVq34Vzftn2cgaRlepEh4RNOA9Gk9IL1y+C9454W+UNsXN0OZb9j6/QnUhVSo37ns5yRN0dvrBgC97zlhifoTYgfaIue+zhmz1lNAtMBxpzn3PijopNMyBGGgW9KA6odjGWnr1ybiqnWfCZGGHQvBulIPCJQSTNEKVPUTLtSpv6Elo5s9n1gZ7pLy+YOWDswNd8xTCw7ZTbNYUQw==;25:5oyW723mHuHTmLA19s1sykYpI/GGr+7XX3XVNqqts/rY9irl84dMRLyjSyAUbx1akmulbqDtMXbwyAawn1/d9ZleAUpAUSqFl3DtlbvCsHgwmi1LeIzKIV5t29HyU0OzApQ37VUzBffZlTVxydtb4mFY9Oh/IF1sMsmZIMbBrvvSMsGi96cvus7YEBpEG44nXQHRdOFWVXn4SuOARUfrh9Pn5ab2+WUSHQgJZ+YipqxpKqKNLrjhtRFz4XFcOo8QrLGKpMbixLhGGB/j0q+1vwVASWxJk1iducWPuSqZwrEMtrgPxUCXyGLD22UcYFL+f2vn0+N7M03vfc2rc19bEyaBHKq21e0Uo/+F2DN0gaGMi05a3tQkPkGmHIv2mY2AFmz+ag3G8Tkd7H4zJfWgs7TrJXFFiFwXwBm3YWuNIdrW3DAPKnNu7enmz768EW93ka2nVqmaMsiqH/6NbhjvJA== X-MS-Office365-Filtering-Correlation-Id: d5bf6b5d-0052-46ab-b617-08d41dbb1c3d X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001);SRVR:DM2PR0301MB0750; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0750;31:zn7CCVVu67fQpIEIWQHd/Ad//ru1YbpgL0shnC9bS7fI/7ZSdhEwMHGB02fWH5W7MyOz9GhQXzHO5w0j1kPMkCedm57+LcGnQAQUiH4R8x7Rf16HJpQSoDuzqas24SePFvX/84X8GAecUYFK7G9PmByqI4rdIOTQcxCi9FeptHI+7ZMn44MdSzyQZPyatphbLR5FjNgB4Pcjlhe0V3BRxegV+IdQWZ1GeAWFYfEmUiwEk8B3W/VLJNEiI7LUzSPK9v4QMUI6Sv5vxpiAye1lwQ== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095060)(601004)(2401047)(8121501046)(5005006)(13024025)(13023025)(13015025)(13017025)(13018025)(10201501046)(3002001)(6055026)(6096035)(20161123556025)(20161123563025)(20161123561025)(20161123559025)(20161123565025);SRVR:DM2PR0301MB0750;BCL:0;PCL:0;RULEID:(400006);SRVR:DM2PR0301MB0750; X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0750;4:5uvucHVqLMOyDPACF84Jm72OkTqtnYqm41wUfH6HFcS01uA1TM3zrzboB/G1UWtsvf8yZhOVA8vunQROAfjXE14AbIDSB/ZyxKyaJ2iC0Z0imoPJeKjED7gWc3Ek9+mk5niHlJjhUWTRLqSO+LBiZ2dYwN/MZd1vIrFCZ+3tLHisnU8EQsSOyilC5YQ3PcX42kKTBap5TQIGa5BSuSYB+b15TVm8GVs2XJEMH1GxcwFbvsrNXf7XAeCEed81tLi2w1swfXH9cOerUuzob0vFQ/0an8CpJT7Sw9ZbtymrGFBtb4TZrAc1ONkzIMTaN+M7aYj3R3KUAUziYf7P2BAtFk9w1vqr0DO5bvGQft1b3ApLxR8I381ftBS3KuGMoj09hrGwqOYc/VHGN5iq9raU05yMMUrMV/12mXqgA12iISHyQH8VbsFkeMzlwAw6FyoGnDDHNWJOebOp9pfJY4rzJY/FNPqAMHeddPmToSgSADQ2VRmqEQaQIyPmApybaOUjB6pZlu5mvfnTK49gAI6Zzi8fxb/uwpXGMsjkdBtnDLZ1iRajtRLeKzlXBNv8CeMhv4w/nZ5UMKEXEjGGM6KMEZ2boWr8VKmvdfbjIIB3JTe3nv9AGXhBWh+L1nGHzuOhvG0FceX7dR5imurqu9I33XoE07LFm82v3jHj8fzYqPzqxt+h6Oowh0qaJPMoURFTATSU+FuYFcAsTIEQAICy6g== X-Forefront-PRVS: 01480965DA X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DM2PR0301MB0750;23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86Lqu2K6aITTY4Rb7LPV6veFpHC0ZvAYM7Ah9KONxILD3yOjQzn;24:iBtacWZ/wLfh8JdlyqhD2wyrLgGO1yKCiC8odiHxBOqWrtVhtiKwp+GtREJEsc+jRRTfGDNiat96O1wWQgmuK+q+QX9DwkSBr9Ox/4C+7Vw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;DM2PR0301MB0750;7:1aD4NlKbhYnKDHu7xlxXp3PgHWRQOe0dba50KBxc8DmhlXpIWJQPB6S4NaMb39zI9ZAz9lMWW1UHO1zo44UnD3DUERfBkJJIgr8FgUNDdqOg/bm63RhSUjunlJCy12Ef8Eqb5oC5D0NoShqFPKGANhQAxgRbJLaX/VHpPYvoF/yciFqBDPuApUudzqNam/R+WJAAtbkI+n6y78T8fURr9sLwAJeal02qCNddAVHf9UCkNnW3Nx5DZwC1jvy65+XrGHNhu8oKhwfJav7Ufp506jrH2kPV8mYwhDWbfRCcQcrHPPvUAZZOncAPFeUd1YbgnGPq0TG3ltvC70lEu+fay2ZAnWFRUZMZjoX9Vcs0csY= X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Dec 2016 09:34:43.4262 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e;Ip=[192.88.168.50];Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0301MB0750 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3240 Lines: 63 This patchset introduces the Ethernet driver for Freescale / NXP SoCs with DPAA2 (DataPath Acceleration Architecture v2). The driver manages network objects discovered on the fsl-mc bus. A description of the driver can be found in the associated README file. The patchset consists of: * A set of libraries containing APIs for configuring and controlling Management Complex (MC) networking objects * The DPAA2 Ethernet basic driver * A couple of patches adding ethtool and debug support This series depends on the following patches: [PATCH v3 0/9] staging: fsl-mc: move bus driver out of staging, add dpio https://www.spinics.net/lists/kernel/msg2396338.html [PATCH] bus: fsl-mc: add DPCON object APIs https://www.spinics.net/lists/kernel/msg2398182.html Ioana Radulescu (8): staging: fsl-dpaa2/eth: Add Ethernet driver overview document staging: fsl-dpaa2/eth: Add APIs for DPNI objects staging: fsl-dpaa2/eth: Add Freescale DPAA2 Ethernet driver staging: fsl-dpaa2/eth: Add ethtool support staging: fsl-dpaa2/eth: Add driver specific stats staging: fsl-dpaa2/eth: Add trace points staging: fsl-dpaa2/eth: Add TODO file staging: fsl-dpaa2/eth: Add maintainer for Ethernet driver MAINTAINERS | 6 + drivers/staging/Kconfig | 2 + drivers/staging/Makefile | 1 + drivers/staging/fsl-dpaa2/Kconfig | 17 + drivers/staging/fsl-dpaa2/Makefile | 5 + drivers/staging/fsl-dpaa2/ethernet/Makefile | 10 + drivers/staging/fsl-dpaa2/ethernet/README | 186 ++ drivers/staging/fsl-dpaa2/ethernet/TODO | 9 + .../staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h | 185 ++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2525 ++++++++++++++++++++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 346 +++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 278 +++ drivers/staging/fsl-dpaa2/ethernet/dpkg.h | 176 ++ drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h | 540 +++++ drivers/staging/fsl-dpaa2/ethernet/dpni.c | 1594 ++++++++++++ drivers/staging/fsl-dpaa2/ethernet/dpni.h | 831 +++++++ drivers/staging/fsl-dpaa2/ethernet/net.h | 480 ++++ 17 files changed, 7191 insertions(+), 0 deletions(-) create mode 100644 drivers/staging/fsl-dpaa2/Kconfig create mode 100644 drivers/staging/fsl-dpaa2/Makefile create mode 100644 drivers/staging/fsl-dpaa2/ethernet/Makefile create mode 100644 drivers/staging/fsl-dpaa2/ethernet/README create mode 100644 drivers/staging/fsl-dpaa2/ethernet/TODO create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpkg.h create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni.c create mode 100644 drivers/staging/fsl-dpaa2/ethernet/dpni.h create mode 100644 drivers/staging/fsl-dpaa2/ethernet/net.h -- 1.7.3.4