From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0068.outbound.protection.outlook.com [104.47.42.68]) by dpdk.org (Postfix) with ESMTP id 81D291B13D for ; Tue, 9 Oct 2018 11:31:31 +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=dVQoiKJ//GNjcb0UnpcsNhdTIOTJmPEWviAadFjBK3o=; b=DukLiAeltEGF0dvFBO//f+DoD7MzwG7e/bSxh5ghLl++3+/PcwrhZrzSgILt+n4nTqUoDqdqXEZSlr/dRPHkfKpBODqmigw3LYSunWtCrDFeYaHpPVCgVUNDgr6BqBie4QE+EdMTzKTpKj9+ww7SkjRW4hLT3tL3KuAYKuuO45I= Received: from BLUPR0701MB1651.namprd07.prod.outlook.com (10.163.84.21) by BLUPR0701MB2100.namprd07.prod.outlook.com (10.163.122.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1207.27; Tue, 9 Oct 2018 09:31:27 +0000 Received: from BLUPR0701MB1651.namprd07.prod.outlook.com ([fe80::7c97:1527:4c0:8b46]) by BLUPR0701MB1651.namprd07.prod.outlook.com ([fe80::7c97:1527:4c0:8b46%3]) with mapi id 15.20.1207.024; Tue, 9 Oct 2018 09:31:27 +0000 From: Igor Russkikh To: "dev@dpdk.org" CC: Pavel Belous , Igor Russkikh , "ferruh.yigit@intel.com" Thread-Topic: [PATCH v4 00/22] net/atlantic: Aquantia aQtion 10G NIC Family DPDK PMD driver Thread-Index: AQHUX7LaxSupCS0cCkCcQzVUs3KOfA== Date: Tue, 9 Oct 2018 09:31:26 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: AM0PR01CA0028.eurprd01.prod.exchangelabs.com (2603:10a6:208:69::41) To BLUPR0701MB1651.namprd07.prod.outlook.com (2a01:111:e400:58c6::21) 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; BLUPR0701MB2100; 6:1wy5e/E4C9kP/Z11kGu4seR0fm13aWxDwB5JKymRqmhk1UlFuB3nImaBYJAdyvNUrE/iLwcxT2EqOby1sy3qjzbqcR9DuU6L2VSq+RicILWr0nkDm3s2OT0RaSc1GZKwspthAllanmzfcztFmQxcRU9Bb1z/zmjlPJp0PLRO5/ueoRknVD+zl21y4nblxTHaFtZNCw702ibDTobgiEOZWT3HiaZCPMRncmvfYJePrRlupZDRBDKfVCfbZyKt1GX/Z3GEO5nefJXmdDqzcPvTCgy3XjIMZd8Ud/x/nPwWtQsqEpjdTPLDTJYnKJl2kBnct+xhqXo2SjIC2bLzwiHsSlORbOyEfF2MoOUq70Mwwi6PkYyrBsEO5McAFqG9OkiTqL5/QuTom58DhXM7fca8dxLZYeXCQ5ej2Dh9Prb6gXHc1BgSsHDztI1QzSqMSECk6MdHNC7TNAukELUxyhRG9A==; 5:+ATXsI9noVIjveo3ecC0VBPNLHnkufzfykjfSKX1XOXJvVGD1N389c+/I8XgHTWEb6TxT7PlK14/2OfDJuzyghvWGqyxAzcEXrrc92WrOsnt6DIQ2VjBLdpEkW6bTh+1Sq9mfwCxs+5UxqpdXdgXvNVi+2oF6bfpxj+XBxZvuAU=; 7:nt2sBUHNan9HZHhYabecvq+mJVN7kxT4Ydkw0ybTQLelddZF637HKqojkbVQ1o8+51vJIb9jQdz+ARLpEV+wXDtUQJM9YM60HJ9yY2xmFEsrbLyYvFPJkYNx23Ht1hXU3pfKSkvQnDmY0p9tqSXSxKpdpT3V5Tha9eiROegCMGONosxK9QfvsV3gLVDCi6Dxcxldpkyj3HQdJO2jK9XyMpKRlBDfxynijAeWj8vDVINR5i0+AnpCsvYN+rBwAPxU x-ms-office365-filtering-correlation-id: 11bfde74-9487-4dd1-aec2-08d62dc9fbed x-microsoft-antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BLUPR0701MB2100; x-ms-traffictypediagnostic: BLUPR0701MB2100: 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:(6040522)(2401047)(8121501046)(5005006)(3231355)(944501410)(52105095)(3002001)(93006095)(93001095)(10201501046)(149066)(150057)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051); SRVR:BLUPR0701MB2100; BCL:0; PCL:0; RULEID:; SRVR:BLUPR0701MB2100; x-forefront-prvs: 08200063E9 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(366004)(376002)(346002)(39850400004)(396003)(189003)(199004)(217873002)(305945005)(36756003)(25786009)(5250100002)(476003)(86362001)(72206003)(2351001)(5660300001)(6916009)(478600001)(44832011)(2906002)(106356001)(7736002)(486006)(4326008)(3846002)(6116002)(105586002)(97736004)(2616005)(14444005)(256004)(26005)(186003)(66066001)(2501003)(6512007)(316002)(53936002)(966005)(102836004)(6306002)(14454004)(5640700003)(71190400001)(52116002)(68736007)(71200400001)(8936002)(2900100001)(8676002)(1730700003)(81156014)(81166006)(99286004)(54906003)(6436002)(6506007)(386003)(6486002); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB2100; H:BLUPR0701MB1651.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: aFkrxAwNHuudA3iKoHVh0frC2R940rqE0sS7+gUOOkWScP4GnhVIuG+gSncJF+g7scZs5BxZchn3BKQQg/y0XJRsW7nzszqbQzL1wEzGPed1B3/Lz7JzPdnBoKZkr0hZVeEVzD9nkNgR3aIsBgkSpnJBidtz7pOOhMruJ7nWfS8rq3QDvDysi9uAB6zxBdvqT1jt8fT/J2xPTWMsj5wjxYIgBCaGkNDO9rjSzZaA9KoHwRtlpXHAMuMx2guTSnPS8/P85lbX+pLgesK3NWAqWq1QSAvaXQOxZraKVxLB+oJaESWC0bnEGfofSWlGdAnslqtHHcEZZueQsX7EHBgm94A1v6oYIjUmDofToz1BXDY= 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: 11bfde74-9487-4dd1-aec2-08d62dc9fbed X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2018 09:31:26.9177 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 83e2e134-991c-4ede-8ced-34d47e38e6b1 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB2100 Subject: [dpdk-dev] [PATCH v4 00/22] 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: Tue, 09 Oct 2018 09:31:32 -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 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: logging macroes and some typedefs net/atlantic: hardware register access routines net/atlantic: hw_atl register declarations net/atlantic: firmware operations layer net/atlantic: b0 hardware layer main logic net/atlantic: RX side structures and implementation net/atlantic: RSS and RETA manipulation API net/atlantic: LED control DPDK and private APIs net/atlantic: documentation and rel notes Pavel Belous (13): net/atlantic: atlantic PMD driver skeleton net/atlantic: rte device start, stop, initial configuration net/atlantic: TX/RX function prototypes net/atlantic: TX side structures and implementation net/atlantic: link status and interrupt management net/atlantic: device statistics, xstats net/atlantic: support for RX/TX descriptors information net/atlantic: promisc and allmulti configuration net/atlantic: flow control configuration net/atlantic: MAC address manipulations net/atlantic: VLAN filters and offloads net/atlantic: eeprom and register manipulation routines net/atlantic: support for read MAC registers for debug purposes config/common_base | 5 + config/defconfig_ppc_64-power8-linuxapp-gcc | 1 + doc/guides/nics/atlantic.rst | 53 + 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 | 1 + drivers/net/atlantic/Makefile | 39 + drivers/net/atlantic/atl_common.h | 96 + drivers/net/atlantic/atl_ethdev.c | 1688 +++++++++++++++ drivers/net/atlantic/atl_ethdev.h | 111 + 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 | 1347 ++++++++++++ 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 | 15 + 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 + 31 files changed, 11166 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 --=20 2.7.4