From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0047.outbound.protection.outlook.com [104.47.37.47]) by dpdk.org (Postfix) with ESMTP id 57A2C1B2A6 for ; Fri, 19 Jan 2018 14:12:30 +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=4PDCYJZOgJirduZNfrkNrKiiQL6YotrwKc5uSyeol8g=; b=Dnbn1gIj78UltckmChb4tTs4wvlgj0G0L5iNCqRErLvNE3jfj1bugsByVAcITExnAlkJzyL6OavNcmP/evYnQlcCTw7kP0fO5Qp68a/N8s5JlxU7d5zEvi3QMnAfuTG4bo/dC9HlpaRo6ZqPhglemBNp3mQMbND7THYtf+DOQRk= Received: from Pavan-LT.caveonetworks.com (111.93.218.67) by CY4PR07MB3463.namprd07.prod.outlook.com (10.171.252.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.428.17; Fri, 19 Jan 2018 13:12:27 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, bruce.richardson@intel.com, harry.van.haaren@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Fri, 19 Jan 2018 18:42:03 +0530 Message-Id: <20180119131204.7391-3-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180119131204.7391-1-pbhagavatula@caviumnetworks.com> References: <20171231000203.4510-1-pbhagavatula@caviumnetworks.com> <20180119131204.7391-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR2001CA0021.namprd20.prod.outlook.com (10.172.43.31) To CY4PR07MB3463.namprd07.prod.outlook.com (10.171.252.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: e58b0d84-c224-47d9-ed75-08d55f3e4ac9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:CY4PR07MB3463; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3463; 3:8Ptili53qXaLW8VQMqW4iXgkQTXZIMnaHBkSB8YmON7v/9z3Hm/+Thuq3IBxHHpuH1SfWZKaiazViub60U19ZpgR1M5COJw/FQZU45WkvC0bhvTNBazf5ZSzn0YVYtRnUBcJPlVugluz2gKPEBLit9M7LDZRSAojlspvHpZsX7Y78OS4cRiIXNV7k5xJYeK88qJU3Q47vKT8NJL+QHSDFQ+wc6Mc4mR1c38//ySnDM6E8HsvRvyR6JvtgoPi8j9D; 25:T7nBwGYsahQnCmCDSIJdtYEcJKgJUinJ4eqSuPtosnot19dRqRS637sErCAGAvmni/2XuVonkVqswM2YJUu6zYBd8mjOZZbLlcH7Py2LKOy+PqB0NPrWZjb7QoO3YTnRKniPTGfSjZAopdEYqcKDbsDxNKNnSHqVH1PDzz9FIMnoNCjZT/iVFJjEJxRqSyFNYSH35kTQYITF9BbkIx4izhmluYy4igdTrjAE0cGsUBjl3aH4YLwrXNy8pCeq5oTHpdYbeSaoYK2OC9hUL5fG6lHeaK0ME5McIpd36HOR0oroMrjaPIF8lQKeDWDNipZCkjnJ17pjl3swfcBzgLetHA==; 31:QatDtzXw/UtyoxAvdfqRwEoDHOmSwxv6wNYBC2QlPON5yXr0xI5dSwoD8QrjgG4ijegYmBJAhxMnq3AoqVc82DTUOsOccWdtSXzgL3Bk2cE0XLcz3VBifN6T3NH5umCqfcjBMaZDsqd4NJgF6qavk99NRGRRSFcCjhUdsUNI2l3Fz/UvpjeK96qx87j3JhWKfyKTWTGcvtoB9ASyo0sajg7WdEPKus7oeWG0gfIVXFI= X-MS-TrafficTypeDiagnostic: CY4PR07MB3463: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3463; 20:TKPEOSSf/NDeHOrikM+2TjZr3EFiyL7J5s7k4LZFQOc+5Ubt8jM3LcPEUkp35FKWYPHYApTASNpFv4QfLM5SSAk2V86uGJauEx9/6EDKQ9m18PDuJTJhDeygxXFb6JZk9TZ3DW1lfLsWNsdvTU3MNdTPIARSaMIklAnAhDzI191mwlcF6DG07+wEy6W+fk1OU5XkAC44xT9fVZmEBWrsHNnQYBfcXIsLlHlqevdmk9AwWKAWSevsHU7kVCUETbVCcUx3cD/imXqqEQREuOOlmXc1zMjzaRZZQV4Ednww2/JyB3wesU+qHCE/jZz3qvisCT9ufk1CaG2ijsyK50dUgekHVRuL1ynf/4OWNv4zntzvKPHy9HlpdOJn9Tn+S0nPsF9uNB7htc4JpiHNlXmithULIB4hw2scg+DEJ986A6Bxzjhl2jh4EwUsrJDv6ICzWKZSxVDxBoQJEED91v7vSXuZwv1u08pMiAEhc+Neb6k/lmshpEq6N3T5/dYp5Lk0HQXPQjtKjiltyLVzOj8p0iFi79i9y0PxSj+jbyqfr70DxsQo7KI11fLSQgcSyrS+FPy0TN8Dq72DBZYT3dQ6dZNuf7fikrmCyf/sygFkf9k=; 4:xKmR8a05ItprnQQcDEJo73C6YYycDIu5uX3Jb34Vn4DZbsf33VWGXfe/rFKlL+iyhIFGkAdPUYYwD6d3NREZa19rpez9pOv2va+JfraRc2WI3hfmVXUty7Hz5fhFzbTc8ARdN1EoLaDqsJvhYQIcBwYLHF0i0IRXl+7RyPkMCANixIo2u22ewCZO8nGlPctuGxfsF6EQQ5tRdGiGzzo32VFBfDv0rMfFy+0LLQeQEnp2gjFCxraqJrCsGcqmvULB45JhlTjqxtMrNFkOV/hgOA== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040495)(2401047)(5005006)(8121501046)(10201501046)(3002001)(93006095)(3231023)(2400077)(944501161)(6041282)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123564045)(20161123560045)(6072148)(201708071742011); SRVR:CY4PR07MB3463; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3463; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39860400002)(346002)(39380400002)(396003)(376002)(366004)(189003)(199004)(53416004)(4326008)(16586007)(81156014)(8676002)(6512007)(8936002)(6486002)(36756003)(53936002)(316002)(105586002)(50226002)(68736007)(81166006)(16526018)(25786009)(7736002)(97736004)(107886003)(69596002)(106356001)(48376002)(76176011)(50466002)(305945005)(6346003)(6116002)(3846002)(1076002)(6506007)(5009440100003)(386003)(2906002)(66066001)(47776003)(72206003)(5660300001)(59450400001)(51416003)(26005)(2950100002)(42882006)(478600001)(6666003)(52116002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3463; H:Pavan-LT.caveonetworks.com; 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) Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR07MB3463; 23:po/6sho0sQLy9tVQNmHE0fF531I0iPa4IrW8TFPV6?= =?us-ascii?Q?ygYD2CB11KtNEoVu0guUgYW4tFXablaLs4rr/rd+32/80sKyLLGBEqe1gOqa?= =?us-ascii?Q?00/6iVnryezfyU0iSOq7Ls4rrP6t1NskNklZFQWnKg5xRVHRAOgn9YWR5bNC?= =?us-ascii?Q?Q+CXpq36NR4EjYNDFRnDjP8jV1hqkEi/W0ESGxzPwarM/fYOhyk8Lfv5F9Kl?= =?us-ascii?Q?tQFNBmZuhLnYoCXbGAkhzzOVoz2hHhxjRHU3ZoG3nEdCiekCpUYI78PlVF6h?= =?us-ascii?Q?v1A7dF93PESyatg2UhTSZ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utput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 13:12:27.1738 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: e58b0d84-c224-47d9-ed75-08d55f3e4ac9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3463 Subject: [dpdk-dev] [PATCH v3 3/4] event: add octeontx event device to meson build 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: Fri, 19 Jan 2018 13:12:31 -0000 Add Cavium octeontx to meson build and change order of drivers built from event->mempool->net to mempool->net->event to resolve dependency. Signed-off-by: Pavan Nikhilesh --- drivers/event/meson.build | 2 +- drivers/event/octeontx/meson.build | 8 ++++++++ ...eontx_ssovf_version.map => rte_pmd_octeontx_event_version.map} | 0 drivers/meson.build | 7 ++++++- 4 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 drivers/event/octeontx/meson.build rename drivers/event/octeontx/{rte_pmd_octeontx_ssovf_version.map => rte_pmd_octeontx_event_version.map} (100%) diff --git a/drivers/event/meson.build b/drivers/event/meson.build index 437d80bfd..d7bc48545 100644 --- a/drivers/event/meson.build +++ b/drivers/event/meson.build @@ -1,7 +1,7 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -drivers = ['skeleton', 'sw'] +drivers = ['skeleton', 'sw', 'octeontx'] std_deps = ['eventdev', 'kvargs'] config_flag_fmt = 'RTE_LIBRTE_@0@_EVENTDEV_PMD' driver_name_fmt = 'rte_pmd_@0@_event' diff --git a/drivers/event/octeontx/meson.build b/drivers/event/octeontx/meson.build new file mode 100644 index 000000000..d2b2bae56 --- /dev/null +++ b/drivers/event/octeontx/meson.build @@ -0,0 +1,8 @@ +# SPDX-License-Identifier: BSD-3-Clause +# Copyright(c) 2017 Cavium, Inc + +sources = files('ssovf_worker.c', + 'ssovf_evdev.c' +) + +deps += ['mempool_octeontx', 'bus_vdev', 'pmd_octeontx'] diff --git a/drivers/event/octeontx/rte_pmd_octeontx_ssovf_version.map b/drivers/event/octeontx/rte_pmd_octeontx_event_version.map similarity index 100% rename from drivers/event/octeontx/rte_pmd_octeontx_ssovf_version.map rename to drivers/event/octeontx/rte_pmd_octeontx_event_version.map diff --git a/drivers/meson.build b/drivers/meson.build index 1d6430bfe..604384f07 100644 --- a/drivers/meson.build +++ b/drivers/meson.build @@ -1,7 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Intel Corporation -driver_classes = ['bus', 'crypto', 'event', 'mempool', 'net'] +# Defines the order in which the drivers are buit. +driver_classes = ['bus', + 'mempool', # depends on bus. + 'net', # depends on bus and mempool. + 'crypto', # depenss on bus, mempool (net in future). + 'event'] # depends on bus, mempool and net. foreach class:driver_classes drivers = [] -- 2.14.1