From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0084.outbound.protection.outlook.com [104.47.42.84]) by dpdk.org (Postfix) with ESMTP id D243A1AF03 for ; Wed, 11 Oct 2017 11:10:44 +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=IToX+VJm0Y7Nofgnwp1mBx131HrV2rT44Nnch5Jcsl4=; b=EpRur9UMMneqk7Rmu2ZOQjYkAdRydfsuhZeAEGnnJiGpLnFH64w2ApysGT7wdGqMU8E945MYggiZlIFtJfziQp0ytfGtkQfs5aWyvqf3eD/SypU2LcxPUdU6sSrOy+BsLyiJ7KrdWmC4McVSdN1JP315Lz82cvpS/PUcDtvCzUg= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Pavan.Bhagavatula@cavium.com; Received: from PBHAGAVATULA-LT.caveonetworks.com (111.93.218.67) by BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Wed, 11 Oct 2017 09:10:39 +0000 From: Pavan Nikhilesh To: jerin.jacob@caviumnetworks.com, harry.van.haaren@intel.com, hemant.agrawal@nxp.com, santosh.shukla@caviumnetworks.com Cc: dev@dpdk.org, Pavan Nikhilesh Date: Wed, 11 Oct 2017 14:39:43 +0530 Message-Id: <1507712990-13064-1-git-send-email-pbhagavatula@caviumnetworks.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BMXPR01CA0014.INDPRD01.PROD.OUTLOOK.COM (10.174.214.152) To BN6PR07MB3457.namprd07.prod.outlook.com (10.161.153.20) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 39e14c2a-5a21-4178-d198-08d51087f2bf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017030254152)(2017052603199)(201703131423075)(201703031133081)(201702281549075); SRVR:BN6PR07MB3457; X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 3:54sXyBsDFHIyMlROpgIbIA6z3blvLtCX/pC4a1B0C4wFqoLvoKHdjUZ5R3i3TZ4AgkIC/LvKiGvRgxamPynFCQoA6d4jGEwd8gmtBkMgXbNpBsVglnWoMAINcs94oD9QKn1ms4XMHiwecJBWOIp2GzbhBSrOP3cpwD0sQBOn3lR0i7/AlV5Dmp1yN1pf6lggXDNFck3oIysTHIbcf6SaoCXCBBiOR3vjLhjccLFgPhYB11s3K8MoDaouD/T8lipC; 25:CGo7gyYjekY5r6YgYfNkxBTsxCrrLBFA0xcmzlM2E2y1Hvf8FDbnvvW3Bf82z6CslI0iONhJWkubNt4g7DldMTkRL2vRp2RNLiDDtMflgRxnQ/Ji5dCfIQ4WjXA5CVee2EOcXfEv3ZbzLoZyJadFZfp7qmk65eOsLH1AmN/2tC5QVrTvFcw3mJlo+XVPV9o3X3f5PS/5TcTh1/uHxVJP/uYuMfE6g/8E5N9SJqLVX5dtveDBiqF71ahb6MHLv/CK+3eBYrjRvswgOWYR9znx2YxXah/G/J0iGqO/oJQrG8R8rEJLz1Lstc9h9olAquYHyUrQbPDss0TGoslfjm8ktQ==; 31:NUhLPZF3TYR4tbwTn4xqs/BeiGQoNadA95wV8FjzCjaUfuMh4zjF6BLOLZoIVVkzg89/LkTrLmDEGmpA2dEygsV9KUQ1OEtMmcwadjU5Aoh+I53sJWZUI5ginZIpQzxfrOCGLaWSTmr4u0YdqZT9Px+GcPAONFOZfvr2mOtDdwuqn+rKh4nra6o8SjG2cXya8MVIeyR4LMl80WFaMdX5Ql2XR/dbkSYxwaSmn+LMtWI= X-MS-TrafficTypeDiagnostic: BN6PR07MB3457: X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 20:tL11RPg6acKjsrqdeCxIT/jxpY09GGn3EK5SrAkuLybRuLjKaCL8zEJoPfwcs4bw54nuNsyqY24HSGs/ZLZEX2SJPMf8uap9IMW5UthfcWfzzqmr5L1891b+X/BTZfl2sIuF1rRtQryHIUMcm7he+D6ZFjvcf8rkf/miGHNuMcyh7YsG6+ThOkfBiRyVohus0ogGHjc9TAtYUoARrv2/jQmpLmK/993U92sgCupfsrJfMFfxWoS+HVfoC8libt+GEo1ZkQEV3noPHesoiKJwjle+OEQqVBk+9cWbJiLlewdvXCx48GZTPMjsZNNJNhQwqAeSE68eSi6hIAnk72ENa6N1e2yO+8ER9F3wZVAkjhKNJFG/hQKY43C6GvJ7fpjBmSatrLmPh8SL62ggAXgsVwgD11TUMbZ8C7oJOtC6au/0dEzzzmLYd9bIIp4x49ck5TM7OONhP4T3pB7eXBa1PYM5xeGVvhsG/bTHIIgK9trmG7UBUMDA047wqdwGmg3a4h+XjI3Hy/eC4CeeBDpLurb+7p7KsdpEAYtLQnBkJR2XKysUj59ARpHMplgCz/Dt9ALtvgxrGz8Q4d+C4zWv5Ie5c7moVTJYbGDNvR8fDwY=; 4:WDfBe0rJBwbSC31xLOITsUxeFVeRZDSxnQvDvul3oKoEv8vQzoznGEYIjBams5n0/yXtDTbCGU1kAs4YJYnKO2WnAQKyqoMJhJhlErXTST6fHU967bLJwj5yRcfbpBDH0b59r80SyUuHf9qjqrEU03LchrLXxpz4+jGZTxIROH+ILn6FIeekomuhErSWtdbOTZpKZmfGcxYcMt96qdJeZuU/8mwCd9D84ROGSG9DwgZdgL5tnRyksg/08Rgcm9EZ X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(10201501046)(93006095)(3002001)(6041248)(20161123558100)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:BN6PR07MB3457; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:BN6PR07MB3457; X-Forefront-PRVS: 0457F11EAF X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6009001)(376002)(346002)(189002)(199003)(2906002)(50986999)(6116002)(68736007)(5009440100003)(6506006)(6486002)(3846002)(4326008)(72206003)(33646002)(478600001)(16586007)(189998001)(316002)(48376002)(16526018)(6636002)(25786009)(6666003)(105586002)(5660300001)(50466002)(66066001)(42882006)(36756003)(47776003)(53416004)(97736004)(53936002)(5003940100001)(8936002)(81166006)(101416001)(106356001)(50226002)(81156014)(107886003)(6512007)(8656003)(8676002)(305945005)(7736002)(69596002)(42262002); DIR:OUT; SFP:1101; SCL:1; SRVR:BN6PR07MB3457; H:PBHAGAVATULA-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) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN6PR07MB3457; 23:n+ehugVL/+ZQ0pbHhJT/NQHoH94+lpDkLptYzFP/W?= =?us-ascii?Q?LbjhJP40ftel4iQMMPP9aEb5OkdMCMn0pKrmYWfVNMkyJQNw9bVctQsT9Huz?= =?us-ascii?Q?u9RsUoDb9Jqg2cOdB+P9YzIp58msTzn71Vumq622np71+nwXTA+gyCqrfYfh?= =?us-ascii?Q?RrBdKzEizA2IYcHlEdCGaftbQ1cfUV4bW8YalscjPUQ6wcWR2So92FpS0V+z?= =?us-ascii?Q?vy3ZX8+SLzc0hM1DsTuxkns8yHBSuk7KdUra/EJwz2lF6dhRx7spetqrJ6Oq?= =?us-asc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on1K4KrLDrR?= =?us-ascii?Q?6zh/hinRm3XhWE=3D?= X-Microsoft-Exchange-Diagnostics: 1; BN6PR07MB3457; 6:lDdDewbSGa8Vv25/+4e81XpZzxLWbPSZny0mZfcXNz3bUMFsJ3NJNHhD3GSa9xtml+HjhUUkq0G3lTYhlr+Pe5vkr3ePVELdgi3tc3MijhpHaxTDqeiowNRiXII37ezXZsxbojDSNu6qdtI09EjpHLEu1+LCQ1UNBg28psb4zvml5cY1LIorK1uzl5LolGk4fEbU1IrNUivhfExUau1vzLEPRBe/5fINCFi/f1Zgk2BwT/Sv//GWqD29b8AIlqKEffF1BsYz3Iwv3iqRkTkDsE0IM1Fek9lCXV73O64F+as0mLf1mr7xDxE/7TsG0vY/qu2Vri/QR8OrwbmCr5LG+A==; 5:YfV7ZifBtw9VygvAvQ8ykqktKhznh2+9vMMRW0nAIsdBisonzeY1px4AVHHO2Yptx19AcKOg6HZj53Bfoh2bXqN/kOpHeHQC+zfJP0MCTiHz13QDGLXeP24dBIqDgvV52gtZT41wqlCv+rfA4s4OOw==; 24:mVdu9PGvTKNlHMJ0gpPeufemVikCzYs9AEnWc/FDPd8MNj1VhdUJ4HsH3R4prShBr6OMHHdL+LTPExyTZrZMa9Qeu5GXQXukhEylIX8goUk=; 7:IUnMFoMmZEcTJqDrtTN2zy+3+gAtvR4BqJteWiSgrI1B3XMZ04sCoPwsqDmSZVpi/fj1Ppvwdpkaq196wTxL37jGUhSZ8UFNMtwR7aTUnm5vsohxpCzN7CvICbjh++Ubq2PaILKKsBg7rERRK9vZrrdWEpuop3PcgkCRMjOaUUc0XEy2feShojpBU/Izd9A90zSFn/X9Ok17yV1GYRbwc1VRp63lE0zSD8GjmKip3UM= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 Oct 2017 09:10:39.9423 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR07MB3457 Subject: [dpdk-dev] [PATCH 0/7] eventdev: remove event schedule API for SW driver 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, 11 Oct 2017 09:10:45 -0000 The software event dev is a centralized software scheduler and needs `rte_event_schedule` to be called repeatedly in order to distribute the events. In most cases, this requires a dedicated lcore to achieve this. With the introduction to the rte_service concept, software eventdev driver can register event distribution as a service component and offload it to a service core. Thus removing the requirement of calling `rte_event_schedule` explicitly and abstracts the differences between HW and SW PMD to provide a single interface to the application. Pavan Nikhilesh (7): eventdev: add API to get service id event/sw: extend service capability app/test-eventdev: update app to use service cores test/eventdev: update test to use service core examples/eventdev: update sample app to use service eventdev: remove eventdev schedule API doc: update software event device app/test-eventdev/evt_common.h | 41 ++++++++++ app/test-eventdev/evt_options.c | 10 --- app/test-eventdev/test_order_atq.c | 6 ++ app/test-eventdev/test_order_common.c | 3 - app/test-eventdev/test_order_queue.c | 6 ++ app/test-eventdev/test_perf_atq.c | 6 ++ app/test-eventdev/test_perf_common.c | 21 ----- app/test-eventdev/test_perf_common.h | 1 + app/test-eventdev/test_perf_queue.c | 6 ++ doc/guides/eventdevs/sw.rst | 13 ++-- drivers/event/octeontx/ssovf_evdev.c | 1 - drivers/event/skeleton/skeleton_eventdev.c | 2 - drivers/event/sw/sw_evdev.c | 10 ++- examples/eventdev_pipeline_sw_pmd/main.c | 51 +++++++----- lib/librte_eventdev/rte_eventdev.c | 17 ++++ lib/librte_eventdev/rte_eventdev.h | 53 +++++++------ test/test/test_eventdev_sw.c | 120 ++++++++++++++++------------- 17 files changed, 223 insertions(+), 144 deletions(-) -- 2.7.4