From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0071.outbound.protection.outlook.com [104.47.38.71]) by dpdk.org (Postfix) with ESMTP id 7DC07354D for ; Sun, 14 Jan 2018 14:29:24 +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=8fpXABdDZkH9WY7OgFf6w8TGL8qXHlBVO59Qcyrrvts=; b=ZeP8hg4XZrRYm+eJU4XzkkB5ENQu4ucHOdtbDcdiKdXpiKejjsUPmaG19jV679d2crmo6ahZ+vxlWH34LAFNdMA4Ztn1QlAhx3o1fUThZ6pz7fVG8GlLCBdUnuXEDeRbpH+lnkrN2IY6U+mctvQOBkaU7fwAIEOaMV7Y12LMWWs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from localhost.localdomain (111.93.218.67) by CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.407.7; Sun, 14 Jan 2018 13:29:20 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, santosh.shukla@caviumnetworks.com, bruce.richardson@intel.com, harry.van.haaren@intel.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Sun, 14 Jan 2018 18:58:35 +0530 Message-Id: <20180114132836.9828-3-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180114132836.9828-1-pbhagavatula@caviumnetworks.com> References: <20171231000203.4510-1-pbhagavatula@caviumnetworks.com> <20180114132836.9828-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: DM5PR19CA0025.namprd19.prod.outlook.com (10.173.167.139) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b9a59200-63bf-426a-6241-08d55b52d323 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:CY4PR07MB3464; X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 3:aTgox1CiXge2h9JKGSCdJX1YNHdwPqKWkiFwSal/f8r+nRFP8nkxAQoTsqi8OF4FO5KYFKFxjN1moJex59H59qDHlyQfqGCKfR+MNqak7oDPXKSEI9XXDnooepWnOqqQUho2PBQolTjoJaO0TaWlD0oDpHZ89/KQ32cMHmsL9gfaUA7V2h5FUWngM/rno+S5xBRCjmoTdN5SOl1YFBS5PZJuyNtDGsbs+GX5fr9E2q+5cXQNQbU3p+JsVauMzQjd; 25:+nefKpR0rPp0tn7Jp2cQgR/enKEy0IOp5w6horZPWWU2iMTH5AM7KPMieDIy1KN57DohR6duKMZeOBGYfAjjRIvbzlrB5TiRLEhapFn01BiW2tiYs7leuxFvAUSqO8wlMwO7K4XSy+I0t7B5bGdSEsZWNm9KUibrL37LoDzlVzk0/GOa3vsvhxDa2g9BjTksYPXJ1bx+CoEIniMs28H0PJ3Ojobh2T0gmT57vU2J5GBKl9dVBGzB0bADreHiQSI8T+jl7ymPJTl8xdk+aDK88ghdQXEg0JFohCLcdtYr/laFFPw0JcDTS6BVqc5BtIJRnKdRR/s5Kwk6CXYldb3K6w==; 31:nlSg7jhHZsNVmDOqoe81ZxFmkTPt1DUnJXUpMOJUwLemaolkbdhocwHKQOfTmcpTNsORYmiJNxep/+I2MfO2fmJFqQ2adpsMABk2NAV9YHiFJB5SGKPwCd3ihaddUH135aLpMAB4okQtMARdl0pN9MQLdBwiiMMAJYjhBAeNo8deq57wt0SKZgxgVXwxZJBVaCI8H4hIUXYafXr41aEy2bsefnBpG9ZiUAOF5K86zjs= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:rmfQ2136LdBrB3s0BeHE0iSs6J8E5cVtwXkrWVarUuFv2rbKo24JShtW3WYhE71T/DP2oBkUHyNdVRPLkMvMLqJcvlPTZ1Ri2VufsXzVQ9VYM2ysfLbDPT4VFXTUnP+LqrRncjDDv7TPuJZ9pILnmIfJP+LHUjm+wlt4uvCApcVNS6naHp9yEVQPQvKYH8ktcb8v8oik/hlQheFV8niu44Zy4kNIUFHYxJAM0scYXz66vsWABaMs2jVG3NksJviPdA2lfWofG8KhCXZRX/zsIbGugvGFJkQtrxaDmgBDTigIb26l9F61be6pONdauXLuukesIeJCnsMhQ1O4Qgz0ZpgwcKDD2c+XCqgXAcI4DQeABWnpck+TVkYZ9k67k3xiwGans7i9LdX3dLzDHhnWCRraz6+jXo2J6IVb0K1P6QiJ4X5PT1ee5Ml4+vnhRxzNWYiEQrovI65/vbYqDOkrWpC4SW7UQc9+0TCZE1vI2tILHWnK77KBm5BaUf+l8vVP6I82cu1bExbVmhqFf7B2Xz/xUS061kjvHBrhqhaCOJ7wDYJ780QMDt6eK7LIzs2Tmw97Q9wD7bdvTKaVosWns/FQ8HXpeHIyx2kZv+oMhD0=; 4:LFf8TDrSPnsBl/64bWHo1HbIcwKxT9Jx6C4T0xRO+1/gNSIZdnKaYXfdpTZflVEwUjqeIbfXC9YjABxbOP5f4MXrQg8/ez3PZwRwACFmOx6asAUw59PGy5/YasYLlwrkPlo0LJK9+wDFg6qkdPg6rr2QVuJejwsqpObd/qrxIESOjDwKReRXaAzXIryBsWAweIgxp7nNIDaLV7gLdTbcQ+pqOYcVDGttxo+lKRd6vMTbE4HLXX2emlNKfItG5AWcUXG+7MtN5zNvwHjv4xC64Q== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(8121501046)(5005006)(10201501046)(3002001)(3231023)(944501161)(93006095)(6041268)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123562045)(20161123560045)(6072148)(201708071742011); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3464; X-Forefront-PRVS: 05529C6FDB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(39850400004)(396003)(39380400002)(346002)(376002)(366004)(199004)(189003)(5660300001)(2906002)(25786009)(105586002)(5009440100003)(6116002)(81156014)(1076002)(7736002)(48376002)(305945005)(8676002)(316002)(59450400001)(386003)(3846002)(106356001)(6506007)(81166006)(16586007)(4326008)(16526018)(107886003)(53936002)(2950100002)(50466002)(97736004)(76176011)(6666003)(478600001)(6486002)(68736007)(42882006)(72206003)(51416003)(66066001)(36756003)(52116002)(8936002)(50226002)(47776003)(6512007)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; 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; CY4PR07MB3464; 23:Wg+5ot0NU9DG4XPAyqqQsGG1oESn77CDZoJ6DsNtv?= =?us-ascii?Q?sgv7drmmBegjFHlqFnqdWoy/ib3ODhcEZWn7penks2C114meURIeLFr1P+4t?= =?us-ascii?Q?wHcfTAnxcNKEoqoyNqWPK9LpEzJW/MWJVtgLHdQeAHc1LAR3+rwHoTg2maSE?= =?us-ascii?Q?BcEFhrLBVzR5qD4Nuj/1ziPcci1tjXsClZ5b/A50kVkS1uX/vOeakcOjuLG4?= =?us-ascii?Q?Pdb3Dk0hPuMJw5i+gMcvKz7RDQMfTl7h/8+SWRFAPWE6lGMDJiSr4kvbZpvQ?= =?us-ascii?Q?TG15SNe5tXCG9F2cdJuRjtsRno9D7d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?Ccw2wSUOncPvTpwGecK/wh5RuQ1vkDZG5uY?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 6:eyNr1L1EY3a2YLRwUm6TtDFR7nqVEXtqP/RDc2HbvPzqgklHTwHnIKF5g1liuhiQlq/2j/C9Ttoyuko0wndhiTPapiROoRP6Zckg6Ufo1lapItppJPK/iznWLP5Jq6oVcnSW1rwzPvafmrCpEu5gVM1Be/rC8tOrISxxgY9oheBvKuI2FUj5FV6f+NjinEcDhR/qLIzsagPFyF2gIusjZAiFKNs5d3gnT/dWFkWCkx5vGydfIxc+7hxHFILU8FaYloCVqLp1HrI6mSuLVNkAh4OqA0UoyB0d5inIwaGK4CgmQWBjWmWJ4eKkc6nSEVNMPNjt6eptu4Nr37EOhHVCCTcBNaRrFssg8+ZUskL4z0M=; 5:QdzV/X9BvlU/7/gFwgM+0vbozWCKWkfaFOGh0HQt3HjQGr7kYlmtX9rTu8CVo/xgx0YrDjkSdSSvhGC3HsPnCpNyVhKyvYh1gZ3iAkSPAUgzqVDBHI9iN1kTG17etRubSZ5GyPvU7isrMi5/5LK3y6VTzasbsWtptBGN0UPfjjE=; 24:cJ9Eg/9nlPmCaKmUSP10U9rnrbtEUi589/EGobeWk0IFQt/zecWncBO9AIdEG5/eN4WWeMKT4rTO2qpFgp1/gf6JPs42Tv0GnhIFAGQ+kFk=; 7:XNW34ycRqjEZMrqIstgnttXJddr+tUJ15Q7Qy37zcO1v4PUry/lLK8aGZ1a6TE8pO6eWwjGYQjpNvs85E7TEgDYV3tsHwpnxKLT5WCvBNFZzihjhmEVi7X9sZExZP3oMFRzbUbj68gsCpxjUzxdA9LFhuk12dIlyGoLKBdWieZ6bvXzc+xH4jZDy1MiSOnrMdCTfqxGdezNvQk4u3bnrup+oXdar2LrznQGceNXai7+lcw2GulcNV4fSZAbFt3Z+ SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jan 2018 13:29:20.7894 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b9a59200-63bf-426a-6241-08d55b52d323 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR07MB3464 Subject: [dpdk-dev] [PATCH v2 3/4] event/octeontx: 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: Sun, 14 Jan 2018 13:29:25 -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 --- v2 Changes: - Add SPDX license tags - Modify driver build order similar to make build system. 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 9b5039847..26dfe72a2 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.15.1