Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1423972AbdD1Jus (ORCPT ); Fri, 28 Apr 2017 05:50:48 -0400 Received: from mail-dm3nam03on0051.outbound.protection.outlook.com ([104.47.41.51]:50747 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1423867AbdD1Juh (ORCPT ); Fri, 28 Apr 2017 05:50:37 -0400 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none;nxp.com; dmarc=fail action=none header.from=nxp.com; From: Ioana Radulescu To: CC: , , , , , , , , , , , , Subject: [PATCH v3 0/9] staging: Introduce Freescale DPAA2 Ethernet driver Date: Fri, 28 Apr 2017 04:50:25 -0500 Message-ID: <20170428095034.8842-1-ruxandra.radulescu@nxp.com> X-Mailer: git-send-email 2.11.0 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131378466361984812;(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)(336005)(39380400002)(39850400002)(39400400002)(39410400002)(39860400002)(39840400002)(39450400003)(2980300002)(1110001)(1109001)(339900001)(189002)(199003)(9170700003)(50466002)(8656002)(189998001)(33646002)(7416002)(48376002)(2906002)(5660300001)(36756003)(6666003)(77096006)(6916009)(85426001)(1076002)(38730400002)(86362001)(8936002)(53936002)(81166006)(5003940100001)(110136004)(8676002)(356003)(47776003)(39060400002)(305945005)(105606002)(104016004)(2351001)(50986999)(4326008)(54906002)(50226002)(106466001);DIR:OUT;SFP:1101;SCL:1;SRVR:BN1PR0301MB0593;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:ovrnspm;MX:1;A:1;PTR:InfoDomainNonexistent;LANG:en; X-Microsoft-Exchange-Diagnostics: 1;BL2FFO11OLC008;1:CRVUsiuJdezJeLNm2lRlIzgdR/5GjpSQfykziKUNCH+vN+dN0TOuw7x3WA1P2gOIT9l8jY4f+yAjg13tDo7VjFTJtbL9nDE8WFlQqOXSR/DBMWTysot2xX/r0acxTcPEwpc9IDLcfAzbufT9cYCjN5RKNCCpjxF9xpIZn5f+SrhQt1joyWIP/zBZlhTBLmnheHYhpXtsq3b5qd6TMkIYY0RJMqHzScBWXuDZfU9/YJcjlpoecqMNhKpQWC/rDsRdSxn1E9fh+I/sbpa6LtEc8kzJfSLXHSTAkzi2mitig1rOUjvuyxLJJ/fJmfk2lpKyJlX2Oz5ZV/LwYU6IgsNDEC1DQo2+tBEjL3xhrdgvA3JT0NDOnLRZCajBf7Q+eqTEC3A/JnEyyTCTgxm86CNfXiJznHOhF9XUSY2kObdYhs5Dz6XAKEEpi5bsrEy6r5LfiRRnrZ2dMN9n6EfxXczZlvUWLia9S5WSI9+V7cQ7Y0ObszTQPdCbh/zHU/jYlEhB4eNLbVhWCW9TlVsI1tDuJ6WofW1vZj4A1wCiY8STAzj8q3ud4TjcDJ8eScaKQXZrj7s6TKw2CrvU+taCvpXan+pXindcrg+syIyGmDGnF9I2x4PLX08/NdNoLSFQOu9I+9QPwZMy/VnNLBBHzx4Iy4Iu3libiavc08SmPsn7oqmfj9llf4YWmSa7fMPHysePI+DY62DJHFfd4SPvadHLhMT1L3luQdekHWETh6P0xYk= MIME-Version: 1.0 Content-Type: text/plain X-MS-Office365-Filtering-Correlation-Id: b0f84c6c-39a1-42e4-3c44-08d48e1c0508 X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(201703131430075)(201703131517081);SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0593;3:rlN/UWI/QhLyiD+g5PFK1MfNRKVqjL/orUl59tIEB2j0K+4+43H1bpBJwDiZpr9z5kEN1iGBFaOpVJl6E4b9Gtt3OzmPtW5oRkNChrJqQ6+5kvCc1gccI1+uQw8h4UKOOrsgeF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ot3yOeZtgw5a6UpjT6TlvySqULDGqOoUiOE/nyVQjgtVE= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(6095135)(601004)(2401047)(13015025)(13018025)(8121501046)(13023025)(13024025)(13017025)(5005006)(93006095)(93001095)(3002001)(10201501046)(6055026)(6096035)(20161123563025)(20161123556025)(20161123565025)(201703131430075)(201703131441075)(201703131448075)(201703131433075)(201703161259150)(20161123561025);SRVR:BN1PR0301MB0593;BCL:0;PCL:0;RULEID:(400006);SRVR:BN1PR0301MB0593; X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0593;4:3Ix+nj4G2mZFZ8zyQXI7asmDB1o+8S5pDPLxM3xixrs2fjTKg/KvpvFKwxQl2xbaTfiY/liAs6o5yyovnmMvdtjnm7ka13I7BK0uAIlnJ+HA+qPLOjZaIEZj1nVAoHzw9ueMO0iKk4JYM5NpK95LsY2Tx/FcHzNricI8vx/TRidpnZO/9u/Fat596Me8DX9wBHV4DoidklNvfytinJPC+ZdLn0+7ijViEBPJhQL1/22jRthh5sxVy9h7dWTnQWLJkHIcpkeLYPvg8r2SGbdLot4aMLGmLhs4UGl3HrPzUJrrCaz49tp1IhURCTvNaLLyqdUTXFCVwlW3zbs5ZaYT4nK3Xc9d/2EcdVU2MZs96IcOutyIKHOAuk+0xmkhXfccgE0FtJUpu9Vg+Ht+JxECrWbrMw965Ah0m1hvIPkUtKlWm7xQLHbIo46V82JaEDdClwQinUBBHIM5l/nDp8zVMz4SwOuN1FLbSTns9nqs/scahzHwSs/+FOOE3N+w6GGFLz5lWFR32Uh27EvptaCWSjgTbg2yRSZftMBHZ3+hGNt8grG32BDTi90w+JzNqL9UDAgvYwEaL2bvd5zSBLeg0T/6Mi4l+ai/CzRJXsfC6HX6atwvZVpwnwPjT1kuTWrvb+T7pAFQV9GhfsfkwJ5xF+7ntLm1xMShxQ2NMZz14nKjKw2dszPWPXqXyim7Ue7U3ZOh76y/9yWAS3/as0nZvGBsmWDH/fYSW8pu/YCSNZoJZmSQwSELmKfs3uP3gmVxL1cW6/9u9fDtbvZroKWwsT1Io7LR542Y+tntiIradj0s61YRg0faUHzdSM4YgVq4tHisvjn4pWFur1xBNobEd47rDxYB29tuqm+iH3eGn/D7vWyruuXLI1g9cTGkacBU X-Forefront-PRVS: 029174C036 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BN1PR0301MB0593;23:HXqoql6UquZgg+d4xaI7B8i9QTP/lqk7x1NzYb7?= =?us-ascii?Q?HbZFf7MEPujhjd5g5v5Zv3D1GnNcAmeKjBfM5eZ1YZA0NLK8Qn9ducIkCAXP?= =?us-ascii?Q?ty2Ur48rCi8AMUBF51rWvaLWJJqjdN4DHqHwoHSqjsRbMPDpWEugNIOCjaMK?= =?us-ascii?Q?ar6vum9se3NMJJfhW/eObNYOwranNLkTO7OBX4sgnIpqLtxCpnR+VKS2IeE4?= =?us-ascii?Q?MRb7jEqHaSO7iWiq/9N3uFDh5+c6167tDy/VwVeKFx0AGFoFbDpPwME9bFLf?= =?us-ascii?Q?y6YoOnqW7+O4b/xbi9sQnRWyySkFTFRJkbkirvsT5OVMOY9h55ZwyyqSBNpe?= =?us-ascii?Q?+HFDOR8ZPywdwTVwKoSn/7LjfcO00r5iwjUdeXe5tmBO0hCde6I5t3CDxUcx?= =?us-ascii?Q?aJKKUR+L1NWJTpAyd19fvUr4csj+wVlqme5s+xDfdk1FGrCZn0H3F39sXECf?= =?us-ascii?Q?4/fpo7ECIjLQFQaYY5F8AlUQ3IUN9t7iLLpYOEwSxEsVXORJrBEzQmFa5JaL?= =?us-ascii?Q?xtiRg+jiLR/Cqjm9o3DyiUsRGP6+ciU3qog1/iLnKBy2nejhHlaxie8DuA+W?= =?us-ascii?Q?72mMsHl2ZTWgvEP2sC1pSpGK0x+an2z/z17jP8izgPcttyyn3Fj8fixoyJd1?= =?us-ascii?Q?0k49xThRROBh+7xZBt4g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8LATdHn+Ecx+Bp3k+Q3QBdaDtKdJ8n70TcXOsxtUGPsgq0SawIbs4SiA+DoGyXglIEMcrUw4FfTiJO2y6NnHLh1Lsg02FeQOqA59JEiue96rO5cag7s21kZqEviMw3Ce0rhKMe6MpdqXylpkKOoJbanq4WYsqGPJscQQnyNwohHjjxOcxx+2lDIKcrDMip85pXsa1t9fLOOKcgHA9Jo+RA==;5:fCKESI1QzM1QGYWgySPGFyyzZAkjPKaxUfPo+ddfIK6xKLkYm3co/epyDxH8RJXNETj4ut40C5dYba68JhuenKzonocLbVW2NfdR6dDrYQBAhNtYjczZmDIg8m01n0T0/2/sbTHlUunPS/6nJ4oPNicc0c8ISMtRDOzhdnAzdqcrWkZCKAlv+xpHBkHdoCdf;24:6J+Kx80JTb/dqdfUf+X0+pwL/71/utx9LaANGNRXQH7YxQkMjLDEYdWDpSGNp18aSWXuyhpOyOgidHvBrpXBwW/BG5H27oBuks+FUFzGhbU= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1;BN1PR0301MB0593;7:TtFwFm1gYgXRfI12Q9s7gOvLw0BckPFVlKypRS51rEIICF4S6fHhPa+PMmlhBlSVFE6ME2bUaar3dzZvbIUcmCVaCcVWaWdElsT3o2ZHgqHpATitz+zKFOQ6eLaqvo+uv0c+dRltERpBGpTuZaBmDoDyRRKHYt3SgSaz+QAOCMVZT2ANUcuAVovOKeZ7POCSmQTYv24VdKWg/2H5Ge8ZtH83KjsAw1ROn0K2m12+E8px1zTBxsbj1r6isud4uPUTxafOlHkgsfnzU8HQzcbnPlULwmpmcS+xZMghoXtUoXMEyHWKfm3CqZeeFACCpitbC4fcj0BlanGuzPJf8KVc2g== X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Apr 2017 09:50:35.9020 (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: BN1PR0301MB0593 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3571 Lines: 70 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 v3 changes: - add contact info in TODO file v2 changes: - update path of include header files since fsl-mc bus driver is still in staging - minor updates in patch #4 due to networking API changes Ioana Radulescu (9): bus: fsl-mc: add DPCON object APIs 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 | 14 + .../staging/fsl-dpaa2/ethernet/dpaa2-eth-trace.h | 185 ++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.c | 2520 ++++++++++++++++++++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-eth.h | 348 +++ drivers/staging/fsl-dpaa2/ethernet/dpaa2-ethtool.c | 279 +++ drivers/staging/fsl-dpaa2/ethernet/dpkg.h | 176 ++ drivers/staging/fsl-dpaa2/ethernet/dpni-cmd.h | 541 +++++ drivers/staging/fsl-dpaa2/ethernet/dpni.c | 1595 +++++++++++++ drivers/staging/fsl-dpaa2/ethernet/dpni.h | 832 +++++++ drivers/staging/fsl-dpaa2/ethernet/net.h | 480 ++++ drivers/staging/fsl-mc/bus/Makefile | 3 +- drivers/staging/fsl-mc/bus/dpcon-cmd.h | 69 +- drivers/staging/fsl-mc/bus/dpcon.c | 317 +++ drivers/staging/fsl-mc/include/dpcon.h | 115 + 21 files changed, 7677 insertions(+), 24 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 create mode 100644 drivers/staging/fsl-mc/bus/dpcon.c create mode 100644 drivers/staging/fsl-mc/include/dpcon.h -- 2.11.0