From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0077.outbound.protection.outlook.com [104.47.42.77]) by dpdk.org (Postfix) with ESMTP id E65661B359 for ; Fri, 19 Jan 2018 19:15:58 +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=VCEv7ZUHDPG0aTF9NVEGREkZZ/kNws05HUVSinSzAqk=; b=MQ5rOSkDj7N/Q2IS1oq+iwrNiwKKd8q+pwrNh/4yy6C62SYhvue7f9LFs9Nq6agE705zvULHbaTD6PQUZh2aALst5CUW2GgoC+Yb0YuWt248mqva6n2ck2xSpf1pW2MuJgqQQxR/VSLVt9Liiz//Uya62mmk5Dye636NLbprDaA= 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.428.17; Fri, 19 Jan 2018 18:15:55 +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 23:45:20 +0530 Message-Id: <20180119181521.21534-3-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180119181521.21534-1-pbhagavatula@caviumnetworks.com> References: <20171231000203.4510-1-pbhagavatula@caviumnetworks.com> <20180119181521.21534-1-pbhagavatula@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: SG2PR06CA0101.apcprd06.prod.outlook.com (10.170.138.27) To CY4PR07MB3464.namprd07.prod.outlook.com (10.171.252.145) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 0b1880d9-7eed-4e83-95c9-08d55f68afca 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:lbkEHjcYtRDkZtMkLmXNzYVhg749SwxdPDdVOQchvRiJaNi+C5Z5vcS0a5ZUaHyWvrYIKMGEtsv7g98oOtI1XofpoFgBVEKD648WNTj7imTLZxi9innRMftG4mY6rbV+Ph54nIfAbhS47qtZWKkn1O7f0yUr40iw/v0tCMuuxzh0JiXguFWIdxWkTwobN0xRr7OqlrcupYGiyvjbTbwAZpdBiAcFOZZUr8/+wGIa6ie5STTSimu8ha9sOEAnhAe5; 25:8btijqNfO+0IWeEKsJvjKZ4NjcHbMy7v1XLLNN+Kk/p+2TBGD5tOQZz0Bd0rMd3fCi4dQkXci8r1+hZtjIpSeXd6ePiNUhzUMaLTbJ/QRJVBq0VjAPYjSBeVNUknn5sz9iImokXXB0/sR8WlLGJKOSlFfmhhCaGVGw/TJJ3q9aa13W/8A2QSdbUdlxEANxWftBrD7T5HkOXIsTnPVmnPtEgX2VzBFipc1qxFriwnwO0EtvX66iR3gqJtDfL+r/pnuj4jYMfDyM3hAt+sb0eavKCXDHNRaDPSg2BKrImGIv5TEMdFdl86S3+IxUDhkwo9t1NjYRsqFdK59C1R6byqqQ==; 31:ZYuIqnnNctrainPWnAuwTvb4BFLY+/TocPJXtSSmNjb6w+YQHqPfgLvXLFCJV55jgJEt9+v5OS6RW/9m3DyfcRFEJ5Rg+oyMNtUVZxZgMeK024K1o2bw0A8NFNinX1qf/8NpnyHr1/1Dwu6VehCO+kRiyxMjLquh47b6y6TslDo7mfKfxOGKrmrkXQ5B8K2mr/oA22k+JhLQwBTXmU+Y4CvvtthbenfKsMFSKOmFG/c= X-MS-TrafficTypeDiagnostic: CY4PR07MB3464: X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 20:TZwzNkfbcWCe/Kif7YagIfsKK399IKxN8THxOBnsJw76evBpprXiF47UsRKE34ZGf8/HlcF1S4F6mG9cEq6kEz4xq/2MRp7oUANFHKt1uZPh28tsVUNoGlvfIuz+XWCQIx09G+JSj/k5GXJmD5OdwBkJVzx0asCiNIBksyfEBSkHxy/pmwC77Enf8QRVHw/AlQEYuIlEOcBns++hR5Ilrgq7bmEShv8YHzysixX4NeWkPzZkP/+fKTMK4lnt0W68++MMGGgIvFU9rMmcKDk1xNaYXRjc/5gAwxXjeTRDZDN2CjO+lu9pYpdjYwm2JBWtkrUOj3/v6F7vAUdtBjhlo5BJJhqfAkg/snevtbcargAa6IhbyWaRiEIHQ4H0nPJBYdO1XGfytYhvTMulwdqbaOyTyId0vLubNdOqVixs4pU1m3iEUi9pb6kgvW6abYUinmi3fCLOFsRy3DkwDqO/8/vsgoe33g7CG7oXCucHmJQ4bhK9NHoI0c40eZBgCbmTUBzjAj+06gvrjLSvQCxL3Mxs0jfyWVtu7b+/+4DvKdf+LGlSJIQH0WC5VUzP5/FmBTJBxIS5T0dNd4af+AHUfkofAWG0Rcv545lip9VkJ1Q=; 4:ZO0yYRukBccyXyAxxEcpSoiWWd6yV+EpZsD7tJ1hdFzVTxovnVWFko+EV4+cqh8LMAxAJtWa9+tEELMrpPDMoBsR5UZ3fZoUUzoNZiRxtMxd7PqdoryIWfFiZcdtvd2vg7FWk/eDLck/alHP4zeGT6HkQBDUU6Eim4fPuRvdum8JECuLIGc6Z/Zc2wYpJjxDWkaaiZ8nH9MkWrvRG8M5ISt0ScK5o3fguqi2bxCi15xc/WvleA0aZrkSGJvFCoO3//H/bbiXEr+SKAN3wvwwMHChCQx+PM6bjG/XitQyvy5XlpGSOepVuxE6L8gUFNl7 X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040470)(2401047)(5005006)(8121501046)(10201501046)(3231023)(2400081)(944501161)(3002001)(93006095)(6041268)(20161123564045)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123558120)(6072148)(201708071742011); SRVR:CY4PR07MB3464; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:CY4PR07MB3464; X-Forefront-PRVS: 0557CBAD84 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6069001)(346002)(366004)(396003)(376002)(39860400002)(39380400002)(189003)(199004)(47776003)(478600001)(316002)(386003)(16526018)(6506007)(52116002)(6486002)(53936002)(51416003)(6666003)(6512007)(106356001)(105586002)(36756003)(16586007)(59450400001)(3846002)(7736002)(1076002)(6116002)(305945005)(5660300001)(76176011)(97736004)(48376002)(4326008)(25786009)(66066001)(2906002)(107886003)(5009440100003)(81166006)(8936002)(50226002)(50466002)(68736007)(42882006)(81156014)(8676002)(2950100002)(26005)(72206003)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR07MB3464; H:localhost.localdomain; 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; CY4PR07MB3464; 23:ibbshnhHY2hLwVkN6IBmP71EqdKk0pWpKHvgwyKFk?= =?us-ascii?Q?7T4s34FGFxhXardVR0CJJ7NgrnWQDl2EWyLu6yxZWM8mYLsCtAFns/Ne7s14?= =?us-ascii?Q?ycYwP/jiQ9jFt1LrVtV+lWrumzHsPtTdDAJUGK9mRvWA/BUE99d2k/3R38J6?= =?us-ascii?Q?qoyyvMfQjL6LaoAp6i6vTrUtF1EorQltMB9xmHiGagOlW3DJvAu3IaoKEBek?= =?us-ascii?Q?8hbzTyZCaNE13RH3zcJQx64X7ArKMW+pMABdX3S6WpGtbPR/PybnFEV1PYG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Ah4JpKZy28QGhhEag7BB?= =?us-ascii?Q?pDFL/doLmeMc6QwfG9t0EECngKePwzn3ieXc+LCjP1whHP6UEhMsGXElw=3D?= =?us-ascii?Q?=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR07MB3464; 6:m3MDtcxtFmzuXuhaSGnBcfgMajLibU9u5okPkgBm4CjyQ4d78n04iEblqkU4SMgSPXvk1FtGxPOlM4CdD2ta41SMo0uzDb7GMSXsQB8TR3YERr1QD4aJsdf2j1bMgzl69YMZLas/60ad3m69A1etLsukSSiiE/pKeMJBUNZvlcGfpedtiLc2A91k4uFe+OFvqnsXeQv3GTSu4A8UwraN3X2FHvgwm/WcVTn5okbGY4cLacazdrkkr/2KRQ/IHvkuMyA46xCg143tsJ7glUOdbNodUxodeFiEoesnbHZAJBDQ/nbge9irdQ4Ine9YNnxxcaFzC/xBufRRl94nhpayOzpIXi0/21CvOpv4rfT2YFg=; 5:m3OXRnCKFPJDo346WbOXxSiZf0zTfs3GQ3wmwHsqGJU6E4JTgvhWrkAeqIo5PPRCObSpxc7ACmHpAoXE5tTfgaxN5/1zCwlzgQaiapH9PMDyRWQLk9V4bbbWfbK+yZ2jpYZvPjriZegcyOfxbYGc5IjXuowyrUUN0NKmCZBIYcM=; 24:Pi9OxRRn4lUAh42NCYMGNtNFUa0/2NE69xF8l5HEC2qUHD7Y66YEbHpPVn2UolbrRsAOGiQEsdqsIHuuzrryZhazo/HywuJufmppDYLDydY=; 7:YgKRTu1b+pS3/HCuwlA8prj5IE8/3n07zECUbWJV5SYSpDbwyjg8gI5cQEbAzmAzno9w1SCNv9ADfRr4f6ldOp56DUy6GRU25L2AbVciKyAc5aPwUpUQ+3t7Ak99pZE4TF9jUfUppimUK+KbeRNLGmnR1ewZm9OFfcNWJYLPIxIXNKswkptBc1ylU0IVuLdq1kW4dJYEkdV12qukSPlVyurItXAe3sB0XLp/y4am/0hjSK7tZzIf8wwCO9d5QSqL SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jan 2018 18:15:55.4257 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0b1880d9-7eed-4e83-95c9-08d55f68afca 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 v4 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 18:15:59 -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 Acked-by: Bruce Richardson --- 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.15.1