From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0050.outbound.protection.outlook.com [104.47.34.50]) by dpdk.org (Postfix) with ESMTP id AA77B1F1C for ; Tue, 20 Mar 2018 17:06:43 +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=r2NOGowImoQp/QXSFt4YPBKPsXPt0kzE9WtVxtXfnkM=; b=MVDv6ghn7AIJxq+JDA1bg2Mt1Xr3q+TkJEhYfofzt+oQnIMS3/nvy75miAtd5/IzAkKLzpm3if4OcRflzzqymTL/oEvCpjAlucxCowcZTv0msYuB7GqLcjiCoL/3WbJRGpJAdleqLbZ0wtu3UDvHZx4uj+Q1s/LD+L9Kn2H4pZk= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn (111.93.218.67) by DM5PR07MB3468.namprd07.prod.outlook.com (2603:10b6:4:67::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.588.14; Tue, 20 Mar 2018 16:06:31 +0000 Date: Tue, 20 Mar 2018 21:36:25 +0530 From: Pavan Nikhilesh To: Thomas Monjalon , jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, anatoly.burakov@intel.com, lironh@marvell.com, bruce.richardson@intel.com, fiona.trahe@intel.com, shreyansh.jain@nxp.com, hemant.agrawal@nxp.com Cc: dev@dpdk.org Message-ID: <20180320160624.GB18022@ltp-pvn> References: <20180319092726.10153-1-pbhagavatula@caviumnetworks.com> <20180320144046.15382-1-pbhagavatula@caviumnetworks.com> <36228538.oZjJHnOzEO@xps> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <36228538.oZjJHnOzEO@xps> User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BN6PR1001CA0009.namprd10.prod.outlook.com (2603:10b6:405:28::22) To DM5PR07MB3468.namprd07.prod.outlook.com (2603:10b6:4:67::23) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 185ada92-9249-44a1-e4f3-08d58e7c8de6 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:DM5PR07MB3468; X-Microsoft-Exchange-Diagnostics: 1; DM5PR07MB3468; 3:v1PpQK6LVCmD2W23l9mcJgBktsp72h7N+pZyXBB2Oa4A0274Y9M8uAjUALisJnWrJaLzNI4guIee26PNGw1mCUvA8/Qg78xyYsyfQnvdgEqpDfV3fQIvszuzeDN/1hxKqKQ7HjtYVxhULG1B+jEhLRuWweXlg48/IFsVo34DaI01vN1agfCe6VMOujME5BWvhYwJlKS72gl7cZpfels8FbLuis5rC2+2V/PWeJOnLmRXVybepSoNX2r84SxW7QOg; 25:G+p+Kbp1reS5jgCeMJLi2NUjwdjtZDdixeJ235wgmYfDq1XzUSz54QD/5PH79AH0yBAIOqnyyH5GAGiSfZN6VwlwDkxJpLG0dBsmguv277DTY+pqjGlbpjz99DffWdSP8ZP2PzYAtV7WgyRJiaDPcYo5ZwfU/8LM6qmvPz7c41or0VLIkptosayL+M4dc1rKyiV6e9Bhb/cCz+D8zyOxa/78x734Ag01Cdyffe/kWt76/5n2lRDT4TNRhf+25K9qkxqi2mjjYYGJ77kY0HzoYpDXf03dbQY+jC44kHK1xs+F6KCkrQJ7OxNJjEIhEGTJIpnHJ03c1BktxQs+r9d15A==; 31:ckmCeXfsc0DOLSmDH0EvEHVSC41F0ozyC9hojBK5LYl0nFLP9SGg3ieiYH4+/NBCZb7UfIydLdKJWmGJTeVMdhdbCTxjqhwXZu/X/my27u7z2b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weg+/5yQ== 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)(3002001)(93006095)(3231221)(944501312)(52105095)(10201501046)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(20161123562045)(6072148)(201708071742011); SRVR:DM5PR07MB3468; BCL:0; PCL:0; RULEID:; SRVR:DM5PR07MB3468; X-Forefront-PRVS: 061725F016 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39850400004)(366004)(376002)(346002)(396003)(189003)(199004)(6666003)(97736004)(47776003)(72206003)(42882007)(81166006)(8676002)(66066001)(229853002)(81156014)(8936002)(33716001)(386003)(26005)(478600001)(53936002)(966005)(33896004)(105586002)(2950100002)(55016002)(6306002)(186003)(9686003)(16526019)(76176011)(23726003)(3846002)(50466002)(316002)(52116002)(6116002)(6496006)(53376002)(6246003)(106356001)(16586007)(1076002)(25786009)(4326008)(2906002)(5009440100003)(58126008)(5660300001)(33656002)(7736002)(305945005)(8656006)(68736007)(18370500001)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR07MB3468; H:ltp-pvn; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A: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; DM5PR07MB3468; 23:1T9wHbgKKGnts0DWyK1xcCJdudUfwdonLZCZcrgMK?= =?us-ascii?Q?CiaAa9ogTYURTEZ2WMCSZ6ySYOGpASV67YAq6B901SwEDMdU2LCtsj51lCL9?= =?us-ascii?Q?b4Chpeq9o11/8djLgll9WSm3eXaZFh5JwKcvEWk90pYfZWXHgdcSvb8yWUr4?= =?us-ascii?Q?NoB4qBLFG33SS5Edaa253KyPajMpp4FlyxplcA0JmXCUrTSF3pkXcoDFyVau?= =?us-ascii?Q?54gUHG6ltGY6cCPL3Xy3Uevq3dmMwZlTwZ3gyQBt8qtnF0L+ScCDA+ZZs6++?= =?us-ascii?Q?8tKXEHFffi0Z2y8V0O6IgUFLJu+FExYAwFUINpZB+DxPVtd3dBgV28vncGDM?= =?us-ascii?Q?/PxaSCwyjtvKtSlTx56eurb1oTwiBphJL2MU954tOhqG652EX934r0KnUlf3?= =?us-ascii?Q?eaRTjwDzBWLKZEyB/rPGe39VS6HqWERM2UfkpcbSmap9MoW9/f+PPIWNQa0x?= =?us-ascii?Q?FScGRX8SdK9XC89xKNI6fjYiWUdp9Lbu8WqUIie0FofNj8UNr7OTMBjyBgvU?= =?us-ascii?Q?r3ctVxk3YU7yzuXA+62275IDzY3jNkXx4wwOsY2LH5Mb6VPn0N4zsTbrsD9e?= =?us-ascii?Q?OdQjdX81UJZU6IYV+AZWPAQ9neJ/PDR+JBAHe11tJIZWn7hgpJJo1f0xnuht?= =?us-ascii?Q?ZW2gKErAjY31gyJpf5M5g65AzlrePDTEUlpRHPbo8eQyQUb2YY3CToC8GhUO?= =?us-ascii?Q?qiBQ219fep1IWHwqQVyr9ahmZrGQYac1jM5mzi3vXIfgm1cpfirD6Pk26fSt?= =?us-ascii?Q?0tKZizt1OsfXwCUY2KSKzwx827HgerAXkTy7qOw7LeKxrh9729Q1dpmn7X/k?= =?us-ascii?Q?PlJfimkWWf3877acmODqo1lb+4vLrgZRBuvD25Np421drp1WSNJqjg0NVIpT?= =?us-ascii?Q?CHZXeDer2vfxLj6DcvBu4aiSjMFjv8d02x34PnzH9HrGzkhASFEqLX4doOSg?= =?us-ascii?Q?0ajaZJVSQE23RM+O42Jpl0mj8lR/asczjylLtqGtCPyZDiQp6UOPnqanEB7D?= =?us-ascii?Q?ObtTcWnGv5/kPKijSxfa7WHQNQX7G69XVc6eWmKIh4rkh9s81eFECxt/lTgN?= =?us-ascii?Q?bkRFnFKIrLUZUrdThnY1G34F7llIoPAuZSgzc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xM29sz+rcj+Z8TXrxEDJVUb08KDjC8WOhfzzfreLXaWqkxE2J6M0Y9xR+RGRwd9XZCt4=; 24:+wZpqK19cZtGCVQ0uFyrPGRhZb+YGQeQMT1MDl7c6FirB3DBiChJio2XjU//DYCcwRZShBE5V9POAwoNWsmo1wz4D11ohBm6CMmeGXZ2X/g=; 7:9AjjsqyaZ6v6bPj3+HmvwQFw2Y2iAOW5Tdl18TVjB/uuqOShclWYTIAq9vX5+Nip1CU4T9r1cJMQH8kXJaBNNX8cMfocSD5Bk3fakzGcF0+RiinTpcBsCglcKisZ6BBqNidWgXpZxWgOvLOrismYPkvHpn6dG8AWjsqIbSAuxg0e0Bj7LLfSY4ArnspzxSboql1DAgDRO3c9vf+S+rZsKiPhFSQ3eGkMmVonSALsoq57rMPrd1RFCrRDonatHbUX SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2018 16:06:31.5132 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 185ada92-9249-44a1-e4f3-08d58e7c8de6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR07MB3468 Subject: Re: [dpdk-dev] [PATCH v2 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: Tue, 20 Mar 2018 16:06:44 -0000 Hi Thomas, On Tue, Mar 20, 2018 at 04:45:47PM +0100, Thomas Monjalon wrote: > 20/03/2018 15:40, Pavan Nikhilesh: > > Add driver/common folder and skeleton makefile for adding commonly used > > functions across mempool, event and net devices. > > I am not sure there is a real benefit of introducing such new directory. > Is it only solving the choice of where you add files used > by several drivers? > Is drivers/bus/X/ the directory of choice for platform shared files? drivers/bus doesn't seem to be a appropriate abstraction common API's used across multiple PMD's. This change is in regards with the discussion on ml: http://dpdk.org/ml/archives/dev/2018-March/092822.html drivers/common seems to be a popular opinion but maybe we could use something like drivers/SoC or if you have something in mind please suggest. Thanks, Pavan. > > >