From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30067.outbound.protection.outlook.com [40.107.3.67]) by dpdk.org (Postfix) with ESMTP id 1E0914C70 for ; Mon, 19 Mar 2018 11:35:47 +0100 (CET) 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=o9QppBXLz6b3gmfItSLlykZn8bst+og0f+CwtafPKRo=; b=LPzOKLtIfcIzT6scUm7a+A7GWAntcc9ns58AGmHo2NnBf8pBu6Fu2cQjVEtjyQAhH3YPIkE1Z+fSmhF8x6HtpyRORUc5ZKrFepN/4NXJKKrgQTOqq0LMQoTrBG/4NPKnm/8hxtctZGE0GffyAOwqtdB5npN3WpGnKdV7X+k3U5U= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=shreyansh.jain@nxp.com; Received: from mail-wm0-f45.google.com (74.125.82.45) by AM5PR0402MB2769.eurprd04.prod.outlook.com (2603:10a6:203:98::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.588.14; Mon, 19 Mar 2018 10:35:46 +0000 Received: by mail-wm0-f45.google.com with SMTP id l16so5227913wmh.3 for ; Mon, 19 Mar 2018 03:35:45 -0700 (PDT) X-Gm-Message-State: AElRT7HjQPQ9x6r21zKV/7LZrrji/+JMm5GUbePjbEp/5KRKDRs/2c4J 7w9SvgIp6iJnOwfhyymxSmtFzrflX3eH9jqDSJ0= X-Google-Smtp-Source: AG47ELt+ZKkrdNecBp3+bsajUejfDVXTVI2W8eO2gUFBXpuxRAEl46WNg9JLHtXFP5D1CaalVYMOhoHlipA9b0jA08I= X-Received: by 10.28.13.142 with SMTP id 136mr2201191wmn.95.1521455743989; Mon, 19 Mar 2018 03:35:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.30.65 with HTTP; Mon, 19 Mar 2018 03:35:13 -0700 (PDT) In-Reply-To: <20180319092726.10153-1-pbhagavatula@caviumnetworks.com> References: <20180319092726.10153-1-pbhagavatula@caviumnetworks.com> From: Shreyansh Jain Date: Mon, 19 Mar 2018 16:05:13 +0530 X-Gmail-Original-Message-ID: Message-ID: To: Pavan Nikhilesh Cc: jerin.jacob@caviumnetworks.com, lironh@marvell.com, Bruce Richardson , fiona.trahe@intel.com, Hemant Agrawal , dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-Originating-IP: [74.125.82.45] X-ClientProxiedBy: AM5P194CA0017.EURP194.PROD.OUTLOOK.COM (2603:10a6:203:8f::27) To AM5PR0402MB2769.eurprd04.prod.outlook.com (2603:10a6:203:98::11) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2c3bf02c-a2d9-4de2-0de7-08d58d852c88 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(5600026)(4604075)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:AM5PR0402MB2769; X-Microsoft-Exchange-Diagnostics: 1; AM5PR0402MB2769; 3:voX0fkKxRUIXKhGDkHkZe8TUZhf3atEq4cE1/uAAHX4A4z/WhoUxKZE4wrpK6hUnl+NglIs6TJ8XiebRu3HgHr+O89WA+k8eUx6p/E3coUxKVpSpcDK4vhoS4xhjtWSEnxlF1rlD4nBb+fb5QDBspBv6DeUR1eqCDqbUNc9fLj6KmY9oqUjJ0MPJOYWbU/gaxTqvNu2gmu3eF0AmS2+ifa3DtfcY0EGw9U9gqm9nlOtHJeKf8i+ZfRI0OF1mSvgF; 25:7FfLqcQ5/tI5L+dNZanDiPIj1vCy7TkIGgSoxTwkPXA8zBbib4+VxnmRmPiklMVoqpYPUtWhr5y5zccFEkpy2ItpkDfjHxSu2tChTYMsHT2pn7BwXpBdzX/lq4B8atOHSl64LXUgv+M/QdCj+LDMsU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X1ZWif6fMLYbY5j3+GX+Mndt4eHH4rtF0vRPIQkdiH//uMwmmbt7XsqHyg2aMYUbYiQ7rirsYa3M8TE30l2NAz0Fc7Gnqrmwp6pBRG3DyLJZjYj81i0eiCkYduwQ6juZYShFv8L4YPQF6rpWsAt+gFJqOdj6yR1xqok/gWkFUL8VLFBp5MwiWzQfJ7JUaPGTgy1yeJ6DH+/Jv9S2V3+qaKKgsaNA9cHZmD4g== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(10201501046)(3231221)(944501244)(52105095)(3002001)(93006095)(93001095)(6055026)(6041310)(20161123560045)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(6072148)(201708071742011); SRVR:AM5PR0402MB2769; BCL:0; PCL:0; RULEID:; SRVR:AM5PR0402MB2769; X-Forefront-PRVS: 06167FAD59 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(396003)(39380400002)(366004)(376002)(39860400002)(199004)(189003)(47776003)(498394004)(386003)(76176011)(53936002)(54906003)(23676004)(61726006)(53546011)(478600001)(95326003)(6246003)(61266001)(69596002)(305945005)(52116002)(105586002)(93516011)(55446002)(9686003)(4326008)(122856001)(98316002)(50466002)(5660300001)(68736007)(26005)(66066001)(86362001)(81166006)(81156014)(3846002)(55236004)(2906002)(97736004)(7736002)(6862004)(16586007)(229853002)(8676002)(2950100002)(5820100001)(186003)(106356001)(33896004)(6116002)(316002)(8936002)(42186006)(9896002)(55456009); DIR:OUT; SFP:1101; SCL:1; SRVR:AM5PR0402MB2769; H:mail-wm0-f45.google.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtBTTVQUjA0MD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TWYhsR8kYFX2sULsyabxM/fbCkJaIloxtRo5jEtr9rGLc95oz6qAi1iS0ldXRFIolC0l3Rj+vbAOosqNs7MMc1W9r9EmclXDp21VNb85o1nHstkBxhAKtJh+kKLj+FG/EbZ4ZQf4p4hruQ8v8mNiRJcqrtdFOVUks1dMwWDd8lPs SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Mar 2018 10:35:46.0043 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c3bf02c-a2d9-4de2-0de7-08d58d852c88 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM5PR0402MB2769 Subject: Re: [dpdk-dev] [PATCH 1/2] drivers: add common folder 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: Mon, 19 Mar 2018 10:35:47 -0000 Hi Pavan, On Mon, Mar 19, 2018 at 2:57 PM, Pavan Nikhilesh wrote: > Add driver/common folder and skeleton makefile for adding commonly used > functions across mempool, event and net devices. > > Signed-off-by: Pavan Nikhilesh > --- > drivers/Makefile | 14 ++++++++------ > drivers/common/Makefile | 7 +++++++ > drivers/common/meson.build | 6 ++++++ > drivers/meson.build | 9 +++++---- > 4 files changed, 26 insertions(+), 10 deletions(-) > create mode 100644 drivers/common/Makefile > create mode 100644 drivers/common/meson.build > > diff --git a/drivers/Makefile b/drivers/Makefile > index ee65c87b0..bd83ad9f3 100644 > --- a/drivers/Makefile > +++ b/drivers/Makefile > @@ -4,17 +4,19 @@ > include $(RTE_SDK)/mk/rte.vars.mk > > DIRS-y += bus > +DIRS-y += common > +DEPDIRS-common := bus Why should common be dependent on bus? Shouldn't common be independent in itself? > DIRS-y += mempool > -DEPDIRS-mempool := bus > +DEPDIRS-mempool := bus common > DIRS-y += net > -DEPDIRS-net := bus mempool > +DEPDIRS-net := bus common mempool > DIRS-$(CONFIG_RTE_LIBRTE_BBDEV) += bbdev > -DEPDIRS-bbdev := bus mempool > +DEPDIRS-bbdev := bus common mempool > DIRS-$(CONFIG_RTE_LIBRTE_CRYPTODEV) += crypto > -DEPDIRS-crypto := bus mempool > +DEPDIRS-crypto := bus common mempool > DIRS-$(CONFIG_RTE_LIBRTE_EVENTDEV) += event > -DEPDIRS-event := bus mempool net > +DEPDIRS-event := bus common mempool net > DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += raw > -DEPDIRS-raw := bus mempool net event > +DEPDIRS-raw := bus common mempool net event [...] - Shreyansh