From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-ve1eur03hn0237.outbound.protection.outlook.com [104.47.9.237]) by dpdk.org (Postfix) with ESMTP id B10EADD2 for ; Thu, 3 May 2018 15:54:20 +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=GNdZ34is9mbH+FhdQRhtkJtI/1x/kpM460/rVjUT2DA=; b=jI44clkX91xRe+36x4xKRGvo/mD2qAWYeNqokmpmXbaY0v1wJOG/pC1z42gY5h9QBn3UPKPVTqE/o+gL7y1QNssIjK9iymuNp1uG59KFL2dWXe74RfyqytPluoFYYSdV4nhY+hMO4K0CtLEuceWjy4ln49/VJPS+d6B6uC7vvFc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from [10.232.14.39] (14.142.187.166) by AM5PR0402MB2772.eurprd04.prod.outlook.com (2603:10a6:203:98::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.735.16; Thu, 3 May 2018 13:54:18 +0000 To: Nipun Gupta Cc: dev@dpdk.org References: <1524737696-3145-1-git-send-email-nipun.gupta@nxp.com> <1525281329-27984-1-git-send-email-nipun.gupta@nxp.com> <1525281329-27984-5-git-send-email-nipun.gupta@nxp.com> From: Shreyansh Jain Message-ID: Date: Thu, 3 May 2018 19:40:56 +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: <1525281329-27984-5-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: MA1PR0101CA0048.INDPRD01.PROD.OUTLOOK.COM (2603:1096:a00:22::34) To AM5PR0402MB2772.eurprd04.prod.outlook.com (2603:10a6:203:98::14) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR0402MB2772; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2772; 3:3eWTSbwhylotUWaqR7ld5RpANbV/EVRUdYn2UJJxjmMkIhPHxNPNds0A2HT8xXubLL22TcKxfMR3na4FHPB/3nJmt4BSLsypbdvPo7DObF+Oc0GxgGZSvsKZfM0Ds20+9l/8zPtyRIijmgYkqrVUa3SlPWUCZvV1FBpbJ4N7QC9CObkon4fyVnM3KIVtyjV2oNVCHUjokXi4yFFcP4CSm1VHg9zu6XGDvQG0wbYMaHtX5sXVdHmr8BLLLHE2N+3V; 25:Nz2MGurA2Q0EG3AKdrBreMDTSFrzDGUyyIcam3FDjw9bWJXvsojfz8DFFreKuTAsQ5B+Dnu+Kz+T20/RmRp0F/kWQSYbDBMVHGNR4GQ14wfXSgBpGTop1MAQEErO0Xk8ozAVnQOi9rOenK9CS8zGNKsx4MVGxCFaeu52RKDi4dSEn4786dycsWb9wysWxZkU76hGxSz5VOnSkqAXRyP0Msb88jXiJ8vPNrMIfsa1xrEINMJMuonxzCT1vtF0efPk7i7j39RZ7w/N4iwdE2Te3+5J5KOdALb/k9c57JUzHN0ak1135VNI99Rf2+7xxVO6FMrZqnPWpSr8pZpldGMd9w==; 31:k6/mKPzB49+IOlsrgM5WS9JABTx3IarVx9tXOBswuCcOCfLb8Yg5yqh3KUH1l7dYeNaI8b4ofwn7hK/7rR3tB9i4HfsC9jTo/lV9i94b0pYqgj0RuQQcxLqfx45nCJfg+Lz2XGjPUn1Q6Z/WYr3QfQPzFTGJgIaUn57XWTRcVamnBZ6F6ZQ31sa5nTrNjfsjJGhFq2fWZxXd9U5iHzi27D7q9pbNgOA1WFUOQuRwx1Y= X-MS-TrafficTypeDiagnostic: AM5PR0402MB2772: X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2772; 20:3hmgSG9C8aj9q2rT9vDarkIAinhokbEhNLwMGRULjTgGjjRYNDmLmbtOaYRE/fVwH1u8+ogTUOC4+TNhDNzQ46Y1vQtlpYbZ1Dy8YsgooXbPD0zLo+y2oiboQI29a7L/AuVGb5CpzNGkk7k8ueEYrQQPoCOH6SsMOI1ILvRQ4vff8yySnSXcXVLzOBtliXs2GL3Tsilx0eEIBh4b01dC26+9Tm20aZhOfyp/SZeFXz0GlMiKmGXUnwuyUFsMqU/I2lKxN2xB0XIYcyGfsK9tYR9qYVMgpE+aefP7ByUkVyKUxZv15SdeGct7gXCZBze5QFtxOXx6TMpGwlDzLlDuTlcpHwuSbN8w875fm8zbcWl+iraIKUWYEKOk4OvtvVSmQXiLrnlk6y1z3luawMvYWpGygIBiTZxU0M7RGRYAbEQoZTs4ziQ2a4s8M0ZsghD4U4D9GZiKBJ3U6bhpGtfyRmSzYfJjWwM0ageCtteTqwQ0TcAxibILBKU2x63VXO0d; 4:9KeNxfj/IZeolf4VMzM3Q97kr7D/TL4zIE231ns/US4QjlYDSXQk7xYLO2WmhLjPgwTTLhvYJfB3xAU6Rv4EJ8hJQsEmxQtLV99WzUDQo1QmGE6HjG5+ijfYzk+U+Ny3h4VmTaFzTYue5kYC294gw4Mc/Yn90XeJhwF5+ClqvN9gF+/OHPb17ZVTtdUCVYPJqq+wlsJN3WqlKexLP6DSwECdy1OOE5PdR+GQSCk/YaVSuRst1/HW+qi8kjaq6hCpn9H5DeGk+lj3mDa4B4FybWWXLNSOp+PberjA7p1BhTvU97qY5CB/8d4kq+gzqfA1EogJ91/tRDJfi/YTwUzMYzyA2FroLHhwFtJ6wy/Zm8Q= 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)(3002001)(93006095)(93001095)(10201501046)(3231254)(2232076)(944501410)(52105095)(6055026)(6041310)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:AM5PR0402MB2772; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0402MB2772; X-Forefront-PRVS: 066153096A X-Forefront-Antispam-Report: SFV:SPM; SFS:(10009020)(6049001)(346002)(376002)(396003)(39860400002)(366004)(39380400002)(199004)(189003)(37006003)(2616005)(58126008)(956004)(386003)(229853002)(53936002)(316002)(6246003)(36756003)(476003)(11346002)(26005)(575784001)(76176011)(31696002)(86362001)(59450400001)(47776003)(65956001)(77096007)(446003)(66066001)(186003)(52116002)(6116002)(23676004)(2486003)(64126003)(6486002)(52146003)(16526019)(16576012)(55236004)(486006)(2906002)(44832011)(65806001)(7736002)(3846002)(68736007)(67846002)(4326008)(230700001)(5009440100003)(25786009)(478600001)(305945005)(6636002)(6666003)(50466002)(8936002)(6862004)(105586002)(5660300001)(81166006)(81156014)(106356001)(31686004)(65826007)(97736004)(8676002)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:AM5PR0402MB2772; H:[10.232.14.39]; 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-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA0MDJNQjI3NzI7MjM6Zk5XbmplVjdPY1JkUXNOdE8yYVhsSXhL?= =?utf-8?B?QndPNkZaSzROZkp0QWFCa3R2K1VubUVSUXpZTmk1YWVzTDdsM1NCbDVFWDF3?= =?utf-8?B?SnhteXVBQWVCOVJaci9ZL0FxdG5PcEJlbFd3ZEp3aW1idTlMNlU3V3hFeG1B?= =?utf-8?B?cDR0MDVYL2dFZWFlQ0hoOFFWT3p4V21CL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ZXpSekNPbzNnaHVXTGRjbVh3clVORCtGSFo2V3krZmxMVC84?= =?utf-8?B?UzVsQjVWaGZieUU3TEUzc01MUFJLRXlqYVZuRmtXVksvWnRXZm5yK2ZRV0d0?= =?utf-8?B?S1lWTmRFU0E4UTl2UnlYK0habFJHR3ZWOUdyQ093ZHR2NDhUQlQ5T21MVC9Q?= =?utf-8?Q?gMWKzrkJEGb+Adbhg/5/18tfew5Qnh/1+g+SODCLdCWY=3D?= X-Microsoft-Antispam-Message-Info: SijWY8DTtitNk0mzSSpLIotGls6pjO4olYsd/Zz0EiWjYEHOj1BSCdhyPhalFhFX1n+E/r621FNapmjVXjwreOVgp6WaZIwdBvqVrLdbwGlBnhSGlII82ig1wYDmceReW5RCLbQ6L035gYCYIO7c517et3DsCeP9Psprlmv3dgXw1kYo1S/+pq5muBh9lJTNvFeDqruI8S6nOOMj/be6tElljn9myFNw64vje/svjnN5JY9eR0QigudQtiWIjQ4LQYX9pmxAWL6ijbXtdrUqGIwlhQvG1eWFtQZ3yjrsLM2dMWAudB4/pfgMG4Pmd/bGOI6e/5TM6Ewlwg00OKLv3UiNpG0vG5g61p7+8BX+/JxbOYcacv96obVHRjtkdkiiMSQnp7rxc6pft2PfF+AcGWvikfE437jkDRQEuXfKrtH4itjGPLhbqDxw3NRUnOYPzyR7BFnQI29m3p68dEeq3yE/wcpWkeSUn3RUrInt0q86UHffn8fGAicIuTZQ9q7wNEDdaVX6YHtU9FpGZ3cBndLCy/hVoZq5Fi1uxzXdCJU= X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2772; 6:uc47PNvVHWs/k6s4AXWwS15OAsnMgtmtCnv5PLYygY1VNg9XZgAQqBby4mhRLj4KQ248drTLDzqvrCxWhdErmZkDCudo2+OtGKd+WdjDOR7ZMoiZQFcj8sOSbeZeepWjgiIIGFbrcjgRwPysW8U+H0EeIpezjwzog2ebatQlhr3YARpCmQ758lnJlZpXyXiTa0pvo3rHN3SO1OdR2KaahZ4iWDnHmpm313EoOht+t55e9ijHRz1owr0Uzr95NpIxd9N4xEgsAY542c17vlqs+A8SdffEOklN7BUQaGGCC0Tc2UknmmwnRaFPrs3kavikxTyyWFuFfe6sgHujc1MtVy8FJGsSRQM2AsUV7wbA2xuOUjDl273Nn98lmVDqwMuHig/SEo7kbU2QMhqnnwKAd+6iBoHxGnWmDMjZ2kg3KM6ztOnx661ioT1VhaZ3i+1pe5XfF2lhXxCyRPiz1tOyhvbmYN+AXQ0LAcIttDE5hh94gVGsyFG80Bozsn/cxcq0; 5:PI/GkFe5bpdKgwodv+a2Y38F6sB3dF7mpqujWBaVBfXxCb1vETrUH7L5izqpjz0xmUqzVAO7iLPXO1mwKc4lCS/oVi/vUsJbdKKfKYtWaMhhfKTI/7WhuZ1CW6D+5Z+wwrjT8dWg0ZE2GP4NmTp01KzQ4/TueAXTaoWHPDh5D28=; 24:KeljfADbobhAZtpoxC7qkt+YvzXV4dLnjK2EXuMsvV4P8URJb9PMyDCpFDUrcO90IakWxE4FSqf4X4v4ZBXnwA== SpamDiagnosticOutput: 1:22 X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2772; 7:lRLIz5sf+3DwCNSj0uecV1pYFfqGBd4nX5PPZB9B50F7J6b5P8k4wa6kruvOTxYKh/DvN06lgPW/oVamtcTnaxE8HXOm8631xa5szXpOW4z2H3AvL49iftJ8KUouoL5CJUV7cg2xP9ynhinIp2YMunzeR19uCUxDYWAziqyYfrzUru6HkpUNFrbrdxsIC3pKewOpFTKHc0QMEp0583phKRaOjDmspGLYhcJm/Kp3dUAlwEdTFTg/LJC8IAVCdteO X-MS-Office365-Filtering-Correlation-Id: ec963811-47c4-42e4-3ce2-08d5b0fd5e40 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 May 2018 13:54:18.9039 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ec963811-47c4-42e4-3ce2-08d5b0fd5e40 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2772 Subject: Re: [dpdk-dev] [PATCH v4 4/7] raw/dpaa2_cmdif: introduce DPAA2 command interface 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:54:20 -0000 On Wednesday 02 May 2018 10:45 PM, Nipun Gupta wrote: > Signed-off-by: Nipun Gupta > --- > MAINTAINERS | 4 + > config/common_base | 5 + > config/common_linuxapp | 1 + > drivers/raw/Makefile | 1 + > drivers/raw/dpaa2_cmdif/Makefile | 33 +++++ > drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c | 139 +++++++++++++++++++++ > drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h | 35 ++++++ > drivers/raw/dpaa2_cmdif/meson.build | 7 ++ > .../dpaa2_cmdif/rte_pmd_dpaa2_cmdif_version.map | 4 + > drivers/raw/meson.build | 2 +- > mk/rte.app.mk | 1 + > 11 files changed, 231 insertions(+), 1 deletion(-) > create mode 100644 drivers/raw/dpaa2_cmdif/Makefile > create mode 100644 drivers/raw/dpaa2_cmdif/dpaa2_cmdif.c > create mode 100644 drivers/raw/dpaa2_cmdif/dpaa2_cmdif_logs.h > create mode 100644 drivers/raw/dpaa2_cmdif/meson.build > create mode 100644 drivers/raw/dpaa2_cmdif/rte_pmd_dpaa2_cmdif_version.map > [...] > diff --git a/drivers/raw/dpaa2_cmdif/Makefile b/drivers/raw/dpaa2_cmdif/Makefile > new file mode 100644 > index 0000000..66f9c0e > --- /dev/null > +++ b/drivers/raw/dpaa2_cmdif/Makefile > @@ -0,0 +1,33 @@ > +# SPDX-License-Identifier: BSD-3-Clause > +# Copyright 2018 NXP > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > +# > +# library name > +# > +LIB = librte_pmd_dpaa2_cmdif.a > + > +CFLAGS += -DALLOW_EXPERIMENTAL_API > +CFLAGS += -O3 > +CFLAGS += $(WERROR_FLAGS) > + > +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_rawdev > +LDLIBS += -lrte_bus_vdev > +LDLIBS += -lrte_kvargs Shared lib (x86_64 build) fails with dependency on rte_mempool_dpaa2. Using: LDLIBS += -lrte_mempool_dpaa2 Succeeds. > + > +EXPORT_MAP := rte_pmd_dpaa2_cmdif_version.map > + > +LIBABIVER := 1 > + > +# > +# all source are stored in SRCS-y > +# > +SRCS-$(CONFIG_RTE_LIBRTE_PMD_DPAA2_CMDIF_RAWDEV) += dpaa2_cmdif.c > + > +include $(RTE_SDK)/mk/rte.lib.mk