From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40076.outbound.protection.outlook.com [40.107.4.76]) by dpdk.org (Postfix) with ESMTP id 23E56A49B for ; Fri, 20 Apr 2018 06:10:27 +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=6Uto+Jn7hy42rXqi8hRb8a0fPYx2pLdxgXjXHbrdIco=; b=gTEDJALIQC6WWALTku4oC88srPm7WKnPPtOAfA9ZcWbL1gudYbssocEa+1248SHVMtoQ8V/aNO5FG7yXizoeVSwHIW8KElAQMdUdeJAWtkGkgvVRd6DjUId5dbjZniccSdcs2UoeNmLZzX8VKis2Z8+b2P0mfaBL8axZXwJ7F1s= Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com (10.168.33.22) by HE1PR0401MB2603.eurprd04.prod.outlook.com (10.168.148.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.675.14; Fri, 20 Apr 2018 04:10:25 +0000 Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::e882:4865:24e4:8483]) by HE1PR0401MB2425.eurprd04.prod.outlook.com ([fe80::e882:4865:24e4:8483%18]) with mapi id 15.20.0696.013; Fri, 20 Apr 2018 04:10:25 +0000 From: Nipun Gupta To: Shreyansh Jain , "thomas@monjalon.net" , Hemant Agrawal CC: "dev@dpdk.org" Thread-Topic: [PATCH 0/9 v2] Introduce DPAA2 QDMA raw driver Thread-Index: AQHT2FzAkvYj5Pvsb0CMkjwt5iFzW6QJCj1A Date: Fri, 20 Apr 2018 04:10:25 +0000 Message-ID: References: <1523114224-9852-1-git-send-email-nipun.gupta@nxp.com> <1524197062-1230-1-git-send-email-nipun.gupta@nxp.com> In-Reply-To: <1524197062-1230-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; HE1PR0401MB2603; 7:8SVZXpH5hdQJ033+bxo2wTvFQYmn8owem6E/j/4WU7OGaGPDi4puick7dbHPDLRHy+YbwIblQwBkomMtuclLFE/w0LOEGGVLb5qnXwwT+VjlVd+l9+uBygBZKbzEMCdVrAysPFnGvzdL6pB2LHnxSFnYLoUvF1SivcIDVmmWDp7vBmtVR4D00v89D8nvsYMF/ARP6n07aYGS6QFyyKGuv4PSgrjFUvcprmrCaB0wrVlL7nZJR5ZMhlf03wYSp22b 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)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2603; x-ms-traffictypediagnostic: HE1PR0401MB2603: 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)(3231232)(2232076)(944501390)(52105095)(3002001)(93006095)(93001095)(10201501046)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123560045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:HE1PR0401MB2603; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2603; x-forefront-prvs: 0648FCFFA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(396003)(366004)(39860400002)(39380400002)(13464003)(7696005)(6436002)(14454004)(4326008)(6506007)(305945005)(26005)(74316002)(478600001)(59450400001)(76176011)(53546011)(102836004)(55016002)(2501003)(229853002)(6246003)(86362001)(551934003)(6636002)(53936002)(9686003)(2906002)(110136005)(446003)(476003)(316002)(33656002)(99286004)(3280700002)(11346002)(44832011)(6116002)(8676002)(25786009)(8936002)(2900100001)(3660700001)(81166006)(5660300001)(66066001)(3846002)(7736002)(5250100002)(59010400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0401MB2603; H:HE1PR0401MB2425.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; MLV:ovr; PTR:InfoNoRecords; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: pZgSYZvDCakfUx4clJ6rU5u/GXPrX7CePdzhchW7x233e+QvNh9PD0gvhSPfXr8NBZRUkw+oo6OcmssSNzN6j42LmuLk0emYTyX2NC2JHZ/BRoib3a23UrjA06jiN3Dlu8Ah4HaBiDz346Q2oFEXyB1xvJhFHjXLe/q7qq0wEIpa4TfWw4P264VOA159G/OftaKAPHP7B0G+A8fukDAljjhTiuOd6Pk2EuObs80EPXDUwZvbRDtUmj8oXhs7h8Z47yytwyYPJbmelWVlPEKWITOQeePYBWkMND4/D6MNQsTuCjbHPgXGjZ2+6Q1ZiIbW3YZKhRm6rhCaPu+bGrQzbw== 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: 487436d6-a43b-4d93-d4e3-08d5a674a50e X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 487436d6-a43b-4d93-d4e3-08d5a674a50e X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 04:10:25.6860 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2603 Subject: Re: [dpdk-dev] [PATCH 0/9 v2] 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: Fri, 20 Apr 2018 04:10:27 -0000 Hi Shreyansh, I have taken care of all your comments from the v1 series as all were appro= priate :) Also I have rebased on master branch and will rebase CMDIF series over this= one. This lead to addition of patch 4 and some more changes in patch 3 here. Ple= ase re-review these. Thanks, Nipun > -----Original Message----- > From: Nipun Gupta > Sent: Friday, April 20, 2018 9:34 AM > To: Shreyansh Jain ; thomas@monjalon.net; Hemant > Agrawal > Cc: dev@dpdk.org; Nipun Gupta > Subject: [PATCH 0/9 v2] 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 > Patches 1-4: > Makes necessary changes in the DPAA2 bus > Patches 5-7: > Add the DPAA2 QDMA driver > Patches 8-9: > Update the respective 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 > Nipun Gupta (9): > 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 > bus/fslmc: fix typecasting in IOVA/virt conversion macros > 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 > doc: add dpaa2 qdma rawdev to release notes >=20 > MAINTAINERS | 9 + > config/common_base | 1 + > config/common_linuxapp | 1 + > 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/portal/dpaa2_hw_pvt.h | 12 +- > drivers/bus/fslmc/rte_bus_fslmc_version.map | 9 + > drivers/bus/fslmc/rte_fslmc.h | 2 + > drivers/raw/Makefile | 4 + > drivers/raw/dpaa2_qdma/Makefile | 36 + > 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/rte_pmd_dpaa2_qdma.h | 286 ++++++ > .../raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map | 20 + > mk/rte.app.mk | 3 + > 26 files changed, 2476 insertions(+), 7 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/rte_pmd_dpaa2_qdma.h > create mode 100644 > drivers/raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map >=20 > -- > 1.9.1