From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-VE1-obe.outbound.protection.outlook.com (mail-ve1eur02hn0207.outbound.protection.outlook.com [104.47.6.207]) by dpdk.org (Postfix) with ESMTP id C8704235 for ; Thu, 3 May 2018 15:51:21 +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=dxUdDQ3JiEozGGj8hifHWiT2VEx56Wg6O5qc9kK8v18=; b=hQv27jQLE95MdfE6HGHtqB58rHv2BJTWysyA27hSIO8ylv+DLVszg8Xv+IU5/G2ZE4+XJWGXU7Jo9gh6M4cHhr0CQeK79ahzB/FkHPfikn/dbdtBTX5xGslRpOYXnwcwH+wCeMbA9yhtkWcMWpVDU7AqZwcW4go+DO+5pz6+ZOY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by DB6PR0402MB2775.eurprd04.prod.outlook.com (2603:10a6:4:96::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.715.20; Thu, 3 May 2018 13:51:19 +0000 To: Nipun Gupta Cc: thomas@monjalon.net, hemant.agrawal@nxp.com, dev@dpdk.org References: <1525168731-30912-1-git-send-email-nipun.gupta@nxp.com> <1525280972-27736-1-git-send-email-nipun.gupta@nxp.com> <1525280972-27736-6-git-send-email-nipun.gupta@nxp.com> From: Shreyansh Jain Message-ID: <72b3f992-0f77-acd1-0e21-8cea3c1ad306@nxp.com> Date: Thu, 3 May 2018 19:37:58 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: <1525280972-27736-6-git-send-email-nipun.gupta@nxp.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR0101CA0005.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:18::15) To DB6PR0402MB2775.eurprd04.prod.outlook.com (2603:10a6:4:96::12) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(5600026)(48565401081)(2017052603328)(7153060)(7193020); SRVR:DB6PR0402MB2775; X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2775; 3:rXJROPXU+F02JL5VMxlY1hbIqY17X4oYeH5j5lurfyDHIgRaoEuYQ84asKD4kLTkUJUTB+gVuwgDCYzqMUhIFtqwyqMX6kYRpgkE//Y8j0skev/fl7bo/rV9x/abR51pguuEpwZ2LE8JR7LjF9IgvmfQLgwc7gRbE78ZPCRlMX5jQKFUPwEb0xHOYFRfBVygnqzdSzLzPiG6YkVeYGUg3XMh2gXAuT9jpSMQmUZlKm1inJbrVewYm0BUPJVjvihp; 25:h+TaHPyv/Nsjvy458/DaSmVgjb4CmCO6se3HCKmUKryJGOigGevduWwaQxR78Ar5pol7BnodcT6WtQB5hrXYz1ZKA/NCp9DLcfq3GHT7nc7b/OhuWc5uj/xA6E/90b7yDnN1GM0h9hxVqhXOWzxSnJ1tWva02MavxRyEbVPjk5FfkTtosTAMg34joIHdv+Kd1wLarh66NnmwViWJHoKcs4rD8sEEU8dKjTxNPHZG7jsSOgHmXs48hynipXE+jf/6ghBZIQBVNNmfXwNFV/5/Ye+OvtCS0I0FNx+bADu/DSvz8qFTp/3eQIo0Hc2emoNM+Rwg4+Bp2J4EZMsuoFJtGQ==; 31:eQr0dYSvRSY1xaGbyZq432ocLVHEag41ilO23skbEF7buYb80uEH7H3cpNECR6r4DR3qEoVeXVp9ojon9izFWbgHUdFenXM78gqpc0gbkPtOsTk86gL05ZzvbJUo2XLCnKMYsKiqdsuS0jZbv9726xMB9X6m/G+eoC28TugqEU767H7YOQftWcnieFO2DF6TNar386QBeRFP5L0sxDOSmO5sv08jwdQx1h71O3APXdI= X-MS-TrafficTypeDiagnostic: DB6PR0402MB2775: X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2775; 20:wmwsHuHvJAFd78Y4H7msLkvnBmsx2IsuNskife+roJpF80uLSKSOLNWOXv/y4O6DYK+43fu4jgb7pzxdNMDjkTjnwhEBNTPcq3MLufNzLEGOMz+m8XrCHpcP3P8n2C45pe4K1QepoYgSyEAA1CxkS4GF5t/t34SIPvTnV3qnUGZZ5eIfooHybWN4ndeLz5Tg8vHVWvxf6jkSSVHFTZ5r1HwmRiajylNvpVKr271hQIP3kiPpjhUjiIF+W1hWyGXjUZY21rM9gXjyIqmNpEVjkkaCHs72WDYrJsdffgqaytemV8xvtN1BC6jauQ7BgI0GIbGhX+AwZRhT23QthT1tkQijwOQCvhtuto5UP/lmUXOBzk8MmvzxgMaq/PPuW/fOsnBY67tfMUU08gFSN3beo89npVWtfy0G9YLM8U+kiqSELyLp+JAoqxU+FDC7SUvUz0b1toZnnAVNs8cK/HlFlhtRQMBn7mcWBO1cY4stwbk9R+yKVfJfZBUwYnVQuKIg; 4:eE9afbvDwCmHZjBxaxoRxIq8VAP2cndpMz99nPj11d6BmcrHJu13oayVCg4EJKD4gk7JSY7tYewAp+pNckCSS/RUpZd9wS1ypoLlfaMatr1gzEYRJJxfjMnOKNlpwaCz7dGATCF9knJLYHSlhvIiKfsrZ4n3ISPMKGvnZ1kbk1Vpx0mb8hv2+zkryGILhwxdQ30AinscE66HuP8rrMtUqfQb55GO8b+q/sMN66dU/renJX7sfAtxw/ByhAXk0jseGs731rG+4img2tFjXCJ1zT0sEP2bQdJxhlvFas33SuVwnAjdlckcvA4w73MmiYtQ5yJYt4ikr9gHwfYn4+SpocVizH0ewKD1r5317NdLtC4= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197)(66839620246622); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(93001095)(3231254)(2232076)(944501410)(52105095)(10201501046)(3002001)(6055026)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(20161123562045)(20161123558120)(20161123560045)(6072148)(201708071742011); SRVR:DB6PR0402MB2775; BCL:0; PCL:0; RULEID:; SRVR:DB6PR0402MB2775; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(6049001)(376002)(366004)(396003)(39860400002)(39380400002)(346002)(189003)(199004)(55236004)(44832011)(59450400001)(386003)(446003)(230700001)(5009440100003)(16526019)(186003)(97736004)(476003)(11346002)(486006)(2616005)(956004)(77096007)(6116002)(3846002)(26005)(65806001)(50466002)(47776003)(8676002)(64126003)(81156014)(81166006)(65956001)(106356001)(105586002)(66066001)(31686004)(76176011)(52146003)(52116002)(68736007)(67846002)(8936002)(36756003)(316002)(25786009)(305945005)(6666003)(2906002)(6636002)(2486003)(23676004)(37006003)(16576012)(478600001)(7736002)(86362001)(31696002)(6486002)(53936002)(58126008)(6246003)(6862004)(229853002)(65826007)(4326008)(5660300001)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:DB6PR0402MB2775; H:[10.232.14.39]; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtEQjZQUjA0MDJNQjI3NzU7MjM6ZDROaUFQRms1UWVCYXRrbzg3eTBJOXc4?= =?utf-8?B?LzduMzBiWWt3NDJ2TzQ4R2d1Tkx1bDI0alUrcDBRS09IOHlIWHJFcmE1MFkr?= =?utf-8?B?SXhhNzMrbVNmOFBjS3RmK1Uyd2s3TWVDazVXZjgwYy96eS9GMGhQNkRyNGdm?= =?utf-8?B?UFlNd1JHVGoxYVVkajNMQ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KWsmwcVwyKS6O7ZEGvZuaM1rdDUJWzrIMOQmW/5/VoSrqSRNPVwkw1eePiWXpo9jQBD7fUYKP4oXoGlqS/7eIXjtioSB1gMZLxHtcuakff2Te81v+3FoQPxWxmONXEeHeKqeaFBgbkltZVglUW4TXcAP6BMC4ORz3bwQsiYWGCWtW6yd7GnfKvBfLpbhhH6JX9mY1LMJ7lyiRkKurO45MYmNTb6WUGOMlDTq0PWeuWMOwwOrffRFp55DXsGdzIeZx0TZNoYLyr47tTubL0pauKb8G2FiSWyuqodtVkfn3WaSW2; 5:SM2UMESIB5BbDTbpFQwM21hSqqt4rUbGwDmlHW8NR/vTEMJhn4Hb3xU80SdoIqttcUD2U3jNRdrvR/VPStPnWxcksJ5aIxDelMjJA4d2ZUZlivbcvYZLtRbJh/VFDc2Oho+W0fvnqWnM8Oa0UrSUKB2B+rnbE+XkAE4YAeR1lS8=; 24:KZGkfeKZlSd++3oDieVuoIitaTFoMA0H2+3JQWDXO0Dr1zVeEKQemhejiN8wILAjkLdLnNQ/VoaKgLphrTY1dQ== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; DB6PR0402MB2775; 7:HpR1RamapuYOWAxC5Y4a0IwKTrEb6QUKKpBxwRyWrKRWRiYMkNU2Q1FiLTiYqIoCSwpQKJe5+lSoVpsMdd03qw0/iZPdHfYqKgDDZsIlgFstkp1N2eDIvgtmEsoHI24v1zy0KA2mokh6odDeM4GHOTiriJa7B2cZMA2kdzrL98TBcOa8y5vblHzFS3QxOmvAj/DJdcILenfwm5RTiyyblmEuISqUWIwCtxs1Wrg6JY/E8ixkydRsW9vUnjpgZms8 X-MS-Office365-Filtering-Correlation-Id: 87ea7e85-beea-448e-0973-08d5b0fcf32c X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 13:51:19.1883 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 87ea7e85-beea-448e-0973-08d5b0fcf32c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0402MB2775 Subject: Re: [dpdk-dev] [PATCH v6 5/8] raw/dpaa2_qdma: introduce the DPAA2 QDMA 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 13:51:22 -0000 On Wednesday 02 May 2018 10:39 PM, Nipun Gupta wrote: > DPAA2 QDMA driver uses MC DPDMAI object. This driver enables > the user (app) to perform data DMA without involving CPU in > the DMA process > > Signed-off-by: Nipun Gupta > Acked-by: Shreyansh Jain > --- > MAINTAINERS | 8 + > config/common_base | 5 + > config/common_linuxapp | 1 + > drivers/raw/Makefile | 3 + > drivers/raw/dpaa2_qdma/Makefile | 34 +++ > drivers/raw/dpaa2_qdma/dpaa2_qdma.c | 294 +++++++++++++++++++++ > drivers/raw/dpaa2_qdma/dpaa2_qdma.h | 66 +++++ > drivers/raw/dpaa2_qdma/dpaa2_qdma_logs.h | 46 ++++ > drivers/raw/dpaa2_qdma/meson.build | 7 + > .../raw/dpaa2_qdma/rte_pmd_dpaa2_qdma_version.map | 4 + > drivers/raw/meson.build | 2 +- > mk/rte.app.mk | 3 + > 12 files changed, 472 insertions(+), 1 deletion(-) > 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_version.map > [...] > diff --git a/drivers/raw/dpaa2_qdma/Makefile b/drivers/raw/dpaa2_qdma/Makefile > new file mode 100644 > index 0000000..3b5a45a > --- /dev/null > +++ b/drivers/raw/dpaa2_qdma/Makefile > @@ -0,0 +1,34 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright 2018 NXP > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > +# > +# library name > +# > +LIB = librte_pmd_dpaa2_qdma.a > + > +CFLAGS += -DALLOW_EXPERIMENTAL_API > +CFLAGS += -O3 > +CFLAGS += $(WERROR_FLAGS) > + > +CFLAGS += -I$(RTE_SDK)/lib/librte_eal/linuxapp/eal > +CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc > +CFLAGS += -I$(RTE_SDK)/drivers/bus/fslmc/qbman/include > + > +LDLIBS += -lrte_bus_fslmc > +LDLIBS += -lrte_eal > +LDLIBS += -lrte_mempool > +LDLIBS += -lrte_rawdev > +LDLIBS += -lrte_ring Shared lib (x86_64 build) fails with dependency on rte_mempool_dpaa2. Using: LDLIBS += -lrte_mempool_dpaa2 Succeeds. > + > +EXPORT_MAP := rte_pmd_dpaa2_qdma_version.map > + > +LIBABIVER := 1 > + > +# > +# all source are stored in SRCS-y > +# > +SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_QDMA_RAWDEV) += dpaa2_qdma.c > + > +include $(RTE_SDK)/mk/rte.lib.mk [...]