From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0058.outbound.protection.outlook.com [104.47.38.58]) by dpdk.org (Postfix) with ESMTP id 63B441B3BB for ; Thu, 11 Oct 2018 12:34:52 +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=zR9gX7tly+YQBmM1KhD4I9oS46JbKI6mBSUbrqG4954=; b=vY/iCFHllF/jXiredXE9adDOtxX865L1TC2qoF1qGy7aidLa7veC7DOPkkz3uXW3+Y8veTonb0RggdUoLaeePUKxmzoyvayHAaFUdVWsR40PDBqtR5SQeWU+v/j5R5um5H8avM3/w8Zixy368cOAmQTlZJpV+DSGclJNrH+7so4= Received: from BY1PR0701MB1660.namprd07.prod.outlook.com (10.162.110.22) by BY1PR0701MB1206.namprd07.prod.outlook.com (10.160.105.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1228.24; Thu, 11 Oct 2018 10:34:48 +0000 Received: from BY1PR0701MB1660.namprd07.prod.outlook.com ([fe80::346d:e756:e70e:17]) by BY1PR0701MB1660.namprd07.prod.outlook.com ([fe80::346d:e756:e70e:17%3]) with mapi id 15.20.1228.020; Thu, 11 Oct 2018 10:34:48 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh , "ferruh.yigit@intel.com" Thread-Topic: [PATCH v5 00/23] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver Thread-Index: AQHUYU4IQQ7wbkzTBkm4EOxFEJw0Vg== Date: Thu, 11 Oct 2018 10:34:48 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR04CA0088.eurprd04.prod.outlook.com (2603:10a6:803:64::23) To BY1PR0701MB1660.namprd07.prod.outlook.com (2a01:111:e400:522a::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Igor.Russkikh@aquantia.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [95.79.108.179] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; BY1PR0701MB1206; 6:neYslmlz5mxx93Tk2I474GMK1BwFeORIyCEpDdOq7c6bT1toC91ISly+s0r00FfvZt+QZCjyuCN6eeni14dvTRowEWsv8moXHaczyVHRNdAG6MjBELq42CyFcaHcaMWuhWIYaSZDCx2fDLMo+8mXzfo90SwWqrmaU0jAiRuMHCTAIVtQMauyMH3GQGxDwojN7s8H+7Cqne/0zVX59wqr+M2qqpAr8izHMBLFS37vFee2XNjCQkrHA81mH8Ozh1f9ykauwnG2CSEUBE0t9dLrMFgXG6wGpk0mELYcAAlmZy0m8Hn9HP0rEy3pWZNvvv3Us6JmXFCKvd0eCwrUlqlO8wG7wfOSCdT7WKhxwC1MUvQWpwvAmBw2cGYLWj9xs75J8mePwSnJvasg7fcDUsJFr7RkfcQ4FtveoxvrpepcvMFrfV9pMPaBWT73YZz6PeAjRMGhAIdE1W0RmVWuVdXlbLVRgPSn6J8Z5cao7SzCLvM=; 5:lBSNcxjxx2+MGhP7t0PklKBXUSLx4txvKJlJgVRQ5XAz44DUDZnusKRNg1wxSY8xEACaKvJO1AUX9C1e9zGAfS2LVqSVEXbwk7wEFQ08tXAgquexylx1yuQeMo+UNsgXLTMn+9du/zX6hAGevGZsGalG95CSWuBmObHZqAWQXu8=; 7:V0BYEdsOofgWhubypEKdd7u9bP/ZEpRPfq67Ok4tKlCAGqAvdjVipxVq8SmFwYxCT+2Hhc34ij5MdvD+EEBH0VynoV6CpzmCTKOaBzqdz85j2oSynOW0DoFZnHG15zb+fahWP603G8aQobTl6eUvst4X+DK1stYkkR2hUWN24boOVSPurJ106guc/0ya5Jr5CBquOR1bWYbi3XMIRIyoKnWiL4V8Lo3e+kdec+oPKz1F73OwBg4kwBIPky9Spes8 x-ms-office365-filtering-correlation-id: d99648bc-95bc-47b2-5d0c-08d62f652ac8 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BY1PR0701MB1206; x-ms-traffictypediagnostic: BY1PR0701MB1206: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(192374486261705); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3002001)(3231355)(944501410)(52105095)(10201501046)(93006095)(93001095)(149066)(150057)(6041310)(20161123564045)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(201708071742011)(7699051); SRVR:BY1PR0701MB1206; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1206; x-forefront-prvs: 08220FA8D6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(136003)(396003)(39850400004)(376002)(366004)(189003)(199004)(486006)(14444005)(256004)(2351001)(25786009)(186003)(44832011)(2501003)(6306002)(26005)(6436002)(6512007)(478600001)(5640700003)(305945005)(71190400001)(71200400001)(966005)(72206003)(4326008)(53936002)(66066001)(7736002)(217873002)(8676002)(6486002)(102836004)(36756003)(14454004)(81166006)(81156014)(1730700003)(386003)(6506007)(6116002)(3846002)(54906003)(68736007)(476003)(99286004)(52116002)(8936002)(316002)(2616005)(86362001)(106356001)(5660300001)(97736004)(2900100001)(105586002)(6916009)(5250100002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1206; H:BY1PR0701MB1660.namprd07.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: aquantia.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: FAF7WXLXtCdTTXwC40MGI8BjJMVqcKze7b60S1jb+yGpnDp7QZRjeKzRpO1iiu1WoOG/Id9jWJIDMiaKJPIbVRKGT4nKq9fmBtPcccKgTk84LBgTPvv6Uw4GmZR0DetxT11Ksjxgr+kWt6lxKH/gVtuqMoT8YCXTzwHaAiYtnN87+Vd5kDB5Q8+JnXLjXMewMOy6X5Z6hJd0GHTh3RcHDMmaVG2LSorgnVMr7rVyGVJ1mslFbiXiJYbUUWNQSQXEAU1J34KintSvVBrxrDhfRdIgH33Er9h3XM5o0f7vyirzVcm2l7r+EbC4vHnSe5PcCIJkSH8zktl1cNsQgGsYCe4I3doFSf07nGt+KR4GWrY= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: aquantia.com X-MS-Exchange-CrossTenant-Network-Message-Id: d99648bc-95bc-47b2-5d0c-08d62f652ac8 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2018 10:34:48.7429 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1206 Subject: [dpdk-dev] [PATCH v5 00/23] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Oct 2018 10:34:52 -0000 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 acce= ss 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 5 changes: - MTU configuration is now in separate patch - Custom LED api removed. Will resubmit separately later on - Add product link to docs, rearranged adapter features file - MAINTAINERS file update - logging name prefix fixed - rte_eth_copy_pci_info is not needed in init - dev->security_ctx is not used (removed free) - fixed adapter_stopped and dev stop/close states interactions - return error if get_fw_version fails - added port# to important error logs - rte_eth_linkstatus_get instead of atomic64 ops - swstats are now cleared in stats_reset - xstats_reset callback declared as atl_dev_stats_reset - stats_mapping_set removed - check-git-logs fixes version 4 changes: - fixed build errors with -Werror on gcc7 - validated build on arm64, freebsd x86_64 - PPC marked as unsupported arch - stdbool.h is used instead of bool redefines version 3 changes: - patchset fixed to be incrementally buildable - extra includes removed and cleaned up - license changed to dual GPL-BSD for pieces shared with linux - removed extra logging #defines - misc comments from previous review session 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 (9): net: atlantic: maintainers and documentation net/atlantic: logging macroses and some typedefs net/atlantic: hardware registers access routines net/atlantic: atlantic hardware layer routines net/atlantic: firmware operations layer net/atlantic: b0 hardware layer main logic net/atlantic: receive side structures and implementation net/atlantic: support for RSS and RETA manipulation API net/atlantic: release notes Pavel Belous (14): net/atlantic: atlantic PMD driver skeleton net/atlantic: rte device start/stop/initial configuration net/atlantic: initial support for Tx/Rx net/atlantic: transmit side structures and implementation net/atlantic: link status and interrupt management net/atlantic: device statistics support net/atlantic: support for Rx/Tx descriptors information net/atlantic: promisc and allmulti configuration net/atlantic: flow control configuration net/atlantic: support for MAC address manipulations net/atlantic: support for MTU configuration net/atlantic: support for VLAN filters and offloads net/atlantic: support for EEPROM get/set net/atlantic: read MAC registers for debug purposes MAINTAINERS | 7 + config/common_base | 5 + config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + doc/guides/nics/atlantic.rst | 47 + doc/guides/nics/features/atlantic.ini | 36 + doc/guides/nics/index.rst | 1 + doc/guides/rel_notes/release_18_11.rst | 5 + drivers/net/Makefile | 1 + drivers/net/atlantic/Makefile | 35 + drivers/net/atlantic/atl_common.h | 96 + drivers/net/atlantic/atl_ethdev.c | 1540 +++++++++++++ drivers/net/atlantic/atl_ethdev.h | 108 + drivers/net/atlantic/atl_hw_regs.c | 52 + drivers/net/atlantic/atl_hw_regs.h | 53 + drivers/net/atlantic/atl_logs.h | 31 + drivers/net/atlantic/atl_rxtx.c | 1367 ++++++++++++ drivers/net/atlantic/atl_types.h | 186 ++ 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 | 12 + drivers/net/atlantic/rte_pmd_atlantic_version.map | 4 + drivers/net/meson.build | 1 + mk/rte.app.mk | 1 + 30 files changed, 10965 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_version.map --=20 2.7.4