From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753986AbbCEFpo (ORCPT ); Thu, 5 Mar 2015 00:45:44 -0500 Received: from mail-bn1bon0130.outbound.protection.outlook.com ([157.56.111.130]:59808 "EHLO na01-bn1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752799AbbCEFoz (ORCPT ); Thu, 5 Mar 2015 00:44:55 -0500 From: Emil Medve To: , , CC: Igal Liberman Subject: [PATCH 0/7] Freescale DPAA FMan FLIB(s) Date: Wed, 4 Mar 2015 23:45:44 -0600 Message-ID: <1425534351-1065-1-git-send-email-Emilian.Medve@Freescale.com> X-Mailer: git-send-email 2.3.1 X-EOPAttributedMessage: 0 Authentication-Results: spf=fail (sender IP is 192.88.158.2) smtp.mailfrom=Emilian.Medve@Freescale.com; freescale.mail.onmicrosoft.com; dkim=none (message not signed) header.d=none; X-Forefront-Antispam-Report: CIP:192.88.158.2;CTRY:US;IPV:NLI;EFV:NLI;BMV:1;SFV:NSPM;SFS:(10019020)(6009001)(339900001)(199003)(189002)(36756003)(92566002)(86362001)(47776003)(50466002)(87936001)(50986999)(19580405001)(85426001)(48376002)(19580395003)(104016003)(46102003)(6806004)(50226001)(2201001)(229853001)(106466001)(77156002)(105606002)(77096005)(62966003);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB369;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-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB369; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(5002007)(5005006);SRVR:BL2PR03MB369;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB369; X-Forefront-PRVS: 05066DEDBB X-OriginatorOrg: freescale.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Mar 2015 05:30:47.4733 (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] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB369 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Igal Liberman The Freescale Data Path Acceleration Architecture (DPAA) is a set of hardware components on specific QorIQ P and T series multicore processors. This architecture provides the infrastructure to support simplified sharing of networking interfaces and accelerators by multiple CPU cores, and the accelerators themselves. One of the DPAA accelerators is the Frame Manager (FMan), which combines the Ethernet network interfaces with packet distribution logic to provide intelligent distribution and queuing decisions for incoming traffic at line rate. This patch presents the FMan Foundation Libraries (FLIB) headers. The FMan FLIB suite adds basic support for the DPAA FMan hardware register access. The FMan FLIB suite is used in Freescale's SDK Releases. Igal Liberman (7): soc/fman: Add the FMan FLIB headers soc/fman: Add the FMan FLIB soc/fman: Add the FMan port FLIB soc/fman: Add the FMan MAC FLIB soc/fman: Add the FMan parser and KeyGen FLIB(s) soc/fman: Add the FMan RTC FLIB soc/fman: Add the FMan SP FLIB drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/fsl/Kconfig | 1 + drivers/soc/fsl/Makefile | 1 + drivers/soc/fsl/fman/Kconfig | 35 + drivers/soc/fsl/fman/Makefile | 19 + drivers/soc/fsl/fman/flib/common/general.h | 45 + drivers/soc/fsl/fman/flib/fman_common.h | 74 + drivers/soc/fsl/fman/flib/fsl_enet.h | 276 ++++ drivers/soc/fsl/fman/flib/fsl_fman.h | 801 ++++++++++ drivers/soc/fsl/fman/flib/fsl_fman_dtsec.h | 1017 +++++++++++++ drivers/soc/fsl/fman/flib/fsl_fman_dtsec_mii_acc.h | 104 ++ drivers/soc/fsl/fman/flib/fsl_fman_kg.h | 506 +++++++ drivers/soc/fsl/fman/flib/fsl_fman_memac.h | 492 +++++++ drivers/soc/fsl/fman/flib/fsl_fman_memac_mii_acc.h | 77 + drivers/soc/fsl/fman/flib/fsl_fman_port.h | 602 ++++++++ drivers/soc/fsl/fman/flib/fsl_fman_prs.h | 106 ++ drivers/soc/fsl/fman/flib/fsl_fman_rtc.h | 415 ++++++ drivers/soc/fsl/fman/flib/fsl_fman_sp.h | 133 ++ drivers/soc/fsl/fman/flib/fsl_fman_tgec.h | 484 ++++++ drivers/soc/fsl/fman/fman.c | 1396 ++++++++++++++++++ drivers/soc/fsl/fman/mac/Makefile | 15 + drivers/soc/fsl/fman/mac/fman_crc32.c | 117 ++ drivers/soc/fsl/fman/mac/fman_crc32.h | 40 + drivers/soc/fsl/fman/mac/fman_dtsec.c | 844 +++++++++++ drivers/soc/fsl/fman/mac/fman_dtsec_mii_acc.c | 169 +++ drivers/soc/fsl/fman/mac/fman_memac.c | 504 +++++++ drivers/soc/fsl/fman/mac/fman_memac_mii_acc.c | 218 +++ drivers/soc/fsl/fman/mac/fman_tgec.c | 372 +++++ drivers/soc/fsl/fman/pcd/Makefile | 13 + drivers/soc/fsl/fman/pcd/fman_kg.c | 850 +++++++++++ drivers/soc/fsl/fman/pcd/fman_prs.c | 127 ++ drivers/soc/fsl/fman/port/Makefile | 13 + drivers/soc/fsl/fman/port/fman_port.c | 1536 ++++++++++++++++++++ drivers/soc/fsl/fman/rtc/Makefile | 13 + drivers/soc/fsl/fman/rtc/fman_rtc.c | 354 +++++ drivers/soc/fsl/fman/sp/Makefile | 13 + drivers/soc/fsl/fman/sp/fman_sp.c | 204 +++ 38 files changed, 11988 insertions(+) create mode 100644 drivers/soc/fsl/Kconfig create mode 100644 drivers/soc/fsl/Makefile create mode 100644 drivers/soc/fsl/fman/Kconfig create mode 100644 drivers/soc/fsl/fman/Makefile create mode 100644 drivers/soc/fsl/fman/flib/common/general.h create mode 100644 drivers/soc/fsl/fman/flib/fman_common.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_enet.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_dtsec.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_dtsec_mii_acc.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_kg.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_memac.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_memac_mii_acc.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_port.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_prs.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_rtc.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_sp.h create mode 100644 drivers/soc/fsl/fman/flib/fsl_fman_tgec.h create mode 100644 drivers/soc/fsl/fman/fman.c create mode 100644 drivers/soc/fsl/fman/mac/Makefile create mode 100644 drivers/soc/fsl/fman/mac/fman_crc32.c create mode 100644 drivers/soc/fsl/fman/mac/fman_crc32.h create mode 100644 drivers/soc/fsl/fman/mac/fman_dtsec.c create mode 100644 drivers/soc/fsl/fman/mac/fman_dtsec_mii_acc.c create mode 100644 drivers/soc/fsl/fman/mac/fman_memac.c create mode 100644 drivers/soc/fsl/fman/mac/fman_memac_mii_acc.c create mode 100644 drivers/soc/fsl/fman/mac/fman_tgec.c create mode 100644 drivers/soc/fsl/fman/pcd/Makefile create mode 100644 drivers/soc/fsl/fman/pcd/fman_kg.c create mode 100644 drivers/soc/fsl/fman/pcd/fman_prs.c create mode 100644 drivers/soc/fsl/fman/port/Makefile create mode 100644 drivers/soc/fsl/fman/port/fman_port.c create mode 100644 drivers/soc/fsl/fman/rtc/Makefile create mode 100644 drivers/soc/fsl/fman/rtc/fman_rtc.c create mode 100644 drivers/soc/fsl/fman/sp/Makefile create mode 100644 drivers/soc/fsl/fman/sp/fman_sp.c -- 2.3.1