[v2,00/21] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver
Message ID | 1536841371-12431-1-git-send-email-igor.russkikh@aquantia.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> 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 2FF047CDE; Thu, 13 Sep 2018 14:23:20 +0200 (CEST) Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0056.outbound.protection.outlook.com [104.47.34.56]) by dpdk.org (Postfix) with ESMTP id 1088F5F17 for <dev@dpdk.org>; Thu, 13 Sep 2018 14:23:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=AQUANTIA1COM.onmicrosoft.com; s=selector1-aquantia-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=//4F8R/CdnpkvHD6JjHf0NgceSOdY7QRNIMdcYxTmGw=; b=HnQsjWDytzn/SMcK7Sej+WKWTD+xRszgGf/9TFk32OP8pN+weVgOXOkHsP6TRLoperVAFp89I897CzX3JHqdCkU4pLpKXOweM6+PPPc2AgDShpPLpy4UMzUB6zvpHO+QIh5U+3KJgbAhXltjlu1Vg1CxVOQMVjccWz2qAlkY6Pg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; Received: from ubuntubox.rdc.aquantia.com (95.79.108.179) by CY1PR0701MB1663.namprd07.prod.outlook.com (2a01:111:e400:5289::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1122.18; Thu, 13 Sep 2018 12:23:13 +0000 From: Igor Russkikh <igor.russkikh@aquantia.com> To: dev@dpdk.org Cc: pavel.belous@aquantia.com, igor.russkikh@aquantia.com Date: Thu, 13 Sep 2018 15:22:51 +0300 Message-Id: <1536841371-12431-1-git-send-email-igor.russkikh@aquantia.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [95.79.108.179] X-ClientProxiedBy: AM3PR07CA0114.eurprd07.prod.outlook.com (2603:10a6:207:7::24) To CY1PR0701MB1663.namprd07.prod.outlook.com (2a01:111:e400:5289::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 974a8286-5667-48ee-c8af-08d61973addf X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989137)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:CY1PR0701MB1663; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1663; 3:plO0yx6opyEP4jCpAxMCIcnd4wBR0FUpFRU14WV0ZHsvGDJswl0QmtDMZsaLb1prnknnW38Z2BE2NdCa5YaIrxBnt0CX15PobQhimiISf1YZev0/Xy7TZ9Gj0kdhlhffWV7CgmJMbP+6QnPlfdvqZa+uckUYOanlh9sDAz94IcIfWLenyXMKJ5OCoV0ai2dywgLllwMk0qKcTPY/hzDnA5lsTEjAaZKzVNjQLxdsOoPejA3C2rhWR4gDq48xsqwj; 25:+5qYfo5dLanBLMyHBsUR3OaqEItpGOFkm6xvGoW/iwxNNpJpfD9Rd0s4eqGShyG5dMypiqpaRR0PCkECmJOKURG46effJ05C93qx00dT0jvqysoK720b0S3yoma0YGOjJuhsC0BJYvBbzbG2ZVevl6vq4vLqwe+bg1/NGWcbuOndKYjzKlZulelgawV9EQk6QuC4vAz6kCAtbTl92vt5alj5TteqSKDTdz1XZbvkiJc+vAKMuiXBINaVy6B8BjmYY1S+6edKxB270qmNrLu9J2/eKEdX7SHVJLoAU19MoRQv4c+H1vm+7Bho13W6htmHgr0fyWHh1RgnuL2l1rpADemQAkiNXdv+pMYVVhJZrtE=; 31:tYjCfJG3a+BSaMF1owFd+QBP/KMJhKrSwwFuJtD97YMUi8DP+sBkRy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RVS: <CY1PR0701MB16631E0B5963F408F35316E6981A0@CY1PR0701MB1663.namprd07.prod.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231344)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149027)(150027)(6041310)(20161123560045)(20161123562045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(201708071742011)(7699050); SRVR:CY1PR0701MB1663; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1663; X-Forefront-PRVS: 07943272E1 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(396003)(39850400004)(346002)(136003)(376002)(366004)(199004)(189003)(16586007)(5660300001)(6916009)(316002)(6666003)(68736007)(478600001)(53936002)(6306002)(36756003)(72206003)(47776003)(81166006)(8676002)(81156014)(51416003)(2906002)(52116002)(7696005)(50226002)(6486002)(66066001)(86362001)(4326008)(14444005)(97736004)(6116002)(956004)(476003)(966005)(107886003)(8936002)(44832011)(486006)(217873002)(25786009)(2351001)(16526019)(186003)(26005)(305945005)(386003)(7736002)(2616005)(2361001)(50466002)(105586002)(48376002)(106356001)(3846002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1663; H:ubuntubox.rdc.aquantia.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0701MB1663; 23:jN0j1g5+S4NDMA5Qyiufe79S0l6tT8db9+jZ8qs?= chAodwcwO4TYxHMLPLSvpM1OcwP3LZj/4XBU9RYhPrVeP1ykN6FONQlSDdlOjj3pEaxldmBMUKmssMBhdz5KOKsAVB8B0fTYv4xWUgbJmwDLRfVq5njnNzyhvRz3p7DX+woQX8hknqoLd66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/5bWB3Nw=; 7:VHZhdHPpdbMx0abjys3nGJbvUD/KWBvYfVpHvYSX/JNEN7hZVgSehecTA1b0GVgLcHvmCJyx16KZoLSS2Ch8bvT80+TVXx9/4k1QLVbVE0ddL6KW5o44tZ8y/uAOqC2UFx2Eq8fvZnBQYlu5+L6atdw3xERqu0WGnAgkDEv158QESVtmViAPxECKaNB4QtHwoWJkzCAwlYOd5l1uGVDb1CegZvDvXDEbKZ+uqQoLQh//r0Hl/EA9tOarlfNqkNED SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Sep 2018 12:23:13.8716 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 974a8286-5667-48ee-c8af-08d61973addf X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1663 Subject: [dpdk-dev] [PATCH v2 00/21] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org Sender: "dev" <dev-bounces@dpdk.org> |
Message
Igor Russkikh
Sept. 13, 2018, 12:22 p.m. UTC
Hello DPDK community! Aquantia would like to contribute PMD for aQtion AQC10X NIC family: https://www.aquantia.com/products/aqtion/chips/ These are 10G ethernet NICs with various features. We do base this work on parts of the existing native linux kernel driver source (atlantic). Shared code is hw_atl hardware and registers access module. We'd like to target this driver for 18.11 DPDK release timeline, it'd be good to hear comments from the community on how feasible is this. This patchset implements basic driver infrastructure, vlan offloads, checksumm offloads, rss control, multiring, jumbo frames and other features. Later on, we plan to share HW MACSEC offloads, rxflows and other features. version 2 changes: - fixed build on freebsd (no ETIME const) - fixed a bunch of checkpatch failures and warnings - removed extra CFLAGS disabled warning - making static arrays const Igor Russkikh (11): net/atlantic: documentation and rel notes net/atlantic: logging macroes and some typedefs net/atlantic: hw_atl register declarations net/atlantic: b0 hardware layer main logic net/atlantic: firmware operations layer net/atlantic: hardware register access routines net/atlantic: rte device start, stop, initial configuration net/atlantic: RSS and RETA manipulation API net/atlantic: LED control DPDK and private APIs net/atlantic: device statistics, xstats net/atlantic: RX side structures and implementation Pavel Belous (10): net/atlantic: atlantic PMD driver skeleton net/atlantic: link status and interrupt management net/atlantic: add hw adapter structures and defines net/atlantic: flow control configuration net/atlantic: MAC address manipulations net/atlantic: eeprom and register manipulation routines net/atlantic: promisc and allmulti configuration net/atlantic: VLAN filters and offloads net/atlantic: device MTU and statuses net/atlantic: TX side structures and implementation config/common_base | 9 + doc/guides/nics/atlantic.rst | 59 + doc/guides/nics/features/atlantic.ini | 37 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 + drivers/net/Makefile | 2 + drivers/net/atlantic/Makefile | 46 + drivers/net/atlantic/atl_common.h | 96 + drivers/net/atlantic/atl_ethdev.c | 1751 +++++++++++++++ drivers/net/atlantic/atl_ethdev.h | 133 ++ drivers/net/atlantic/atl_hw_regs.c | 52 + drivers/net/atlantic/atl_hw_regs.h | 53 + drivers/net/atlantic/atl_logs.h | 68 + drivers/net/atlantic/atl_rxtx.c | 1365 ++++++++++++ drivers/net/atlantic/atl_types.h | 235 ++ drivers/net/atlantic/hw_atl/hw_atl_b0.c | 510 +++++ drivers/net/atlantic/hw_atl/hw_atl_b0.h | 40 + drivers/net/atlantic/hw_atl/hw_atl_b0_internal.h | 145 ++ drivers/net/atlantic/hw_atl/hw_atl_llh.c | 1490 +++++++++++++ drivers/net/atlantic/hw_atl/hw_atl_llh.h | 714 ++++++ drivers/net/atlantic/hw_atl/hw_atl_llh_internal.h | 2407 +++++++++++++++++++++ drivers/net/atlantic/hw_atl/hw_atl_utils.c | 942 ++++++++ drivers/net/atlantic/hw_atl/hw_atl_utils.h | 510 +++++ drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c | 618 ++++++ drivers/net/atlantic/meson.build | 28 + drivers/net/atlantic/rte_pmd_atlantic.c | 19 + drivers/net/atlantic/rte_pmd_atlantic.h | 44 + drivers/net/atlantic/rte_pmd_atlantic_version.map | 4 + drivers/net/meson.build | 1 + mk/rte.app.mk | 1 + 30 files changed, 11385 insertions(+) create mode 100644 doc/guides/nics/atlantic.rst create mode 100644 doc/guides/nics/features/atlantic.ini create mode 100644 drivers/net/atlantic/Makefile create mode 100644 drivers/net/atlantic/atl_common.h create mode 100644 drivers/net/atlantic/atl_ethdev.c create mode 100644 drivers/net/atlantic/atl_ethdev.h create mode 100644 drivers/net/atlantic/atl_hw_regs.c create mode 100644 drivers/net/atlantic/atl_hw_regs.h create mode 100644 drivers/net/atlantic/atl_logs.h create mode 100644 drivers/net/atlantic/atl_rxtx.c create mode 100644 drivers/net/atlantic/atl_types.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_b0.c create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_b0.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_b0_internal.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_llh.c create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_llh.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_llh_internal.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_utils.c create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_utils.h create mode 100644 drivers/net/atlantic/hw_atl/hw_atl_utils_fw2x.c create mode 100644 drivers/net/atlantic/meson.build create mode 100644 drivers/net/atlantic/rte_pmd_atlantic.c create mode 100644 drivers/net/atlantic/rte_pmd_atlantic.h create mode 100644 drivers/net/atlantic/rte_pmd_atlantic_version.map