From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0079.outbound.protection.outlook.com [104.47.1.79]) by dpdk.org (Postfix) with ESMTP id ABA432B82 for ; Thu, 3 May 2018 17:58:07 +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; bh=ubnpX8COv8pVmCHlCjgWvB938FXSW62KV9qjgDWUYI0=; b=H+dIalx4pNp7sdnguaX3D93LPC//atY8Frr+5T4QViin0qaZ70WebNPetDe4sJ7hpDsZmn4lW/MrAZwbwgrtIeMHCOj8FudLrnhCcP74oT4dNN2TNAx0Pef9iTv1wcokkBNWXntWycokGO9xjGq0t7XpIwseRsmkMw/DImbIreg= Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com (10.168.33.22) by HE1PR0401MB2523.eurprd04.prod.outlook.com (10.168.147.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.22; Thu, 3 May 2018 15:58:05 +0000 Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::99a1:284:a577:36c1]) by HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::99a1:284:a577:36c1%17]) with mapi id 15.20.0715.024; Thu, 3 May 2018 15:58:05 +0000 From: Nipun Gupta To: "thomas@monjalon.net" , Hemant Agrawal , Shreyansh Jain CC: "dev@dpdk.org" Thread-Topic: [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver Thread-Index: AQHT4va8kzMxR+xXyUyqpj8ywtYcEaQeKP4g Date: Thu, 3 May 2018 15:58:05 +0000 Message-ID: References: <1525280972-27736-1-git-send-email-nipun.gupta@nxp.com> <1525362722-32726-1-git-send-email-nipun.gupta@nxp.com> In-Reply-To: <1525362722-32726-1-git-send-email-nipun.gupta@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0401MB2523; 7:ithcsj/8M/OselEB2VdVsgQKZ8Cpxiyo/OUJifwMgBs80NAJuSxmbobs1uEaQldulrZnw5lu+FEzFoClAOQIo1WIGXdTpmht/ZQemZam7j0wA4vM9wBJFUe1Z0yV27ByJGH4e8/N27iF/f2l3EkoZpzBrYCGguxYCGPzCD3+8y6nfVBfW6xR7rin0lEJZ+dcggCQ9lBAXsxscMt+gd0xypVY7EjGH7VGg2cIjQxdUsPEvAOPp7ujdwDWICtdT6W6 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2523; x-ms-traffictypediagnostic: HE1PR0401MB2523: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(185117386973197)(66839620246622)(275809806118684); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(3231254)(2232076)(944501410)(52105095)(10201501046)(93006095)(93001095)(6055026)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:HE1PR0401MB2523; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2523; x-forefront-prvs: 066153096A x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(396003)(366004)(39860400002)(376002)(346002)(199004)(13464003)(189003)(2900100001)(53546011)(26005)(59450400001)(7736002)(486006)(44832011)(11346002)(68736007)(446003)(186003)(86362001)(476003)(76176011)(8936002)(6246003)(81156014)(7696005)(5660300001)(102836004)(6506007)(106356001)(105586002)(316002)(81166006)(4326008)(551934003)(2906002)(99286004)(97736004)(9686003)(55236004)(6636002)(229853002)(3280700002)(55016002)(110136005)(8676002)(3846002)(14454004)(6436002)(66066001)(2501003)(3660700001)(25786009)(53936002)(33656002)(6116002)(5250100002)(478600001)(74316002)(305945005)(59010400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0401MB2523; H:HE1PR0401MB2425.eurprd04.prod.outlook.com; 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-antispam-message-info: 11zvwmBnOsIquen4j8lruZSG5O7TuUddixojn0wqQvK45XLfp2pk7zjkqFziBDA+OwJ9Yc38t58n0Tvp1xth4eiTCZvq1hkMyEgfsJUmQ4kYGYs2/XPOR/hB6RaHvAiulwxxvRwMamO/uNMF8bgOnXKxsrx4FMljz2EBmLtIJ/tWwcZCrr4e9VA+C6hRK3n/cfJcSKCK0Kn2+T3GJyFow6krefz9OmFjF1hPjCiIoCU8oHBmLDyJ78Uape0tfaaGfLg7w6ZKuXbYJ4izgHDeA2QD0PEYYp8DnCaoz02Xq02mHC3KC2QAMUNslImuyvXx0TpRiImfU8Z9yps9dTvT6Q== spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 4626d801-9284-4398-ff3a-08d5b10ea850 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4626d801-9284-4398-ff3a-08d5b10ea850 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 May 2018 15:58:05.3238 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2523 Subject: Re: [dpdk-dev] [PATCH v7 0/8] Introduce DPAA2 QDMA raw 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, 03 May 2018 15:58:08 -0000 Please ignore this series. It has some issues. I will resend. Thanks, Nipun > -----Original Message----- > From: Nipun Gupta > Sent: Thursday, May 3, 2018 9:22 PM > To: thomas@monjalon.net; Hemant Agrawal ; > Shreyansh Jain > Cc: dev@dpdk.org; Nipun Gupta > Subject: [PATCH v7 0/8] Introduce DPAA2 QDMA raw driver >=20 > This patch set introduces DPAA2 based QDMA device driver. >=20 > It provide means to initiate a DMA transaction from CPU. > The initiated DMA is performed without CPU being involved > in the actual DMA transaction. >=20 > This patch series is rebased on dpdk master branch >=20 > Patch 1: > Support meson build in raw > Patches 2-4: > Makes necessary changes in the DPAA2 bus > Patches 5-7: > Add the DPAA2 QDMA driver > Patch 8: > Update the documentation >=20 > Changes in v2: > - Rebased over master branch > - Pulled in couple of changes which were in CMDIF series > - patch 3: some updations, patch 4 > - handle failues in device init correctly > - Updated the logging, added DP logs > - Fixed remove_hw_queues_from_list function >=20 > Changes in v3: > - Fix compilation issue introduced due to a very recent change > of removal of dma_addr_t. Fix in patch 7 where dma_addr_t > was used. >=20 > Changes in v4: > - Support meson build for raw and dpaa2 qdma (patch 1 & 5) > - Merged the two separate doc patches (patch 8) >=20 > Changes in v5: > - install user header file (rte_pmd_dpaa2_qdma.h) in case of > meson build where it is introduced (patch 6). Previously > it was added in patch 5. >=20 > Changes in v6: > - Fix meson shared build >=20 > Changes in v7: > - Fix x86 shared build >=20 > Nipun Gupta (8): > raw: support meson build > bus/fslmc: support MC DPDMAI object > bus/fslmc: support scanning and probing of QDMA devices > bus/fslmc: add macros required by QDMA for FLE and FD > raw/dpaa2_qdma: introduce the DPAA2 QDMA driver > raw/dpaa2_qdma: support configuration APIs > raw/dpaa2_qdma: support enq and deq operations > doc: add DPAA2 QDMA rawdev guide >=20 > MAINTAINERS | 9 + > config/common_base | 7 +- > config/common_linuxapp | 13 +- > doc/api/doxy-api-index.md | 1 + > doc/api/doxy-api.conf | 1 + > doc/guides/index.rst | 1 + > doc/guides/rawdevs/dpaa2_qdma.rst | 140 +++ > doc/guides/rawdevs/index.rst | 14 + > doc/guides/rel_notes/release_18_05.rst | 8 + > drivers/bus/fslmc/Makefile | 9 +- > drivers/bus/fslmc/fslmc_bus.c | 2 + > drivers/bus/fslmc/fslmc_vfio.c | 1 + > drivers/bus/fslmc/mc/dpdmai.c | 429 +++++++++ > drivers/bus/fslmc/mc/fsl_dpdmai.h | 189 ++++ > drivers/bus/fslmc/mc/fsl_dpdmai_cmd.h | 107 +++ > drivers/bus/fslmc/meson.build | 1 + > drivers/bus/fslmc/portal/dpaa2_hw_pvt.h | 8 +- > drivers/bus/fslmc/rte_bus_fslmc_version.map | 9 + > drivers/bus/fslmc/rte_fslmc.h | 2 + > drivers/meson.build | 3 +- > drivers/raw/Makefile | 3 + > drivers/raw/dpaa2_qdma/Makefile | 37 + > drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 1002 > ++++++++++++++++++++ > drivers/raw/dpaa2_qdma/dpaa2_qdma.h | 150 +++ > drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h | 46 + > drivers/raw/dpaa2_qdma/meson.build | 9 + > drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h | 286 ++++++ > .../raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map | 20 + > drivers/raw/meson.build | 7 + > drivers/raw/skeleton_rawdev/meson.build | 8 + > mk/rte.app.mk | 3 + > 31 files changed, 2512 insertions(+), 13 deletions(-) > create mode 100644 doc/guides/rawdevs/dpaa2_qdma.rst > create mode 100644 doc/guides/rawdevs/index.rst > create mode 100644 drivers/bus/fslmc/mc/dpdmai.c > create mode 100644 drivers/bus/fslmc/mc/fsl_dpdmai.h > create mode 100644 drivers/bus/fslmc/mc/fsl_dpdmai_cmd.h > create mode 100644 drivers/raw/dpaa2_qdma/Makefile > create mode 100644 drivers/raw/dpaa2_qdma/dpaa2_qdma.c > create mode 100644 drivers/raw/dpaa2_qdma/dpaa2_qdma.h > create mode 100644 drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h > create mode 100644 drivers/raw/dpaa2_qdma/meson.build > create mode 100644 drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma.h > create mode 100644 > drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map > create mode 100644 drivers/raw/meson.build > create mode 100644 drivers/raw/skeleton_rawdev/meson.build >=20 > -- > 1.9.1