From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0081.outbound.protection.outlook.com [104.47.0.81]) by dpdk.org (Postfix) with ESMTP id 08E51CFBA for ; Fri, 20 Apr 2018 12:35:05 +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=4jsL5X40eD3HqEOsDGz7PBxfT9uwMwUco/3yPengsRo=; b=jCcdK1IfJgu+1t48dcYhsAm7yZcwzAypEXtpvxcxmK+Hw4Zige9QiRn7PsuQt4Ba2nt/RoSxeYbxhitTJHHX0Q+qEYkjKw8k5UnXkRtsawY616eIwsbbVFxSjuXkbKnGcRRyIs9sdCsWWELLCFWhumMaVU7/Axdx2vy3VqCPpvo= Received: from HE1PR0401MB2425.eurprd04.prod.outlook.com (10.168.33.22) by HE1PR0401MB2027.eurprd04.prod.outlook.com (10.166.122.153) 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 10:34:56 +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 10:34:56 +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: AQHT2FzAkvYj5Pvsb0CMkjwt5iFzW6QJCj1AgABqulA= Date: Fri, 20 Apr 2018 10:34:55 +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: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.142.187.166] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; HE1PR0401MB2027; 7:wwohIliozoWRTbJtS7H9aW4D4SR6RpddO0bSEOp5RyiuyEGdRX/g/r+SwR/nkgBlsF8xv0lJnb9RvmEIwCnOtOXNAGB/woOYXkLm9D2ebYtbnXOkDIHFTuNyHvwIlDilkwSpZgJ4MVxgU43dxeYN7v9jOpE3XfMeAmABN0z7UPkHR83w+79LREgFHw8RL+pWe6dMTrI31SvoAiZon/JQYalSLYAMzKgQ5FGG62j3yqZwoqmrH+3qGa2/g+Jh8Po9 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(2017052603328)(7153060)(7193020); SRVR:HE1PR0401MB2027; x-ms-traffictypediagnostic: HE1PR0401MB2027: authentication-results: spf=none (sender IP is ) smtp.mailfrom=nipun.gupta@nxp.com; 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)(5005006)(8121501046)(3231232)(2232076)(944501393)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:HE1PR0401MB2027; BCL:0; PCL:0; RULEID:; SRVR:HE1PR0401MB2027; x-forefront-prvs: 0648FCFFA8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(39380400002)(39860400002)(396003)(366004)(376002)(346002)(13464003)(6116002)(2501003)(3280700002)(25786009)(6636002)(55016002)(9686003)(33656002)(551934003)(5250100002)(229853002)(6306002)(53936002)(305945005)(2900100001)(6436002)(6246003)(53376002)(5660300001)(478600001)(3660700001)(2940100002)(8936002)(7736002)(14454004)(81166006)(8676002)(966005)(2906002)(110136005)(66066001)(76176011)(316002)(11346002)(446003)(86362001)(7696005)(476003)(74316002)(6506007)(102836004)(59450400001)(4326008)(26005)(44832011)(53546011)(3846002)(99286004)(59010400001); DIR:OUT; SFP:1101; SCL:1; SRVR:HE1PR0401MB2027; 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: FrzRGWABSVwpVlnFzv0aHVQAHI5sbRC007d2+jMB9nRazOZuc89Whud1eUsskEIqxfVklYX2QAPSFrBGqT/pw392Lce3DakmEdVPCjbSZZ3tA3eeiLu7ic6UcoBBnruJ4BUxkHdIeA3tlpXDJpj1XIhof+tDBYZ2SweqhqtUnGGZ24DfcE+YBMWE+PiQb7Sj7M2El/zIwUdqkHZVyktL9aKo2PGhYlCF7bgAuJIPuNUlzcPbHEBshLJ9d0oiQRVVA8kHIkRxdg+KgEODgkn6yRW5Es7mxugdaP6HFa4lvckNfwx2TgpuMMLGlp6P7edaRWFVQ+QodH1JwC5BkdI/jg== 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: a521fa3e-0565-4dae-a9d0-08d5a6aa5bf1 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: a521fa3e-0565-4dae-a9d0-08d5a6aa5bf1 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Apr 2018 10:34:55.8914 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1PR0401MB2027 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 10:35:05 -0000 There is a compilation issue due to a recent change on master branch http://dpdk.org/browse/dpdk/commit/?id=3D3ef648aa4854f53b5ad3f148dc02185215= 7a0246 I am sending a v3 fixing the compilation issue. Regards, Nipun > -----Original Message----- > From: Nipun Gupta > Sent: Friday, April 20, 2018 9:40 AM > To: Shreyansh Jain ; thomas@monjalon.net; Hemant > Agrawal > Cc: dev@dpdk.org > Subject: RE: [PATCH 0/9 v2] Introduce DPAA2 QDMA raw driver >=20 > Hi Shreyansh, >=20 > I have taken care of all your comments from the v1 series as all were > appropriate :) >=20 > Also I have rebased on master branch and will rebase CMDIF series over th= is one. > This lead to addition of patch 4 and some more changes in patch 3 here. P= lease > re-review these. >=20 > Thanks, > Nipun >=20 > > -----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 > > > > This patch set introduces DPAA2 based QDMA device driver. > > > > It provide means to initiate a DMA transaction from CPU. > > The initiated DMA is performed without CPU being involved > > in the actual DMA transaction. > > > > This patch series is rebased on dpdk master branch > > > > 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 > > > > 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 > > > > 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 > > > > 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 > > > > -- > > 1.9.1