Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932759AbbFJPXR (ORCPT ); Wed, 10 Jun 2015 11:23:17 -0400 Received: from mail-by2on0123.outbound.protection.outlook.com ([207.46.100.123]:7444 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753573AbbFJPXL (ORCPT ); Wed, 10 Jun 2015 11:23:11 -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: [PATCH 00/12] Freescale DPAA FMan Date: Wed, 10 Jun 2015 18:21:40 +0300 Message-ID: <1433949712-5648-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;BL2FFO11OLC015;1:DoyJauzmLgkTCsyNN3SfnjD1xzaIC5Gq+172NwVPuDt7XUN/hBIF22kZmslsu78CnaXjM7o1WmxP9CRH9HgcWG9AM5rbgI2y0IUggEt1NqwAwIJo/Z30txgLngTKUA/QQhEbaCIjrKyJCb/hOEt6QzkJNdMa+qY717nF8i2ZCrk3R82qfGsXwK5QxtVlYdvMlcrvq0nTf+jW/0q3Vvdyh+m6v+NieiwWkPzlkG1ydJxtkIG5AjTcMceGrUVa79w4aykcL16Xe/MzSDgMXCPaPmG5mqnJU4h8GezaS3CopDHoXwd0gFqrJ419sVv6jMIxfxcd8vul2T9+ytEFqXXr3w== X-Forefront-Antispam-Report: CIP:192.88.168.50;CTRY:US;IPV:NLI;EFV:NLI;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(189002)(199003)(77096005)(229853001)(43066003)(189998001)(104016003)(48376002)(77156002)(62966003)(86362001)(47776003)(33646002)(46102003)(49486002)(36756003)(105606002)(85426001)(6806004)(50986999)(5001960100002)(50226001)(2201001)(53806999)(107886002)(5001770100001)(87936001)(2101003)(4001430100001);DIR:OUT;SFP:1102;SCL:1;SRVR:BLUPR03MB550;H:tx30smr01.am.freescale.net;FPR:;SPF:Fail;MLV:sfv;MX:1;A:1;LANG:en; MIME-Version: 1.0 Content-Type: text/plain X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB550;2:8wql72b+1RNThfoJV4OrQEP30cTUhLVg7ePtBLNj9Doz6S2sLI9uKFtoGXjP5Wcm;2:hLQ/VyqjS7SVY2TRXLm+U/80D43u77viIgYHfogLY+B46fa/WM5V2EwtRzAhHLVH4Q+dD8NZ8cnIdfAOaG2bGo0YER9NiJ7mHWgRWaCItQuCqpdvjtkFlugv2VPpMnhZU9NzQk4m3vcvvdjpVKEPd0NVb4/qRhvH3UFpI1Ws12xu4TyWmEAkYN402BUYUzXisGJWq8pao5zNcPVLcwEPI+ZGODv5n2lLvLCdIFojOAI=;6:hHSrtcDq8wTcmIvQ/db/GSpvXu++Ez85Dwl/zrjACAhpcz7ECn+Axd1MagtfK4R9j1rWYfzqxl/xvnbSLRCRA99ZMKm5La94trlk6iPztkYbOAbM8/dfe7Syixg9ULtMJanTi3j6zQDQry8n0ZHSQUeZVVDo4hTueAWrOqV8EEEYs+2UD8REOBFTTSwU/hwKpNQEM1zBsbREUZiHAPyeOw6c3NEmbEDwvQzRARE3TH5CEFeLN4C6f+1A3Uo+qtVEQkU7sfa/yw5T8OWWLZ/YFdCjqbRnonDM967fx4oGAUrD2Nd09Z5QBG+i7YDdGJJgX4Tptc7fsozuJJWQqJBQdw==;3:von8tEPP6cm8M5mzRXVyFnpTkk3V9pt9AV9iC+xqN3sgRcQWqsGjKNiBy87lKsDhrk2GP7tYBuN816qzBdad/sIMYKdV9FjcbMKgAtK+zJZXWFJ9tFnuqs0gs5GiFz5vOHCzxbXDcKG8c/JQKwfp5c2m7/MuTBTNRhwz0FKrdtiRFomDxspHk3+k5SMtpFj2fqXhSlrXnUh+1mEQAowIBgpoI2CsK8dZXG4puRxXXiAb5U7yrPwvME8OSLQcMqvocFZ/zLL2obtj1uongiD0wPU61vM2iXFkptKpQIZa6p4gr8NIzpHBXO+uFwDBNu6K X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB550; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5005006)(520003)(3002001);SRVR:BLUPR03MB550;BCL:0;PCL:0;RULEID:;SRVR:BLUPR03MB550; X-Forefront-PRVS: 06036BD506 X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB550;9:1fZBGHcVCB56yMGjScZzcL7MYpj3wITYSzxsRIvtP3igSro2HAJ2drTwTaZTpbbFMtLRLvAO62tJ0yTboL6IORcb8S+VKoTGxDYbocDNWj7POcyo8trw3JTyPTkALg+rU1FIzgVjiY2l4OlieUnLmL1g99b/BdBcoTwEpAp2WF7HGg6+8MX3o8bL46nQSzRkCq8ErktButbbdXqWVifW6ySA77OoxrAu+DY5Is+bPwUb0fUHQi7hy9N0tWyvYo4ez7Riv94Fuu2NiesvVmegzlEN+vJwldf/v1iiA7QXDcLezp2fyqbqavbMfdRu8tR8GtFJEz/gDHkS8kayUwkYixnkycZSdsMMKoA5nXfJ8TTu/f5EzHEuDl6BEDcbkfrZFDMvwNNd0yd1nZ2sOpOMHr+YQntP1Fku5dB0v/glZpN8ojnii2Bm6aRjlifrCNc/7ObwqDCBLQw3aUu5MLLFuIDaakC0Z7neVdEeb1IWe7pkm1y04EXCgix9Ez8VMVRFDimHfGs1hhtH2cNkbZoVazvY487zjNMfiQ7AgHQ94PtlH9RgY4dK4XecZ5TrGfhMMqez+a+IoSzaZs/aNd8ZeEc2yKA0e2o8sCfPSdl4/5e/VVrw+4tObxIvdAQpS9Y6WHax4HgPmEy4qcX6+fLsoVFaVbiTwpP0ufg7DIRnLktTvhrxF6fjG82u1sHywH8hpYK6F2SU2oHIa7cP2UXrDHe+HxZlLxa4H7kteByvHetDN3mwCpvw5dlDB4RzIaFN2B6Bd86ssllnL2CBuZnv6opX6MOzGf38pzWI+2irJDal+4ADCIQcjTxwoKb6JFx361c13f3Q5YttJaVmHgNdoA== X-Microsoft-Exchange-Diagnostics: 1;BLUPR03MB550;3:i4BdeadvNCQinfJ9/tzIxP/bpw+NEum1A+5TCoknGhUe3+YXt/7lpI07eQccLJ4t7D8p9NPxjsY39gHPGIaDa78b0sU0dMcUy34UzJFIQZsD4G89Y+keOB++r/BUPywYNwmHWgoX3liOTpgPvlPmXA==;10:Ek/7hhaXNO6vIOyWRpeNsu1eFjvYR85kUcHNj+/I8kve4zWB6TSV+7GqPC03Tc8B6XA7RbsRoluHEDSACVSNOJwfDN96BM9WpptehxvJmhw=;6:ZAGSIpW3CavGT29pe4GlmDPbp9RbWzW6M1SrmJiE2uW6LotkD8HhKhJkdSeAEz4t X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2015 15:23:07.4718 (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: BLUPR03MB550 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 10002 Lines: 176 The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores and the accelerators. One of the DPAA accelerators is the Frame Manager (FMan) which contains a series of hardware blocks: ports, Ethernet MACs, a multi user RAM (MURAM) and Storage Profile (SP). This patch set introduced the FMan driver code that configures and initializes the FMan hardware blocks, offering support for three different types of MACs (DTSEC, TGEC, MEMAC). The first 6 patches present the FMan Foundation Libraries (FLIBs). The FMan drivers make use of the basic API the FMan FLib provides to configure and control the FMan hardware. The remaining patches present the required FMan hardware module drivers. The driver structure and a hint on file naming: -------------------------------- | FMan MAC driver | mac* files ------ ------ ----- ------- ---- | FMan | Port | MAC | MURAM | SP | fm_* files ------ ------ ----- ------- ---- : : FLib : : fman_* files ------------------- This submission is based on the prior Freescale DPAA FMan V3,RFC submission. Several issues addresses in this submission: - Reduced MAC layering and complexity - Reduced code base - T1024/T2080 10G best effort support Igal Liberman (12): fsl/fman: Add the FMan FLIB headers fsl/fman: Add the FMan FLIB fsl/fman: Add the FMan port FLIB headers fsl/fman: Add the FMan port FLIB fsl/fman: Add the FMan MAC FLIB headers fsl/fman: Add the FMan MAC FLIB fsl/fman: Add FMan MURAM support fsl/fman: Add Frame Manager support fsl/fman: Add FMan MAC support fsl/fman: Add FMan SP support fsl/fman: Add FMan Port Support fsl/fman: Add FMan MAC driver drivers/net/ethernet/freescale/Kconfig | 1 + drivers/net/ethernet/freescale/Makefile | 2 + drivers/net/ethernet/freescale/fman/Kconfig | 46 + drivers/net/ethernet/freescale/fman/Makefile | 12 + .../ethernet/freescale/fman/flib/common/general.h | 41 + .../net/ethernet/freescale/fman/flib/fman_common.h | 73 + .../net/ethernet/freescale/fman/flib/fsl_enet.h | 275 +++ .../net/ethernet/freescale/fman/flib/fsl_fman.h | 609 ++++++ .../ethernet/freescale/fman/flib/fsl_fman_dtsec.h | 791 ++++++++ .../freescale/fman/flib/fsl_fman_dtsec_mii_acc.h | 103 + .../ethernet/freescale/fman/flib/fsl_fman_memac.h | 453 +++++ .../freescale/fman/flib/fsl_fman_memac_mii_acc.h | 76 + .../ethernet/freescale/fman/flib/fsl_fman_port.h | 427 ++++ .../net/ethernet/freescale/fman/flib/fsl_fman_sp.h | 54 + .../ethernet/freescale/fman/flib/fsl_fman_tgec.h | 409 ++++ drivers/net/ethernet/freescale/fman/fm.c | 2036 ++++++++++++++++++++ drivers/net/ethernet/freescale/fman/fm.h | 407 ++++ drivers/net/ethernet/freescale/fman/fm_common.h | 576 ++++++ drivers/net/ethernet/freescale/fman/fm_drv.c | 933 +++++++++ drivers/net/ethernet/freescale/fman/fm_drv.h | 125 ++ drivers/net/ethernet/freescale/fman/fm_muram.c | 127 ++ drivers/net/ethernet/freescale/fman/fm_port_drv.c | 496 +++++ drivers/net/ethernet/freescale/fman/fm_sp_common.h | 104 + drivers/net/ethernet/freescale/fman/fman.c | 973 ++++++++++ .../ethernet/freescale/fman/inc/crc_mac_addr_ext.h | 343 ++++ drivers/net/ethernet/freescale/fman/inc/enet_ext.h | 199 ++ drivers/net/ethernet/freescale/fman/inc/fm_ext.h | 453 +++++ .../net/ethernet/freescale/fman/inc/fm_muram_ext.h | 103 + .../net/ethernet/freescale/fman/inc/fm_port_ext.h | 376 ++++ .../net/ethernet/freescale/fman/inc/fsl_fman_drv.h | 195 ++ drivers/net/ethernet/freescale/fman/inc/mac.h | 136 ++ drivers/net/ethernet/freescale/fman/inc/net_ext.h | 534 +++++ drivers/net/ethernet/freescale/fman/inc/service.h | 90 + drivers/net/ethernet/freescale/fman/mac/Makefile | 8 + drivers/net/ethernet/freescale/fman/mac/fm_dtsec.c | 1089 +++++++++++ drivers/net/ethernet/freescale/fman/mac/fm_dtsec.h | 227 +++ .../ethernet/freescale/fman/mac/fm_dtsec_mii_acc.c | 82 + .../ethernet/freescale/fman/mac/fm_dtsec_mii_acc.h | 43 + drivers/net/ethernet/freescale/fman/mac/fm_mac.h | 250 +++ drivers/net/ethernet/freescale/fman/mac/fm_memac.c | 741 +++++++ drivers/net/ethernet/freescale/fman/mac/fm_memac.h | 124 ++ .../ethernet/freescale/fman/mac/fm_memac_mii_acc.c | 66 + .../ethernet/freescale/fman/mac/fm_memac_mii_acc.h | 50 + drivers/net/ethernet/freescale/fman/mac/fm_tgec.c | 652 +++++++ drivers/net/ethernet/freescale/fman/mac/fm_tgec.h | 126 ++ .../net/ethernet/freescale/fman/mac/fman_dtsec.c | 571 ++++++ .../freescale/fman/mac/fman_dtsec_mii_acc.c | 168 ++ .../net/ethernet/freescale/fman/mac/fman_memac.c | 365 ++++ .../freescale/fman/mac/fman_memac_mii_acc.c | 217 +++ .../net/ethernet/freescale/fman/mac/fman_tgec.c | 217 +++ drivers/net/ethernet/freescale/fman/mac/mac-api.c | 765 ++++++++ drivers/net/ethernet/freescale/fman/mac/mac.c | 526 +++++ drivers/net/ethernet/freescale/fman/port/Makefile | 3 + drivers/net/ethernet/freescale/fman/port/fm_port.c | 1435 ++++++++++++++ drivers/net/ethernet/freescale/fman/port/fm_port.h | 527 +++++ .../net/ethernet/freescale/fman/port/fman_port.c | 619 ++++++ drivers/net/ethernet/freescale/fman/sp/Makefile | 3 + drivers/net/ethernet/freescale/fman/sp/fm_sp.c | 398 ++++ 58 files changed, 20850 insertions(+) create mode 100644 drivers/net/ethernet/freescale/fman/Kconfig create mode 100644 drivers/net/ethernet/freescale/fman/Makefile create mode 100644 drivers/net/ethernet/freescale/fman/flib/common/general.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fman_common.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_enet.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_dtsec.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_dtsec_mii_acc.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_memac.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_memac_mii_acc.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_port.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_sp.h create mode 100644 drivers/net/ethernet/freescale/fman/flib/fsl_fman_tgec.h create mode 100644 drivers/net/ethernet/freescale/fman/fm.c create mode 100644 drivers/net/ethernet/freescale/fman/fm.h create mode 100644 drivers/net/ethernet/freescale/fman/fm_common.h create mode 100644 drivers/net/ethernet/freescale/fman/fm_drv.c create mode 100644 drivers/net/ethernet/freescale/fman/fm_drv.h create mode 100644 drivers/net/ethernet/freescale/fman/fm_muram.c create mode 100644 drivers/net/ethernet/freescale/fman/fm_port_drv.c create mode 100644 drivers/net/ethernet/freescale/fman/fm_sp_common.h create mode 100644 drivers/net/ethernet/freescale/fman/fman.c create mode 100644 drivers/net/ethernet/freescale/fman/inc/crc_mac_addr_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/enet_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/fm_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/fm_muram_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/fm_port_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/fsl_fman_drv.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/mac.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/net_ext.h create mode 100644 drivers/net/ethernet/freescale/fman/inc/service.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/Makefile create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_dtsec.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_dtsec.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_dtsec_mii_acc.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_dtsec_mii_acc.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_mac.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_memac.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_memac.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_memac_mii_acc.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_memac_mii_acc.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_tgec.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fm_tgec.h create mode 100644 drivers/net/ethernet/freescale/fman/mac/fman_dtsec.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fman_dtsec_mii_acc.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fman_memac.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fman_memac_mii_acc.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/fman_tgec.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/mac-api.c create mode 100644 drivers/net/ethernet/freescale/fman/mac/mac.c create mode 100644 drivers/net/ethernet/freescale/fman/port/Makefile create mode 100644 drivers/net/ethernet/freescale/fman/port/fm_port.c create mode 100644 drivers/net/ethernet/freescale/fman/port/fm_port.h create mode 100644 drivers/net/ethernet/freescale/fman/port/fman_port.c create mode 100644 drivers/net/ethernet/freescale/fman/sp/Makefile create mode 100644 drivers/net/ethernet/freescale/fman/sp/fm_sp.c -- 1.7.11.7 I'm re-sending this as Igal's emails to netdev are not getting through. Madalin -- 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/