From patchwork Thu Sep 13 09:41:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gagandeep Singh X-Patchwork-Id: 44648 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 735205688; Thu, 13 Sep 2018 11:42:34 +0200 (CEST) Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-eopbgr20055.outbound.protection.outlook.com [40.107.2.55]) by dpdk.org (Postfix) with ESMTP id B085D5681 for ; Thu, 13 Sep 2018 11:42:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=s52Nz9fx16i/fjsTbb8H+dZPD8gkUis3IOjRp2qzp7c=; b=YsvnS/JtpAEewN5RxwU2sxqPYb9HjD07Oy3LgtBLKrI8iF59Nlwqn2WIRqNQIUeXVjdqbe9rc0YUwAYlHCEZ/krBSSCKOBGT7JO/+ngJyui4zaNx76i1otEU74cuRqHlTQuAiApF3Y0dhuVp6kuKzxrpDbo+Z6xlsUairOqxJck= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=G.Singh@nxp.com; Received: from Tophie.ap.freescale.net (14.142.187.166) by VI1PR04MB1533.eurprd04.prod.outlook.com (2a01:111:e400:596a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.17; Thu, 13 Sep 2018 09:42:27 +0000 From: Gagandeep Singh To: dev@dpdk.org, ferruh.yigit@intel.com Cc: pankaj.chauhan@nxp.com, Gagandeep Singh Date: Thu, 13 Sep 2018 15:11:58 +0530 Message-Id: <20180913094201.17098-1-g.singh@nxp.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180906055449.21731-1-g.singh@nxp.com> References: <20180906055449.21731-1-g.singh@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: PN1PR0101CA0029.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:c::15) To VI1PR04MB1533.eurprd04.prod.outlook.com (2a01:111:e400:596a::19) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 77e308eb-38a4-475d-c515-08d6195d398a X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB1533; X-Microsoft-Exchange-Diagnostics: 1; VI1PR04MB1533; 3:ANbBczD9QhFzmCX6p0DzpTh7Y5rmz7OWTBO89ls/rwgEfHFnJHUyOUXaJu5WQbVdWe/gRpy0BFAXTLlI/Qa1No9HIdLyYdARNO/2GP5mESvB0i8HQ2PQ4ki5VgCvSZEke0DeC0LnwXyhkYMAX/MPzjeEuzEsdtFcXMqQxrzAGUChxEVXGkPx9NYPrSIMjyXf2v0wHIfOVBMUbfMie0W1iTwuBAuPJ6k197n1423dlr4RNVMTNFo/ZDQcw4/Q+41A; 25:AO3Qerv2tjftJde1QevJ1KqZRPHfTHBocRMA8aq6AjVrPlUW0O3A7TT3VstCLoh5e+rMS/ZA1BKmjZMK5nq1eWmFKfFH2V4/xInZYZRVO5TH86TiCzJK/RUysepheT40AdinkFu5Wg0DBmuMBZmEgPjpXCeySqe6fQPirSepw2hG/Wz6RVvGZmG+JJ/ZxaRHkLd9W+Z2Iqt/UZXWRoSuoBCouXDH5OCXphDNbOHau+mRoIqvi0Xoy2em415NRe0soC1mOW1PwwhqUBPssKsXHV3Nv5+3uhRh1nCsnfP4RE8yu5Fr39T9/opp2yBLOf+GXT7AD3+XPrW9WsTTv3Q23w==; 31:NP6bA9CG30BWPBU0GahsQlJDquT6z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wsDA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(823301075)(3231311)(944501410)(52105095)(3002001)(10201501046)(93006095)(93001095)(6055026)(149027)(150027)(6041310)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050); SRVR:VI1PR04MB1533; BCL:0; PCL:0; RULEID:; SRVR:VI1PR04MB1533; X-Forefront-PRVS: 07943272E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(136003)(396003)(346002)(376002)(366004)(199004)(189003)(105586002)(68736007)(48376002)(106356001)(50466002)(11346002)(486006)(76176011)(7736002)(36756003)(305945005)(51416003)(52116002)(86362001)(72206003)(478600001)(8936002)(47776003)(50226002)(2616005)(476003)(316002)(446003)(956004)(16586007)(66066001)(4326008)(186003)(16526019)(53936002)(6486002)(26005)(97736004)(6116002)(6666003)(6512007)(3846002)(55236004)(2906002)(5009440100003)(6506007)(386003)(8676002)(5660300001)(81156014)(1076002)(25786009)(81166006)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB1533; H:Tophie.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; VI1PR04MB1533; 23:MWgFxA1AWbX5/FDuuUxsOFwnzCKaeU+Op1mwYGah+?= gvGNxjH/MsQKkZN64N6I//FH9NxDsFWpG6W6U0930I9pox3EdcgWwCOdYQAYZEsa+KC/qOQzKkavJ/hdT0Y724YXLJKO0FGK61UdosgnrP6Qo8bxhrSrBRXojmPWrhvGjh7hlRl4B23xADRNQkdHJRb3mhDNOEvoViY+9b73HlhByQFD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3skJiG5f++uvhBBjq3Hq397BQfiJkO+cxZMTLsykwx/kVvXjlIFrHj+HULaQ83od/HWm/yr/wXQQSoSKdC/JJyfvVr3OcClFCJG6qUIXI5XXb2npyVygtGrhQSL60mmEpaYf287HlUeUeRIV22VJ1KoKakXDZ0pKDJA+7cKFiVhDmF7U45Y0wHc8SkcD3tlQR47o50owEPZIU/U99cNFJxuiHaADK/BRjWW4IWJbhOSY SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2018 09:42:27.7327 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 77e308eb-38a4-475d-c515-08d6195d398a X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB1533 Subject: [dpdk-dev] [PATCH v2 0/3] introduces the enetc PMD driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" *ENETC* PMD driver which integrates with the existing PCI bus. Document is also part of the set Change-log: document improvement checkpatch warnings removed Gagandeep Singh (3): doc: add usage doc for ENETC PMD net/enetc: add ENETC PMD with basic operations net/enetc: enable Rx and Tx MAINTAINERS | 7 + config/common_base | 5 + config/common_linuxapp | 5 + doc/guides/nics/enetc.rst | 154 +++++++ doc/guides/nics/features/enetc.ini | 10 + doc/guides/nics/index.rst | 1 + drivers/net/Makefile | 1 + drivers/net/enetc/Makefile | 25 ++ drivers/net/enetc/base/enetc_hw.h | 220 ++++++++++ drivers/net/enetc/enetc.h | 111 +++++ drivers/net/enetc/enetc_ethdev.c | 271 ++++++++++++ drivers/net/enetc/enetc_logs.h | 40 ++ drivers/net/enetc/enetc_rxtx.c | 447 ++++++++++++++++++++ drivers/net/enetc/meson.build | 11 + drivers/net/enetc/rte_pmd_enetc_version.map | 4 + drivers/net/meson.build | 1 + mk/rte.app.mk | 1 + 17 files changed, 1314 insertions(+) create mode 100644 doc/guides/nics/enetc.rst create mode 100644 doc/guides/nics/features/enetc.ini create mode 100644 drivers/net/enetc/Makefile create mode 100644 drivers/net/enetc/base/enetc_hw.h create mode 100644 drivers/net/enetc/enetc.h create mode 100644 drivers/net/enetc/enetc_ethdev.c create mode 100644 drivers/net/enetc/enetc_logs.h create mode 100644 drivers/net/enetc/enetc_rxtx.c create mode 100644 drivers/net/enetc/meson.build create mode 100644 drivers/net/enetc/rte_pmd_enetc_version.map