From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 4FF18A0471 for ; Thu, 20 Jun 2019 10:39:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BA13D1D021; Thu, 20 Jun 2019 10:39:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 79CAE1D01D for ; Thu, 20 Jun 2019 10:39:48 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x5K8dlIF017699; Thu, 20 Jun 2019 01:39:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=T5o3F1c4CeyVyWEOiQkQPPoYwsu+Xgt8npYcZ1c4AAo=; b=gm1351QzBx1yJasHLOg/pzbAqQQGIN/HgBuvd60S7695Jf/S1OUdTgee08lCl3O4HUJs VlqDHnsMcFw5E23DY7U35SWLpXYNpI39KO94JUrhlkghMKIqZh+u2Kow6lLgdQpUURde J8OfuVkpT+eoAeQ/GJIARQBDNWv6qvehY7dBds7/I9LLROsbnwdXRy8ACSDRAbCym8Md aL/IGb7l1X87DZPQhurgsnLCxI1bilcGCkVLLPVcPJmwNffpN95GhP3GmPA2QOnIk6Uz DDRYgL7Xem71GIrbBLjmZ1u7XfiQ/anh6h69OyeZgIZ7TYFln3IAf7Ng4dFzqUXSzQiN XA== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2t861v8510-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 20 Jun 2019 01:39:47 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 20 Jun 2019 01:39:45 -0700 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (104.47.42.58) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 20 Jun 2019 01:39:45 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=T5o3F1c4CeyVyWEOiQkQPPoYwsu+Xgt8npYcZ1c4AAo=; b=CqylA+pw//Ca8eGP3ifk7hmmAamasmnuzRM0HrtgBh2VbNOh7efXYIRUAJ49YGWg+5wgGsAhXJcUlQnbiEPcGrl2jyyJgCNSxWXxGyc+DdRmLaepnf7IRfpCWCOz9FjGWTTahBMV4R64EcycG5v8wDja4tCidm6/nYKg/7dCFu0= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB2469.namprd18.prod.outlook.com (20.179.92.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1987.11; Thu, 20 Jun 2019 08:39:40 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::75fd:a528:a1bf:bef4]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::75fd:a528:a1bf:bef4%3]) with mapi id 15.20.1987.014; Thu, 20 Jun 2019 08:39:40 +0000 From: Jerin Jacob Kollanukkaran To: Jerin Jacob Kollanukkaran , "dev@dpdk.org" CC: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH v3 00/27] OCTEON TX2 common and mempool driver Thread-Index: AQHVJSUkTXK+D3NO3kOlyfFt26unVKakPJoQ Date: Thu, 20 Jun 2019 08:39:40 +0000 Message-ID: References: <20190601014905.45531-1-jerinj@marvell.com> <20190617155537.36144-1-jerinj@marvell.com> In-Reply-To: <20190617155537.36144-1-jerinj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [106.200.240.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 235b3d93-e59e-4a0e-dd41-08d6f55ad636 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB2469; x-ms-traffictypediagnostic: BYAPR18MB2469: x-ms-exchange-purlcount: 6 x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0074BBE012 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(136003)(396003)(346002)(39860400002)(366004)(376002)(189003)(199004)(13464003)(8936002)(52536014)(25786009)(486006)(6246003)(478600001)(6116002)(3846002)(81166006)(81156014)(305945005)(8676002)(71190400001)(55016002)(476003)(11346002)(76116006)(2906002)(5660300002)(6436002)(68736007)(66476007)(2501003)(14444005)(73956011)(66446008)(64756008)(71200400001)(229853002)(966005)(66946007)(74316002)(256004)(446003)(66556008)(66066001)(9686003)(186003)(86362001)(102836004)(26005)(110136005)(6306002)(7696005)(6506007)(316002)(33656002)(99286004)(53546011)(4326008)(7736002)(76176011)(53936002)(14454004); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB2469; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WW4m28IDWvwugKNMhsBvFvfPyUM3ff49TJhikbonuixvsVr5OVWz5MalXzkqNXYP287Ils5BA9ArO0Unts1p9a5AccqzdQjQNbKPjP55fgbH18a8+OOchZqTCepiFFsSqhTbQkMoDd+7eTUmUngxwLMNmvqV1WoO4B6IJxR9B0+I6nqP1iPnDJUMrr1K/OsV+haBJw8kwkF1dlQbQCGTGBh5rQeBKtHDh5WzmFg0GPWQ6swWtka8ntlqxrggbN1qyvnnSGv/NvRUC75M+TY1eq3m71hbh1R0eCrkr+SYPKponVvDwviZUUw8UzCTy8IMRBRUP+qzzC+9TRdfvS8GfK+AnRIKbJBYMSEnFesx6nKlifl77wD1OvsoqjG4xOZ/0/IiVQJ0iE3lbZf9/A5z2EFdI9D2le7uSe5z9ZTqH0o= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 235b3d93-e59e-4a0e-dd41-08d6f55ad636 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jun 2019 08:39:40.8076 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB2469 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-06-20_06:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH v3 00/27] OCTEON TX2 common and mempool 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" > -----Original Message----- > From: jerinj@marvell.com > Sent: Monday, June 17, 2019 9:25 PM > To: dev@dpdk.org > Cc: Jerin Jacob Kollanukkaran ; Thomas Monjalon > > Subject: [dpdk-dev] [PATCH v3 00/27] OCTEON TX2 common and mempool > driver Hi Thomas, Could you merge this patch series If there are no more review comments.=20 Following patches sets[1] has dependency on this series. [1] http://patches.dpdk.org/patch/54002/ http://patches.dpdk.org/patch/54057/ http://patches.dpdk.org/patch/54017/ =20 > From: Jerin Jacob >=20 > This patch set adds initial driver support for OCTEON TX2 SoC. >=20 > OCTEON TX2 is an armv8.2 SoC with integrated HW based mempool, ethdev, > cryptodev, compressdev, and eventdev devices. >=20 > This patch set adds common driver and mempool device driver for OCTEON > TX2 SoC. > There will be three more patch series in this release to support ethdev, > eventdev and cryptodev devices >=20 > More details about the OCTEON TX2 platform may found in [PATCH 15/27] > doc: add Marvell OCTEON TX2 platform guide under > doc/guides/platform/octeontx2.rst file. >=20 > This patches series also available at https://github.com/jerinjacobk/dpdk= .git > for quick download and review. >=20 > # Note on check patch issues > 1) The mailbox prototype is the same as Linux kernel. > https://elixir.bootlin.com/linux/latest/source/drivers/net/ethernet/marve= ll/ > octeontx2/af/mbox.h#L123 > In order to keep the base code intact, mailbox prototype expressed as > macros with warnings > 2) There are a few warnings from tooling about expected to add new > symbols in the EXPERIMENTAL section. Since these API will be called only = by > octeontx2 client drivers and prototype are not exported to the applicatio= n, > those warnings are not relevant, Discussion at > http://patches.dpdk.org/patch/53590/ >=20 > v3: >=20 > 1) Replace the reference to v19.08 from v19.05 > 2) remove rte_panic from driver code > 3) rebase to dpdk.org master(as of 17-June) >=20 > v2: >=20 > 1) Added CONFIG_RTE_MAX_VFIO_GROUPS for octeontx2 config in patch 1 > 2) Rebased to master to accommodate latest rename like ETHER_ADDR_LEN > to RTE_ETHER_ADDR_LEN > 3) Added pmd.raw.octeontx2.dpi log message in patch 5 > 4) Update platform guide with debugfs documentation in patch 15 > 5) Fix arm64 build issue with patch 25(Aaron Conole) > "mempool/octeontx2: add optimized dequeue operation for arm64" >=20 > Cc: Thomas Monjalon >=20 > Jerin Jacob (22): > common/octeontx2: add build infrastructure and HW definition > common/octeontx2: add IO handling APIs > common/octeontx2: add mbox request and response definition > common/octeontx2: add mailbox base support infra > common/octeontx2: add runtime log infra > common/octeontx2: add mailbox send and receive support > common/octeontx2: introduce common device class > common/octeontx2: introduce irq handling functions > common/octeontx2: handle intra device operations > common/octeontx2: add VF mailbox IRQ and msg handler > doc: add Marvell OCTEON TX2 platform guide > mempool/octeontx2: add build infra and device probe > drivers: add init and fini on octeontx2 NPA object > mempool/octeontx2: add NPA HW operations > mempool/octeontx2: add NPA IRQ handler > mempool/octeontx2: add context dump support > mempool/octeontx2: add mempool alloc op > mempool/octeontx2: add mempool free op > mempool/octeontx2: add remaining slow path ops > mempool/octeontx2: add fast path mempool ops > mempool/octeontx2: add devargs for max pool selection > doc: add Marvell OCTEON TX2 mempool documentation >=20 > Nithin Dabilpuram (4): > common/octeontx2: add AF to PF mailbox IRQ and msg handlers > common/octeontx2: add PF to VF mailbox IRQ and msg handlers > common/octeontx2: add uplink message support > common/octeontx2: add FLR IRQ handler >=20 > Pavan Nikhilesh (1): > mempool/octeontx2: add optimized dequeue operation for arm64 >=20 > MAINTAINERS | 10 + > config/common_base | 5 + > config/defconfig_arm64-octeontx2-linuxapp-gcc | 3 + > doc/guides/mempool/index.rst | 1 + > doc/guides/mempool/octeontx2.rst | 90 + > .../octeontx2_packet_flow_hw_accelerators.svg | 2804 > +++++++++++++++++ .../img/octeontx2_resource_virtualization.svg | 2418 > ++++++++++++++ > doc/guides/platform/index.rst | 1 + > doc/guides/platform/octeontx2.rst | 496 +++ > doc/guides/rel_notes/release_19_08.rst | 2 + > drivers/common/Makefile | 5 + > drivers/common/meson.build | 2 +- > drivers/common/octeontx2/Makefile | 37 + > drivers/common/octeontx2/hw/otx2_nix.h | 1379 ++++++++ > drivers/common/octeontx2/hw/otx2_npa.h | 305 ++ > drivers/common/octeontx2/hw/otx2_npc.h | 472 +++ > drivers/common/octeontx2/hw/otx2_rvu.h | 212 ++ > drivers/common/octeontx2/hw/otx2_sso.h | 209 ++ > drivers/common/octeontx2/hw/otx2_ssow.h | 56 + > drivers/common/octeontx2/hw/otx2_tim.h | 34 + > drivers/common/octeontx2/meson.build | 25 + > drivers/common/octeontx2/otx2_common.c | 248 ++ > drivers/common/octeontx2/otx2_common.h | 121 + > drivers/common/octeontx2/otx2_dev.c | 1052 +++++++ > drivers/common/octeontx2/otx2_dev.h | 97 + > drivers/common/octeontx2/otx2_io_arm64.h | 95 + > drivers/common/octeontx2/otx2_io_generic.h | 63 + > drivers/common/octeontx2/otx2_irq.c | 254 ++ > drivers/common/octeontx2/otx2_irq.h | 25 + > drivers/common/octeontx2/otx2_mbox.c | 416 +++ > drivers/common/octeontx2/otx2_mbox.h | 1483 +++++++++ > .../rte_common_octeontx2_version.map | 39 + > drivers/mempool/Makefile | 1 + > drivers/mempool/meson.build | 2 +- > drivers/mempool/octeontx2/Makefile | 39 + > drivers/mempool/octeontx2/meson.build | 23 + > drivers/mempool/octeontx2/otx2_mempool.c | 438 +++ > drivers/mempool/octeontx2/otx2_mempool.h | 208 ++ > .../mempool/octeontx2/otx2_mempool_debug.c | 135 + > drivers/mempool/octeontx2/otx2_mempool_irq.c | 303 ++ > drivers/mempool/octeontx2/otx2_mempool_ops.c | 760 +++++ > .../rte_mempool_octeontx2_version.map | 8 + > mk/rte.app.mk | 6 + > 43 files changed, 14380 insertions(+), 2 deletions(-) create mode 10064= 4 > doc/guides/mempool/octeontx2.rst create mode 100644 > doc/guides/platform/img/octeontx2_packet_flow_hw_accelerators.svg > create mode 100644 > doc/guides/platform/img/octeontx2_resource_virtualization.svg > create mode 100644 doc/guides/platform/octeontx2.rst create mode > 100644 drivers/common/octeontx2/Makefile create mode 100644 > drivers/common/octeontx2/hw/otx2_nix.h > create mode 100644 drivers/common/octeontx2/hw/otx2_npa.h > create mode 100644 drivers/common/octeontx2/hw/otx2_npc.h > create mode 100644 drivers/common/octeontx2/hw/otx2_rvu.h > create mode 100644 drivers/common/octeontx2/hw/otx2_sso.h > create mode 100644 drivers/common/octeontx2/hw/otx2_ssow.h > create mode 100644 drivers/common/octeontx2/hw/otx2_tim.h > create mode 100644 drivers/common/octeontx2/meson.build > create mode 100644 drivers/common/octeontx2/otx2_common.c > create mode 100644 drivers/common/octeontx2/otx2_common.h > create mode 100644 drivers/common/octeontx2/otx2_dev.c > create mode 100644 drivers/common/octeontx2/otx2_dev.h > create mode 100644 drivers/common/octeontx2/otx2_io_arm64.h > create mode 100644 drivers/common/octeontx2/otx2_io_generic.h > create mode 100644 drivers/common/octeontx2/otx2_irq.c > create mode 100644 drivers/common/octeontx2/otx2_irq.h > create mode 100644 drivers/common/octeontx2/otx2_mbox.c > create mode 100644 drivers/common/octeontx2/otx2_mbox.h > create mode 100644 > drivers/common/octeontx2/rte_common_octeontx2_version.map > create mode 100644 drivers/mempool/octeontx2/Makefile > create mode 100644 drivers/mempool/octeontx2/meson.build > create mode 100644 drivers/mempool/octeontx2/otx2_mempool.c > create mode 100644 drivers/mempool/octeontx2/otx2_mempool.h > create mode 100644 drivers/mempool/octeontx2/otx2_mempool_debug.c > create mode 100644 drivers/mempool/octeontx2/otx2_mempool_irq.c > create mode 100644 drivers/mempool/octeontx2/otx2_mempool_ops.c > create mode 100644 > drivers/mempool/octeontx2/rte_mempool_octeontx2_version.map >=20 > -- > 2.21.0