From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-SN1-obe.outbound.protection.outlook.com (mail-sn1nam01on0071.outbound.protection.outlook.com [104.47.32.71]) by dpdk.org (Postfix) with ESMTP id 45CCE2BB9 for ; Wed, 7 Jun 2017 10:43:58 +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=kBIepP9ghxi4BzBYByYjjCWJLX4kE8TZq6vTcsGEvIs=; b=i3LA04phPFiD/jT+8fSD7vO3B2nbZr8RDBXaKFwlyh5dwFEAnwSw+XoHtUqfQdyDfFsmVixyPoJohcmt88DPbIF9c7tyXpm5QY0o+cVLomukXs1P1K5LWcLgUzpIRjs/sPZpn1ZWBppRDCQqvbkRO2qYIoCn8aLAX4zeMO+o4Ts= 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 BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1143.10; Wed, 7 Jun 2017 08:43: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, narender.vangati@intel.com, nikhil.rao@intel.com, gaetan.rivet@6wind.com, Jerin Jacob Date: Wed, 7 Jun 2017 14:13:29 +0530 Message-Id: <20170607084333.6338-1-jerin.jacob@caviumnetworks.com> X-Mailer: git-send-email 2.13.0 In-Reply-To: <20170606141046.32103-1-jerin.jacob@caviumnetworks.com> References: <20170606141046.32103-1-jerin.jacob@caviumnetworks.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR01CA0076.INDPRD01.PROD.OUTLOOK.COM (10.174.208.144) To BLUPR0701MB1714.namprd07.prod.outlook.com (10.163.85.140) X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BLUPR0701MB1714: X-MS-Office365-Filtering-Correlation-Id: bf521215-b485-4cb9-5ebf-08d4ad81551d X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 3:MNhevzevZvLBlqj7oLZRcyqfLG3GRaqkI9NysOETqO+E1axXcRMRHbWOqqMbN1PODtmkTGHzTKWf2fMa2tvI9TcHyvnl3/pQt5RbowXon0tdSu88jv0zNE1OwXmyRJB4hSCNQIy+Q+iVx/cQ6Wl+99h89GqKj+iVdU0A+3SbGFIWw7z4sPqrqAQL7soOgYFKMblEY+S6r1nzA3izuwUtBUjyQev8uz3U1qv/gT/omTWE0iO9GH3LKB1Oho4YeAunRvjGtItVDoVbelPt7LV0iK3Q6Xuj5iF/PyeqHU1ZA7igf+z17HHizCpw5e1+v88W9FHBdUqWGIZs5+Tr1iC5zw==; 25:EewnuSENEpgGU+qmr2tQM55jhacLPgfZ8lI9aSxqpljq513k6WcyGa6fFVZyF3lzRxx9dEychGDU4U2cxCZJ+RutaqwXexSGY+Wa+x/cpE0Ij5qYHOZQi4jbjF8Xm/CbDCg765CPahLZrkUzNcs8eX6DWDTk+V3jpivIpO5Qbmu1j2absn1opJKk8AA0jKIbl7CEmbroGpFxOIgzN/+Q0CJs0IMMw6DkZ58/6KwYVLRYci8RosO89hH//LFusXGjsDPevMp+trwF+USqStL3gu+/uhk3Owlxv0tRbh16EL7ykV8chMraDQcnpyDqyzr5MJ2d/JuwrfbpoT6G4Em6fSKfuBq7qxahT8Vy+qM8XD/SMO7BYpSkDR2oTX0HYjfw5fUd+oom6LC5Ui2nvfaMu3yH/7adyxwTZ0uwYUpAiR2HxV+3CJyjfmlMJMoWGmNLBeU0YwvvkqeV7fEA3EuzYLKs7pGxOnP9UOs+r5CPcDs= X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 31:NwThskIQg52M5DzljSDY5kgVzFNUXjBLj3Na6FibvuYmIskZEounaRcBlnAIT0aMsUf5SKjnjy4lwxI4Pxg0TF+sBZeLvHZdvVIuoSQ+BJJhbYq/Aw4I/ZDV4mGrygm77EL1F9dGPh53z0bqH61XlwxwqSLmw/KoYFK4GO4/910dNjoyDvIs0wakdx7RQBm3xcaB9HiLeZIiFrakuahszfjwMOHnU0bIZ3BpaEFYtWw=; 20:YAWw5ivoudLzFqcuQ7O5nChxoYWKKuH8hlaFHRWD1qMZz0cSPnnOV0YkeGQgDZZDnvgelRNz/llNgItAPK5KsK2W83huSGsdwrZ67Nx72HqEPQkBaanr1NgflZ/YolwDFsLUC6YwympC2jdpJ9tmAKvYxBelQCiku7Eue8gyaDFHTP0rqTYOank1VwOCofAnedbRSi889vTZiHGw30S29XmPS2EM3KMxiKeZS+5Vp3I9BzsQdm7khLZCK1etWqi7ml9/5AzCybcYjqpnrVwqgYBtq3DTPbU7gV7JdvoZLPOGQoY+TRHfrqzjEF03w/BriyAjMpsw/L1Nfg+hubjbct8vmwfYKzKZ+KifvfEqM+6yb/NmG751Bm8FRCDKjtDGnf2in1iwiKfKGTWZ9oyIQISJSGrOOalDZjTSVT/5OTBBsR8vExLlW0RbjOPD1oTbsik7zWG7dPJcm1hqJB4vRnDs9LQzuBnQdw92AEHojQziOQZiObeq+z3W7Jnsch7CKQI8dUN3n4KVZJhJ8fTaMdANSTzBdodAWC7/UwGvEUEc60V1wnQygZDo0J9Utc5OUCEKK8eGnLMhebDdeLg83vpKjXO4w2lrj2/7jAOB5GM= 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)(100000703101)(100105400095)(3002001)(93006095)(10201501046)(6041248)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(20161123555025)(20161123560025)(20161123562025)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BLUPR0701MB1714; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BLUPR0701MB1714; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 4:FFxaqCP6W/5SOkQqpws0hohC8Yt0uB3RuQ2HUUKy?= =?us-ascii?Q?uzNj9WlFUl4ZbEO5LOGJ1zMkGPQcgzpgxTvZqJ7B6v8v+lgUfRs43CBt5ScZ?= =?us-ascii?Q?EAirTsEQ404FIsNKHjDKW3PWeM3JUH6esm4ZLFmH2pLAsGzjJ3JfVhGUn9uS?= =?us-ascii?Q?g0vVqK6kyyRZ1yVSYd36BzPZ2JC3/eOSGNRCsTCTNf3ujyFH9rvF6sHjxkXP?= =?us-ascii?Q?BJdJ7PI2JPhEaMXq2DXQOubMi3cKtDfRb39QERDWR/8015sufQBu15UsCyyA?= =?us-ascii?Q?Jw612AMVDJVD5ulpG0J5r/vXduc1h7qIPd//xXkr+YdivzxG2wd3LI1jL3S7?= =?us-ascii?Q?AZmYA75GYn3xbbjLiEJ08iPQT1oGksyKLvAGxaMalHJN773RTT5dKpB4amz5?= =?us-ascii?Q?Gi6eTv51xxGq1jPyrH+rwuCxib9LkEU23WhCuYhNDUEij5AdLubx1jlzBgpi?= =?us-ascii?Q?jB58Q53V8HgcKimzn8d4trs1zy/ztdagF8hO8b91N87xULnNS20VblfcBv4s?= =?us-ascii?Q?ibLob663cWkRsRdYRCJZk8YDSMzTC3WiMSRrFYMrHY4cDt7y486mK//EnIUU?= =?us-ascii?Q?qF9cht/5ygnitg0TlLahaMCvnPp1fzhf4F0hXeQxC18wcMHEvfphM9QsT23S?= =?us-ascii?Q?Xy3ZhlGRVn6KcQ+GnD7dts6yx9QDHRHO9MKTG2PU6kNrueE7M1zYILbQ0+/6?= =?us-ascii?Q?Kkev6YagMcObtM9y7df87fCVHNFVlnqGcIqnJnz/vUP+kjcXjbhcLVw8fe53?= =?us-ascii?Q?utZYdxdLt++8VZfaTTxAgOUUiIseGRykOuRjXXzlxY4kd/P+SGxnPuIJ5Qcs?= =?us-ascii?Q?pFext7hQ2b4b1PSvWu1xFWdOT7j3i5bp7ckRgT3T0AKTeUWJWKTBpkbq/V6V?= =?us-ascii?Q?19tK8fuX8yM2WYm6VZ9aQu1X3CZn3hniCo12M2L9845biGThwTrG8JrHAeJL?= =?us-ascii?Q?solL00sKYN6OXXIGCOJD/AwNNnAqw9t5lV0QEKnoTENKx1RdeQJmrMEW15fr?= =?us-ascii?Q?e/S/bqUl4yyW9gf68RqPw8setBt7NI0M2CcUHs/KB17DbAqExdkUTeOr9dMu?= =?us-ascii?Q?KrsIedcBJXyb6Oa8Kq8dNmZIjq3o+0tgxZC6V1NQigXET8u4xRGt0v6Lf2aj?= =?us-ascii?Q?ivlEDlSdY0A=3D?= X-Forefront-PRVS: 03319F6FEF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(39840400002)(39410400002)(39850400002)(39400400002)(39450400003)(6116002)(47776003)(42882006)(42186005)(1076002)(53936002)(110136004)(50226002)(81166006)(8676002)(2906002)(36756003)(189998001)(6916009)(48376002)(72206003)(50466002)(33646002)(6666003)(2950100002)(6486002)(76176999)(4326008)(66066001)(3846002)(6512007)(478600001)(38730400002)(107886003)(25786009)(305945005)(5009440100003)(5660300001)(8656002)(2351001)(2361001)(7736002)(50986999)(53416004)(5003940100001)(6506006); DIR:OUT; SFP:1101; SCL:1; SRVR:BLUPR0701MB1714; H:jerin.caveonetworks.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BLUPR0701MB1714; 23:+V5auMK+LTMoSRmppR2/sLZWnpKyhWOBBiD0N9O?= =?us-ascii?Q?N+ksBs3Lk3wHlg61YiK83UqyruZv2STCoYck7PTj1PgDvChRuEAhgDye/tbF?= =?us-ascii?Q?tpFV4YcKNwmvuci35VH9kKzBv6jAkAEZOFCzHB9ZtrT1ThXIYRQ9z1A5YmWR?= =?us-ascii?Q?UpSzCaRS2PhBCyRh23f/7RvQyAuS3xtVDayAQU3ja9B4Qr3PYafZJSDU74i0?= =?us-ascii?Q?twyYAj/NtpkeDjqu8zUwKUNCNV5u5UnETc41rHxyLJL0V4aGCjyEaB0feNAK?= =?us-ascii?Q?K1GDK2V5xVAn5onTLDk/jz0YzJWlJluO5xhBeky5/dUquUO+H4s+HRbCRmPT?= =?us-ascii?Q?Aa9Revszw8/FLEsGWIL7WWmfDUjuvHuMpe0OzaSiHqCChBf7vsrobRh7kNeM?= =?us-ascii?Q?Wu84StWg3hbYpSpoGx9BXAIJ6j6JA8vwAvlzMuUuCmonuD7QZgsx0Wfbaa0H?= =?us-ascii?Q?fvfgvTma9+2C+x7MzQGCgwHmru0g2FQa8u3I9sG7aAsE5wOYdIB6JfCImOnE?= =?us-ascii?Q?JystkRVA43ieS0jhbLObs4QXRoCLE77N11FwwpTwcp1kje3Tp856jiYTeP5W?= =?us-ascii?Q?5mu6pb98D+TW55R5rQEjPzP56k3c/s2PotZUnxVOvOVWdKbGbf8sF5sEAY2w?= =?us-ascii?Q?QgzpZRpxCfy5umESlp5Q9hQhB0ruGExUyQvXv2wf74/NzlORXXTmIzqPXbA5?= =?us-ascii?Q?UWHx/qI5Qsh9yLh0EmbA/Ec47Cq7ooFb28JD1t0ZNaJzjflopkirPs0HCVLL?= =?us-ascii?Q?GKrLgV1B7y0KT492uC1GnHJsdrqdex3hSiaS4pml1XZOzARpH8bPes5xK7ew?= =?us-ascii?Q?j5bV8HH1S0hweqcdX8DbY/6CtxyYxulX4gPhdf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wiG+b116Ht1i7CufX+MnUJhryuy3wyCioV5vfUkSxSNmFqF7lwvmByHpgZ2GuevYnNe+vjXn4E5rfanxHywf3YdzVEUrwRr2WpNYaY7kq74rwjf6fx9A8zNq82hcslV8aL9mvQM4Qe9r2C6vl8LivhraVkUIKzK15OtZn3SibNiYOYeNyynJNI+htvjpjucC5jA//DNphWcChElRBohfiRrK0h0csGB53R1stYH+39SKAEBRsMM3uzjcxlm5tkAeGcahnJsxgDYwuS+y3asDvNq20MLTrwTDRtiZFYiF/tTsN9xBkJisk/Wk+nKLffUS5HSQtJo78L9mqM5G/pKT4L+YiAFm/Ent0YCLSGziCzJE2gjjDPVip6gJ68kYi2vxaDxfmUzYV81ouqOnQd0ibMI3DZ27cp11gmEbtwnDvB2DPCTSZg6+PXYPEB338l3PCndPzAG/h1xrSn7L8vHbvdwfyBJ0oownTamA2sVJnqo1Zz; 24:ihFJAJftnMyVD8T/SJQ9oY3Od+qhw31dkuQSM3+BKRMIDdsmpqNyNORc2ASf9NjSywIoJmUkwoGoz1UIHPjUeuYLGIEFnTb+XyZYyuvUs04= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BLUPR0701MB1714; 7:Mo8c/vcoFj4FZsgJF18HxQqauWLfF9dVcWhPlI4YHY+66kYBysho6Y+JAuDDYGQUYhkqaL/cO7+RHiLVlDK68QQ/k5c/bsq1QnE1tO4+0PTnx6tTv5UA5sB3nQcWTU3y4X8/oAXQFGIIp1kp9hlLPnZKMtAE/O1j2duPWt88VPfB2uKVnJEPU4o4CTB8876rYEWuaYWseUWlvNokkweBKOTbvbPjwhCqYEP/luPyKqh+4T/OytpbXT5eFAmSDY/kYMBYBguw+4cG2qBHxsxUxXvrnblBmtYWAcxtpfljX9bg4h9OjKukNo+2JRsqSsMV2VAV+FvitDLGqeW8vSp6/w== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Jun 2017 08:43:52.8325 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR0701MB1714 Subject: [dpdk-dev] [PATCH v2 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: Wed, 07 Jun 2017 08:43:58 -0000 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.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.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 | 133 +++++++++++++++++++++++ 11 files changed, 323 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.0