From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0048.outbound.protection.outlook.com [104.47.32.48]) by dpdk.org (Postfix) with ESMTP id BEA052BA8 for ; Sat, 17 Dec 2016 10:55:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=TkQjz37vfbtEYcnCZZ15UBi3YvZGo8nQT5rmUki31ps=; b=Bglfd6oUy8y7V77jBjI8POoBtTV6As/BvdcSBx9B0Wwb1e9W7zUds6QCssK7T4PuyWHQ/q8MKOZGYPm2mebg4m835yvhpaNzEaA7id1OWmGqPDWzM58XATB6wssFILKbxzmK8SWx/QbjVixlBuasZVvJLDmuCZKVBvh0sNWYZZo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.166.153.127) by BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.771.8; Sat, 17 Dec 2016 09:55:52 +0000 Date: Sat, 17 Dec 2016 15:25:36 +0530 From: Jerin Jacob To: Hemant Agrawal CC: , , , , Cristian Sovaiala Message-ID: <20161217095535.GA25710@localhost.localdomain> References: <1480875447-23680-1-git-send-email-hemant.agrawal@nxp.com> <1480875447-23680-3-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <1480875447-23680-3-git-send-email-hemant.agrawal@nxp.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [122.166.153.127] X-ClientProxiedBy: PN1PR01CA0074.INDPRD01.PROD.OUTLOOK.COM (10.174.144.142) To BN3PR0701MB1718.namprd07.prod.outlook.com (10.163.39.17) X-MS-Office365-Filtering-Correlation-Id: 8c10ca55-ee44-48c9-d095-08d42662e49c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 3:0W69rVBdq8yTzUaEmK7O00YK6w+0nXhEOMBnbTwE/PDv6YHC4kK8uXaaTZL1i6Ig+6Y7UUiCboWxnOx0G2b5SRu1SzKuIGprF7K3dL+JUvIcfe/1JIieNnyXP/5RVXE6cBulajxSChW2bUwa+Zz3LIjSxn2IBtepsiyJSesPV19oELMyWQIvtH5xqSsIkJAtsw6HyW4rTk72dH4EkzNY8icpjpEIA2tU/TTegKjyQykeNZQtIKUVE9lprxPlmISGPYg8SKCBQOrnmzY3xfdI3Q== X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 25:xA5rhYO4NDinWMNtjv6w7q1vObD02p67zuIRa08A+20MFBgrejrMxbeXyOPT3tKwMvWkfZWxMusFxApu70frlKm5MMCUtE9QaJWuvZ4XrWSw2ndMZxdgude6bRtHYcE209fZdUrjA2z59GgJ9ojg62601E5XKWfHe7EzNyL0s3Nk0ikV+ee/Lt+W5e6cONgwKgb/t8B9IIukXhmIcUeILPW1rrvGU1cwSjvJWk5J8QoXfZrMgWjKrN5nRhigYezP+OZTMcXZKXoP++2qyk0AKTwp5+rl0PoILmWVrZh3F6h0A3F/EWboeAcMjlfL9d5gBe10pGD84583NPjRuQZNf/RPKNn0n3UhAJ2ercjXt/EPvP1c50lCwecYhx5r2Vy7ruqSijmCOy1mWoe0f71VC2EjyvV18Exq6v/woGIahzVYoh689USR3HcORBW/uiRRsvsJ2fdhcTSm1I6k9VPJte4Gj6BbyD2ALRdAmcGGShsr6NWg14fgZU5ftf8gbU/hDTfkiP+tXQcQvpyOiBJBLp9jW1TW055W+5xx2SRFEUjUhhB3BBhvFCjdMusomw15qZsL6V23JS78YG79+OXxIEWVlnWN+W2TH2iErWehmAG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REn8ItmNE9jCQ5AKnrwOrdjZ+uMPQg62TgwXXo= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041248)(20161123564025)(20161123555025)(20161123562025)(20161123560025)(6072148); SRVR:BN3PR0701MB1718; BCL:0; PCL:0; RULEID:; SRVR:BN3PR0701MB1718; X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 4:Lw9yKZgp+Hi9wWxP9q/LPdIEB8IQy39/gGMZsjACMo8oWbAFUT+4eAIsT2h0bRTF6iIYme5CHNa8o5X9iweyZ7SX/8Hf+ijgS4w7bGmG4+bgfK+pHKAMLAxYHKnDnHrqQuDr3DE0bJsMyAxDL7xqBufRm9LGmg+fzEcPb9QleXhKUUexSonjB7LC4g9mAv6HZnqQZbuUrR5aqAIudoMcIlgOMJfF58HN8ucGJp77zPcvSSKVCi5Fo4PqgBvvp8xh726o3qrdykpHjKbdp9+/qALessX6MrdWc8pET0xzDuje/8NChyPoB956hIxqlHgQSFHjmoekLHDvKcHLmprIv1yLAKyKjlBvPbP2OBVYmxkN3z+W/XMHgfxA5QFG6P8EvJoz6zyC+ewQzVo1oN0DW67ITtUQl2LsgYdOoaMIELDIFD+mFVLX/1lVlkUFBYAJiIsmIOWBwb22ucBj8kvJdSt4KACwTCbtfkyWtkFSQ7IKOEg0SV4OWjiE8C/mGnrHwfnlkIncp4Knhw19med9C5Ne6QUA0//Kdqj3uBjaBtJOgl+7SX6bzuS4ZdZmgRo0gJBKbEQrybTJSyGvz2btBksw1/YdYqjCbVqO5+nJUtqJMdl7WwCOLZCDRSIJTbiP X-Forefront-PRVS: 0159AC2B97 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6069001)(7916002)(39410400002)(39830400002)(39450400003)(199003)(189002)(24454002)(68736007)(6506006)(6666003)(61506002)(6116002)(46406003)(42882006)(66066001)(33656002)(3846002)(38730400001)(110136003)(2906002)(50466002)(101416001)(47776003)(92566002)(4326007)(6916009)(2950100002)(83506001)(229853002)(5660300001)(54356999)(105586002)(25786008)(97736004)(42186005)(23726003)(1076002)(8676002)(305945005)(189998001)(8666005)(81156014)(9686002)(106356001)(50986999)(7736002)(4001350100001)(81166006)(97756001)(76176999)(18370500001)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR0701MB1718; H:localhost.localdomain; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR0701MB1718; 23:0U9x4+yr39srlvh83htLu5TXN1+ZYTtZo0NEK0o?= =?us-ascii?Q?6Xg8vEwTHtT9GSv7sozYDZn1b0OZEN769uqPedguMTamOQaBjvuKtsjv6yiY?= =?us-ascii?Q?hmdG5vLYduCwYkw0rLu5vNGh8cNUbmzIZpwIaT6TdXMsyv9P8xXpBCSE3Nw7?= =?us-ascii?Q?V3iVHvRw06ztGNvVdptPdah8hBBeVvpt/0/vK+T0XvRCof5s1D8XzQdxN8uE?= =?us-ascii?Q?4tLgTQAF8pAZY/a7GXx0Ro06QQWvyEdImznCJyMXr0ifhqyBCFNBfJBrLLAF?= =?us-ascii?Q?AFYgmPUBhWuPQLYFtng4DGBUDDC2X/gbcPT+pcaZjmMZWN6tB+UoqfdEqJSB?= =?us-ascii?Q?H63pven1mFA0fdloWnSyCAEEFXrPMsKJ344ZlXhbSvxBXRoDbcO/AhY1bIRe?= =?us-ascii?Q?tUirp0Qh0O2ncTxNPQ13AvHMIC0Ep3O4J3xevG0k+lJFCmQT/DkUmgi5Vpzw?= =?us-ascii?Q?lhJYNBdEi1yQwqZrzHcmSDymQBLh4W4H8kPHEE0EHrsl1tn2TT1BJH1JcY/s?= =?us-ascii?Q?o/01pfmJY/kHz+BeoIC1JmhQBr6g1zdTogmDfGLDPREsxurqsmUy++N4bxHJ?= =?us-ascii?Q?MMtDX71PDkeOsJYdZIxSmikSBpeorgbX/8rkAFtigM14J+NatgeO1rNFOOE8?= =?us-ascii?Q?khe1yDih5CIKzc6I5fzXsXAHFG7hpUChD+C4XG1Nu6Fr9aLx5hct6yjSzoj0?= =?us-ascii?Q?ohc30UcYGTCR3oHv+PKkRJiaAKqysyC4pvdn84aaqAWdE3WFOCa2RX/chrcx?= =?us-ascii?Q?OreziKTsPGT7rk/4we/1pMdhBdo+Z3knuhrslUMIDX0kpLyithnrIRrhDfSs?= =?us-ascii?Q?3ietXtg9CJmhrs/b0uy2gm9bK6YDKIFK71nCOLCg+Emu0p1VIprhoVjvH1re?= =?us-ascii?Q?Gww3Jq/CBfERShjIhs95DZwLrh1QCHax/+QHwm5ds+fZSYfr71Jsli0NVVV/?= =?us-ascii?Q?OR2Qt9EmlZcyGWJplO2FjeThANx+A/R4geh4atX5V2f+MU6Oxk4Y3BxYAohi?= =?us-ascii?Q?RVpg4fSOuiMirTsxbDCSOEperLU+O/wYTIEEpP+VqgmaUMte4xDGdQgSWabW?= =?us-ascii?Q?9Zyb73lY3PKDnISuh/FXwj03JOUS+hOmxjSW8tVuUisnvE8UhuaPO5lJ6WrC?= =?us-ascii?Q?kWx/cznX5p5VlINr0cZUuwlSGbBLok72hRqGtAXWNaBSVmo1/97x0SSfcnfI?= =?us-ascii?Q?FzLBD7xlgGA1ZiiAMWhuZiySuqlO6j25pJGnpUE1yrwYWymBNJQFty67x63m?= =?us-ascii?Q?70aR6STwkpmc/WDif3ZqLE20ntJI3tWRhwHDGruarZfG2HKnN053nr+DQt3Q?= =?us-ascii?Q?f5x3dcW0G1qvru75SzcNQ/rM=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN3PR0701MB1718; 6:1Eh2dlBD/wwTgaEmrzPgAT18HbqoitBCr498ZbC1x0ILzkzf+0pG2fTYkxuGs4sNajc0Rb2EXL71LS3OZV0u7bc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PMmk8+BCCRbdD1N6kkxjmQHhvRyXmA1KojqLT9uYFj8AHY9p61gqbQP9G1AHP2N6Lj0gByHg== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Dec 2016 09:55:52.6375 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR0701MB1718 Subject: Re: [dpdk-dev] [PATCH 02/32] drivers/common: introducing dpaa2 mc 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: Sat, 17 Dec 2016 09:55:57 -0000 On Sun, Dec 04, 2016 at 11:46:57PM +0530, Hemant Agrawal wrote: > This patch intoduces the DPAA2 MC(Management complex Driver) > > This driver is common to be used by various DPAA2 net, crypto > and other drivers > > Signed-off-by: Cristian Sovaiala > [Hemant:rebase and conversion to library for DPDK] > Signed-off-by: Hemant Agrawal > > include $(RTE_SDK)/mk/rte.vars.mk > > +DIRS-y += common > DIRS-y += net > DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto > > diff --git a/drivers/common/Makefile b/drivers/common/Makefile > new file mode 100644 > index 0000000..0c3f35f > --- /dev/null > +++ b/drivers/common/Makefile > @@ -0,0 +1,36 @@ > +# BSD LICENSE > +# > +# Copyright(c) 2016 NXP. All rights reserved. > +# All rights reserved. > +# > +# Redistribution and use in source and binary forms, with or without > +# modification, are permitted provided that the following conditions > +# are met: > +# > +# * Redistributions of source code must retain the above copyright > +# notice, this list of conditions and the following disclaimer. > +# * Redistributions in binary form must reproduce the above copyright > +# notice, this list of conditions and the following disclaimer in > +# the documentation and/or other materials provided with the > +# distribution. > +# * Neither the name of NXP nor the names of its > +# contributors may be used to endorse or promote products derived > +# from this software without specific prior written permission. > +# > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS > +# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT > +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR > +# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT > +# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, > +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT > +# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, > +# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY > +# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT > +# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE > +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. > + > +include $(RTE_SDK)/mk/rte.vars.mk > + > +DIRS-$(CONFIG_RTE_LIBRTE_DPAA2_PMD) += dpaa2 If you are planning to build "external pool" driver or "eventdev" driver or net pmd driver as stand alone build then you could try generating the config for common code by selection of "external pool" or "eventdev" or net-pmd driver. something like below CONFIG_RTE_LIBRTE_OCTEONTX_COMMON = $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX_SSOVF) ifneq ($(CONFIG_RTE_LIBRTE_OCTEONTX_COMMON),y) CONFIG_RTE_LIBRTE_OCTEONTX_COMMON = $(CONFIG_RTE_LIBRTE_MEMPOOL_OCTEONTX_FPAVF) endif ifneq ($(CONFIG_RTE_LIBRTE_OCTEONTX_COMMON),y) CONFIG_RTE_LIBRTE_OCTEONTX_COMMON = $(CONFIG_RTE_LIBRTE_PMD_OCTEONTX) endif DIRS-$(CONFIG_RTE_LIBRTE_OCTEONTX_COMMON) += octeontx