From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0064.outbound.protection.outlook.com [104.47.34.64]) by dpdk.org (Postfix) with ESMTP id 5D0971F1C for ; Tue, 20 Mar 2018 15:38:59 +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=lrgzsPUyisj8MhlPFwn/QnTLmcywZetgkHOFzCa5/Nw=; b=oexNRgjp8Ul6/CXNbn9CLj5m75AyFYe4sh1DVbrSdoSrtaq/4BFF+V2snm8qKcYQyRsDzTXwNJMQuX2wI0bqn/o5zGe4yI9kwj5j8QBfZz3ujc/lr2MrWpE3H/ASgw9TlyypgrPK7uuLxY9lH3xPCa4WlwQgG1RE4qn6S74qeZI= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from ltp-pvn (111.93.218.67) by BN6PR07MB3459.namprd07.prod.outlook.com (10.161.153.22) 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 14:38:54 +0000 Date: Tue, 20 Mar 2018 20:08:43 +0530 From: Pavan Nikhilesh To: Shreyansh Jain , jerin.jacob@caviumnetworks.com, lironh@marvell.com, Bruce Richardson , fiona.trahe@intel.com, Hemant Agrawal Cc: dev@dpdk.org Message-ID: <20180320143842.GA15117@ltp-pvn> References: <20180319092726.10153-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BN6PR1101CA0022.namprd11.prod.outlook.com (10.174.237.32) To BN6PR07MB3459.namprd07.prod.outlook.com (10.161.153.22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 2b2e9aee-2ac5-4b65-6bfc-08d58e704faa X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN6PR07MB3459; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3459; 3:4eG54xWG0qXzCm00ljqRmhamZp18Op2ywT1BaFmHNSbm0rekZUeqKRQlbXPgAVxp9oDO5n+FG8n2xBeU5Tnc1tWDEOO8O3DzeJ2vlo8hmbM36VLvbl9IZXN5sAY+cEDusyoCV5W5aSu/9+w3ckVkdmk6R3QdlGCFstfLwoWqh1ahGXsCC7o77cBZBKsXOMVxzzl9/BEt3E7vxq8OUMS/ETwNQZM7D75h6mD3YAK5OJnJserCZ/EqOhjrOWxNX3wr; 25:yoYLJpw1ruaQHYRbgd4KFh+2pMzYLRsUuCO7zL9UlXkkEIp/gSTT9cNf5MTQ0gz2FyervAZ5fSPEpRY9xEpD5Pmd1jsM0fAe3q0SXQolwQFUtQXiBroldbjB3C7mcu43w72Nnzm/D3wjuXSLF+Id6Amo3dPn2A1CDu0xg82cUPyUzqlgv1San+AeZGLGNkaSeAraIdEYKxNuTRRx8Xa245c2k9KnLJSm59BpK8RyrhsHC21i+TIBEfidCo2/gj74TzE8QJqDAkG4tlgr78+Q4GTtl3XjV6UMxKLma9qMog0ufDJAlG8MPPBLU5pmql73pZBIEp4XHVuxptAZfGDzHg==; 31:51sb9L6ms/QgxI/Y9Cc4jdqqFH/QG7jkJh5zufJ0IArSCFtcGq6Imyt+YxFUC9wrmUIFThs1AyMfRBAmYeceFfI3tUKrJPBElB1WKQN2TulCbGywBsUSJuweYxwhCTCWdgNN6qAmipCXVsNu984UEPR5k1qTIvUrdsGZNCbufBqBJmX4s/kwhSgNzGbStcd1gtmVZWSUk+bvxGVls3Y4BMfoLHt3qCrrYDMDNVfVweI= X-MS-TrafficTypeDiagnostic: BN6PR07MB3459: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3459; 20:bJnJOhEZZyx8zdjh2QtjH5y1y13o4FWe6edA3tqT2ruzjfo33uWtpnaK3LsJ8rbc6ICgP1m0dKN6GIxNgna6DWSUAdd1dCkT3VVoFFcyhQGqXqm6fophxk4ZQAmZOO6apEznG/XXFGcpUiV6GieUSI7X93CODcVnVzaldgKM0Oe2T58n65AffqeFAi69yiRZjc3uODCBMQ2XUCvYK9nEE1l91NxhrEO1Kb4MLGUPzetEDGGS7xEaE8amc2i/WUQV1MehJcgH/AtYWkQxGfBVkydQQQv3d1WTRywgy9Gfu5u4QWVGNiCoGhGeecTgvX6zcJFkyN/eYWkKnlFHrs24UQQ3W52o18m2tpVc5fuo3F6NOQwLnem8+ufCQwFVJGZ0j9f1Wk/BBfCTLdEMjBvZtUY/+xYZA7RphNnzULARDoQ9gTQAuxVdAuTQ1nGKghAqqev2Ja/BFwVNetv+8Lr1I14C5rzw8LcHVa4QClAS6OM+qXShaapO9eC9F0rutplcX+tMJr7n7qryu6suvjiuaYc6TZX6GEZjt48JOhImmHKQtyUNwnmrrq2VthvX40vNdFYbX5H/PNMY2qQs7MERedP/NxweuIneMpPjI1evQwE=; 4:/pliIas+5cjGScOZXvi+ym1gEpALhNYl4lolU8JUzJFUHGu+jgx1UIk0adfyyZ8RAoAnN8E+g7SDauVyTT41SK0GG/UXvN2fmuHoZFV3v01N8GBd0gA56CLsp3kQjQv2k0Tq4JVJbedQPa3/RRlAME4OMAS20Kb1ry1zBdOAWVPuTy2nsbcFsb6lkdeYgM7XaJJqwEdFmYbU/VtYVH+eolApWYWT5SR4CENGxNu7FkFzlZD7aLxFRO89dPYKLDKnDw5m6THVguWhGPUxhwj5Mw== 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)(93006095)(3231221)(944501311)(52105095)(3002001)(10201501046)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123564045)(20161123558120)(6072148)(201708071742011); SRVR:BN6PR07MB3459; BCL:0; PCL:0; RULEID:; SRVR:BN6PR07MB3459; X-Forefront-PRVS: 061725F016 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39380400002)(396003)(39860400002)(366004)(189003)(199004)(8676002)(16586007)(26005)(72206003)(186003)(16526019)(50466002)(316002)(42882007)(5009440100003)(33896004)(105586002)(386003)(6666003)(76176011)(2950100002)(53546011)(6116002)(3846002)(1076002)(81156014)(6496006)(52116002)(8656006)(5660300001)(305945005)(229853002)(33716001)(7736002)(81166006)(97736004)(68736007)(58126008)(110136005)(23726003)(47776003)(33656002)(66066001)(6246003)(4326008)(25786009)(2906002)(8936002)(55016002)(53936002)(478600001)(106356001)(9686003)(18370500001)(107986001)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3459; 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; BN6PR07MB3459; 23:rCll+zpJp8lMCF2lXl/Hj+gOu8mdq3CKS04HEZEy1?= =?us-ascii?Q?niuMPkvDAF2yzuR8/qQBYGJ47lDhuUHXFDB8EuRzPpBxk+JSMlLZiQZc4rXb?= =?us-ascii?Q?JWRUzpd6NT/bCIjpZkJLaPKtTufJz4iVQjFtuLWjlIwXS0MM/+/t/dn8M2aj?= =?us-ascii?Q?A1svsx7ekr3isVEUAIxAtpDGuryBzK1hLI1svqHv9r+Rdbz2z+b/DDZIyYq0?= =?us-ascii?Q?OD73EBF9BzkwM0F7mGKz0U20vgTndOpDia0x08RCQuz/WfblslFh/0GZKZHS?= =?us-ascii?Q?Lcnq6xd43oGCShANO22Gq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q7Mb5EKY2bNMrfAVJBMQi1sGqORHfCcGXhwuqwf7jkZQsA1lmzZ7DmHJ4vk/sOt8=; 7:jzUCfMdQBMzMKwU/a+UJMwfADYPRROep6XbgbIPsKXzKgA+1LwqLKht7AiXBZhtEjuRTauohSIKw63Mq3bddsr2rKUubPiCxURrZXCOrqIaK6mcb4ZW5wfxj4VmpV531fANmrieMV/k8Xty1lSl/bwSALF56SPbMlCactdKXyrXeoWN08zuLlAVMZr8P2FrA+FDVHVZ4mjAl/NCb0bjJ5x8haMIV9NYJpfIduKDaXH2dIFh0Eb2+CoskY7h93EmV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Mar 2018 14:38:54.2780 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2b2e9aee-2ac5-4b65-6bfc-08d58e704faa X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3459 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: Tue, 20 Mar 2018 14:39:00 -0000 Hi Shreyansh, On Mon, Mar 19, 2018 at 04:05:13PM +0530, Shreyansh Jain wrote: > 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? Yup will send out v2 soon. > > > 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 Thanks, Pavan.