From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0041.outbound.protection.outlook.com [104.47.34.41]) by dpdk.org (Postfix) with ESMTP id D4E372BA1 for ; Fri, 9 Jun 2017 10:37:56 +0200 (CEST) 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=ADKNkD7kygUHlq7t8pIxvwRDvLlx4r17YJfSxVH5+ng=; b=IkkEno+S3tZ/Kqdc4uumymIdQFK8arNzwabVuykUZutzpjY8ut+83fHOkRsToS4Y0DtWN+DAHwwiyW7yzC02kKrl1oI0C9FipaBK1I57nQkBuFRKtTDBFxAHlOHxRSADkHdcYp1Ym4iDuwTyEYCYvwZE/EIDvvkr/nZleCuvUeo= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=caviumnetworks.com; Received: from jerin.caveonetworks.com (111.93.218.67) by BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Fri, 9 Jun 2017 08:37:52 +0000 From: Jerin Jacob To: dev@dpdk.org Cc: bruce.richardson@intel.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, gage.eads@intel.com, nipun.gupta@nxp.com, gaetan.rivet@6wind.com, Jerin Jacob Date: Fri, 9 Jun 2017 14:07:25 +0530 Message-Id: <20170609083729.10586-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.1 In-Reply-To: <20170607084333.6338-2-jerin.jacob@caviumnetworks.com> References: <20170607084333.6338-2-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: PN1PR01CA0113.INDPRD01.PROD.OUTLOOK.COM (10.174.144.29) To BLUPR0701MB1713.namprd07.prod.outlook.com (10.163.85.14) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1713: X-MS-Office365-Filtering-Correlation-Id: aa4f66a4-b58b-4819-bcdb-08d4af12d301 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 3:Sw7blHjx72p9C9nJRGeGohjQyti+mDSOC7XKWpAi4fHeIAGjPJ+69zKIzsGcFBoZxBc5XNIupYAPA9u9leK8+Ht4mabOXZXqyIY4awJH5UOPbsVwfAZDpp3uxouvJQlUzCLhnDJhyFptUvJKgggezNO8o5kS036gubdTUtjNP7SjTev0qAWG9sxYKIS8st6xXK4A4H0cRqfBgE4aSrHETUwR3aOTrookPfJOgwU/KJ6vc6jFQ9QEt8K6hWTpAVMx1thSqzCs5ZA9htfvxOi48iONk4acpw5Ns2DgMJbidzgFHR7Au5Ns1EaZKvnVk8DCKrVhMfR4AZJTCJ5nYMaEKw==; 25:59+/pM1FIOnjPQjUW+ROIPH7zv1EYlYJXkW3xvmvTZdGn+iRCr97u6eqxIE2ObJ9ZE05WvllaWM3syumxv8os7VcJgfQb0w6WfNUkE+TEUj+4jgvkPMKO8K/Sg3CfvXhbZZzeEfJKO+wPt4BPwyZXVnyXjV6UoSPQmuTNdJJcE6CxXpokeIQyo2UBZstw/Gd46LAt+1bzHBugeTFjOrII0OKahZ/fj7lwYf312CBxpLDiT0u/kbjcvmtii9cyTgwl0VEWmSpw6h9iWLloJBq7UElOwIF8dYINlwmgkqtZ4MMS6lzEh8VxlxCdOaaq567AvA9N8124+hAENQZaIbacaNGQR3Psf6c2ddOyMSTz8TptrTCSHr/dlWNV63KLuao9n9o0J8w3AoTKwgyxypJwa53vG+NzWIaLXtCqcpQ7OmQk095WoVrurbG6xJmfCEGECbIYUuLeadzrCQdV+4pSLUchVPsZs7MkNvExFXKxpA= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 31:5HTQZk/UnMZgJZkrj5pkr0RLyq6cdl8tKYivCWatekM9CSv9N/OqwHf7ThxYxk7C7PBoaUvT4ItD14EFbnrnfxU3Y4UdfAfdG5X2aN3E10IxETcQmPzX8Eep5F/d2CxKo//aChUUtzmFrWpK4anntkNNeTVlnE5kRWny35tq5qK+wOBDaiOFq0YSybo6wi91LVAkedVBtUkqhoEtNWQz7LjqnonhJCZ1QgNB1IWK/RU=; 20:Iz6Nw0GIOzp683HM4nhKVvT6hbXcLYiZVbgiQmQ7KPMXIbkdwP+dUMSBkVTS7HXoMNYWNa6vYgxA4XYuNr4zJyghg39iXGIV62w1h+v3WXXUzHzoFzACGE8Pvjdr9ZnCuZUxtfN4vL/8Izrm5eA+uFznABrwzBX6QMjxqVnlJOTJtkBQH9lg1E7msmYNM5K9d57vhnHOCUMPuO9M/RKoPdWLFdseqLykAKgzqJjNXp2lu2mT3jd0jmN7mDO/shl17PWQvUW9HkDubkBDnYYnNX9eHafNjZhKD1nvMEms4VOAbjbV1O0MzmzMma7UzWDBWMDdyjuF0CdC05erccgIfXvh22/KIy6YyyLFg7jUUtErQcEZKj5ESmAD9KdZR5mVeT1pUiiy+dUI1eFZd6xhQxoG3LZmoaXWGw4koE7onw5U3QiTR/C+YjzlXhJO3l4XIYFv93TI9CP6JhFLtxan8l9Bauu/n/KuhuyB6kcLlbW6nWQlGY8W9h+mFuHCXusOtdj1BEGvy/ZNthzbAILoiTE786T/FyIZlW4cyVxwg1+a/++eVazabYZNxZpfxkbtygflQlmWym/nJovsY7Q6rE3m4LWGetRguwtsyvWp3c8= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(3002001)(100000703101)(100105400095)(10201501046)(6041248)(20161123555025)(20161123558100)(20161123562025)(20161123560025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1713; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1713; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjE3MTM7NDpuNTg0VmprUGhxMGUvK0x5TjZQMzlqSTd1?= =?utf-8?B?SnpXb1RyZS9MazlZWFE0bitWTnMwMktjeGRlRnIzelgwQlFTcHF6TUZpc1Zo?= =?utf-8?B?U3VmalFhRm5FL2ZKMHl1M1hkTldmWGh1UFVYcFpFL2Zrd0JvL0VSNk0yRjhh?= =?utf-8?B?QytWcmYyR0RNMk51ZHc2K3FlMW5HWWI5UDAvTEdhT1B1Qm1wb0J0QXBUbzlv?= =?utf-8?B?eWJDYTVCZ1E5TGpiUXk4NlB4ZkpYdWJRQUR3YXQ4T3d2dFJVcHRKSTI4UzNQ?= =?utf-8?B?V2wvUFpOaXBCeEkwWWN2dkpFM3NJejZwOEdKWEs4RkRSQUNEeE16UjJjSXFi?= =?utf-8?B?ekVWY1oxdUgyYUJIZE53ME5EQ1lFODZnMFRNRGEvTVcyUE0yekZPZHlCTGRG?= =?utf-8?B?bWlCWU9zbU5Ib0ZXUHRSVmtzbWtQQ0RjVGdVczJScFFOYmlGeXFIelJMNkZ6?= =?utf-8?B?ZnNGZyswZjlLM0pqdDdpQ1VNOXl4WkFxU0tuSmtRa0FCZ2hXMGhzQ1BhZDRT?= =?utf-8?B?ZWVxS2JVbnE4QUVMOVdGVktmUDcvZG1Kd3ZkZDMwUFhWVXlGYm40STRHN3E0?= =?utf-8?B?azJQZ2JNZ0Z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utf-8?Q?yxV4jiq8CIi2zbkSkKtpHjDDkk=3D?= X-Forefront-PRVS: 03333C607F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39400400002)(39450400003)(39850400002)(39840400002)(39410400002)(47776003)(76176999)(8656002)(66066001)(6512007)(2950100002)(25786009)(4326008)(53936002)(6916009)(5009440100003)(3846002)(1076002)(6666003)(478600001)(42882006)(6506006)(2870700001)(36756003)(6486002)(50986999)(23676002)(110136004)(2906002)(33646002)(305945005)(2361001)(50226002)(81166006)(7736002)(8676002)(53416004)(107886003)(42186005)(38730400002)(72206003)(2351001)(5660300001)(189998001); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1713; H:jerin.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtCTFVQUjA3MDFNQjE3MTM7MjM6ZGZHVlNEaEV0UW1BME56TlA0dmN6RDMw?= =?utf-8?B?cnZpTWIvYnpaVGF6RngzdlR1N1pVazBnODhYQWE1RjB1OENucVk0NDR6R0NH?= =?utf-8?B?eVgzVkVUaW03U1JvSnR4NzFLSGlrK2hVTWNLZTVoWVhvV0tZanpuZmxrbEFl?= =?utf-8?B?L1U3L0RZa1UxNzM1MmJlVjJvcTlNTzBrcVNkWTgrVFVJcmZ0cjRTNUk3aUJX?= =?utf-8?B?MStBTFNaWXJWVHk4YUJ1ck9nT0grK0E4QjlmT2VrZGdyekJhL3RoUnd6VUwr?= =?utf-8?B?ZXU4dnk1UUNuK3BiUzJkSGRYTzlhTDJkQVdGY1ZsRmM4bHZkOEZJUVliYitU?= =?utf-8?B?NlFuWWtDQ0ZmMEtEUC9Ua1F1WmV0VmYxaFBZZjFNK2ZtVm5CTFlEMVRrcVFT?= =?utf-8?B?T0xGUS8rZCtoUzMxYUNUdkZLd0hKdmN6VmRWMGFxYzVhb0s4Y1krcXgvTzVI?= =?utf-8?B?MDVRVzAySHFDcGwzZm1xbU9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WcLu7FrQDAef8wNFCNN2RCIUoKPGluooBdiFD4MfLd6iiZByYnW5tRWr70Wjd1WxpjJTAdPXtktQ7osvIl9tSBaNzpq/CO5KgUaR9fvKT9G1DEp7p9xV/DRmhjOZgiyrz779WayOSnBKS9Et7N97a3ufl9ajBE9y2IHpG/ch0yuIXUmXgSOqDk/IQVLA/LRPU2JSX9lEuiz1joRCWzHg1ratlCgD8+xBuKPeeFkb/UIlA5oPcGKxTV8EdV/8PKRp7c2k9LoIRBU2olT0dNvmkV7z0bwK; 24:GbfbtlqCp8OE2qO5Ue/Bcddc9YqSxa5jJcctBjHCTyb5Itf6tXnTCoa7u+VR43e990mPtRbAgahiNzUMVRudbZ7qRW5suwPrHScCpQS41Lw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1713; 7:/VZfqTZak8I6IFkXmgl7elb5FCHJ6BARX7NmYaplAtTrS+JHW6BuD3bGLjCR7pUNqbGQ3aN9XR886ItR0XL0qBBik6i0ht6V3/h2kcgyt/8barrOurYEvQAHkuzYkPJscDASumOJ3C8yQaMIvh5KGfvNJ6OnH57pjXcqky2mHZTIG5ZA6EFjCF7P+1HUiYj7eL0Nt/2fb0tzkXfVfXVHpM050B9QPmyD2YN6CzdF5kNX+QFk+cE5rTsV0rUewE7tSr7ZMpZwVK1vAbuVsse1U8nIaesdfXSQ0xTaLsWdww7nOyr2uBhhHkuHZPQU9nUuYbY/4Hu7FS+ECWEWA73sNA== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2017 08:37:52.8181 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1713 Subject: [dpdk-dev] [PATCH v4 0/4] Remove PCI and VDEV dependency from eventdev library 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, 09 Jun 2017 08:37:57 -0000 v4: Fix Gaƫtan Rivet reported compilation issues v3: Removed the bus dependency by spliting lib/librte_eventdev/rte_eventdev_pmd_pci.h and lib/librte_eventdev/rte_eventdev_pmd_vdev.h Jerin Jacob (4): eventdev: remove PCI dependency from generic data structures eventdev: restructure event PMD release function eventdev: make PCI probe and remove functions optional eventdev: make vdev init and uninit functions optional drivers/event/octeontx/ssovf_evdev.c | 2 + drivers/event/octeontx/ssovf_evdev.h | 2 +- drivers/event/octeontx/ssovf_worker.h | 1 + drivers/event/skeleton/skeleton_eventdev.c | 33 +++--- drivers/event/skeleton/skeleton_eventdev.h | 3 +- drivers/event/sw/sw_evdev.c | 1 + drivers/event/sw/sw_evdev.h | 2 +- lib/librte_eventdev/Makefile | 2 + lib/librte_eventdev/rte_eventdev.c | 148 ------------------------- lib/librte_eventdev/rte_eventdev.h | 2 - lib/librte_eventdev/rte_eventdev_pmd.h | 101 +----------------- lib/librte_eventdev/rte_eventdev_pmd_pci.h | 160 ++++++++++++++++++++++++++++ lib/librte_eventdev/rte_eventdev_pmd_vdev.h | 134 +++++++++++++++++++++++ 13 files changed, 327 insertions(+), 264 deletions(-) create mode 100644 lib/librte_eventdev/rte_eventdev_pmd_pci.h create mode 100644 lib/librte_eventdev/rte_eventdev_pmd_vdev.h -- 2.13.1