From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0085.outbound.protection.outlook.com [104.47.42.85]) by dpdk.org (Postfix) with ESMTP id 0370C2BD8 for ; Sat, 1 Apr 2017 13:38:50 +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=xmHWn0/x4UPCDtORKAMo6FkAoPiNKTI07CefNdRhNio=; b=ox8NESnFLUI2HedkEIcwMud4NXWa1kDCqT/AKmeljn6lg+AHac2Fa7H2a3SKKHYY1yuR2MRn/F+2mR4K9K6fVvp8BATOERkOWzftjDUKk/WGIytqwbaEKkYDbkhX9OvyQ4otVm6nA+SA8lWwx/OTMATpo5vbB2uF8jK62ravIvc= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=caviumnetworks.com; Received: from localhost.localdomain (106.200.223.114) by BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.991.14; Sat, 1 Apr 2017 11:38:45 +0000 Date: Sat, 1 Apr 2017 17:08:26 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20170401113825.hxgkxu2fq7vcmb23@localhost.localdomain> References: <1490829963-106807-1-git-send-email-harry.van.haaren@intel.com> <1490902250-32164-1-git-send-email-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1490902250-32164-1-git-send-email-harry.van.haaren@intel.com> User-Agent: NeoMutt/20170306 (1.8.0) X-Originating-IP: [106.200.223.114] X-ClientProxiedBy: PN1PR01CA0027.INDPRD01.PROD.OUTLOOK.COM (10.164.137.34) To BY1PR0701MB1724.namprd07.prod.outlook.com (10.162.111.143) X-MS-Office365-Filtering-Correlation-Id: f6cccb12-4135-46ab-69f6-08d478f3a8ec X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(201703131423075)(201703031133081); SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 3:PqgWWzpDKZZDiGGx8fpKY/nJG5Yr8l5OkHUzQm5+QD9uxJDQDt/mutPGs6TaXqczZZbaw9GnnS+JPpMHOe/19/oyLAyReKPPP9fMMieqbbfuCuluFK4zQA+Cc4x6Y8kXNGrPaHl3BNzOBKBoAiFNmlV4L62+Tqm3QqN12Mpm6PomxPEWk7HVH3Fa313kyLmElaivwxA4l48vFLFtC2FA3wxarv3WFjvoBrW4VPqhTbCI50MAVeQThcc0z2O+bVVz9tIbK8BasNgT8DAkEVag7l6mkwi8VA9s015GytonbI2C5edYVr3x1a1cfBBvJCtHoLX3rGRR6GoVy1cVj6QyYA==; 25:8EoSVJ1cVGlRPsi5pOjWQU+a2UYyTIu0lZcXeYkWKlK8BR9rZaYFgUV3ZV5L/zV8+XWFDNoo1STKav4Tyr2VXIcmDqnxunBJFh1tuxMxdKkkDYD2P+WXZ2xqwhWosQo6Jnosjp7DYZ2ZyqqVlNiY0Z0G+NeNUVpI5RWUgz1nIPjn4ftSREp5sNZC7xdiCusX+x0BLJiunwM+lOqy161cKdvJut8RQrpLHiXp28zLC8Q7yc4x5M7RKJVXwmRnvowT2a/juMjIxSC4AYiYU2f301LrwUkVuPDd9eTu2PG4yyVJ31es0/bcUwA6b9kW6wfhrzfbxLrVhRFXnSWh8vUPlaBMWdhhhpKN5/0+4QSANLFqjKXGexmlgGNg/bXME9J2NoNC7uDng9TKpC+t632dtUhLPZqeTnxftAD4VcuiBAhgu+qWTSF8AYWH+vu9LK4AyUWxXM1F4USBsmzdvaEnrQ== X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 31:W3GuEi/0Xz02P1NE/gf3y36FnDfaV4FboRWA18s3OWlK4807STl6Ji1iClEvH/tF2GlYqsMgQbFn515axAzOAqo/Vuphva17SBYkCAJtPaCr4idF1VDBYiny+hHHqLL4zi9Wahky4ugIuNofCuDz/FEhciMIPUyz2/YWvaMIxFEEga8uL1lG2zExCv4TCw7b7xVXm2wjPMkDKdFZefXYhz5yCPQMdoMFXlD6wP12l8khB94uCh5H/Rwt69jbPAdg; 20:+HPRGlSIGPgLAwSFHN7X3iQve8tO/VGhswXIhE+7Tf0syQitxqWWE21YQW6tBPjRVks9OADZtJNxjXJtgPbI+kmxnIf9PDd81PW/C4kiiLzOGz2u//lr97d1VNpbrQM2ZW/+bkMKHmKDnmc3GetT52bLtkzkl/SRNvtpC1Imcdprq1hp0S2ZinD3AM8shvW9kEZ9n1xNPJGbUfpfVc/ZBeesw5WogjtH81vt6Ddk8WNiSItSqUu5BkQg3OA5O1TXwRLt96Ps+GEAADDrkmH7JDov2YFRcyrp7nGcD0AOoRoY2s8P+iCTPZZW7vsInVYQuaUiCF/0JaouDm+T+Hp0pfRZWogPrr2NpQB0Kgs8BySi3yh8lFvtmz7oWDFB9pOPh8v22dKZLGiESLiftIOEEeqWRy5NlhEkxxJ/4Wb9/giUq9gMY/R28iNrfIj+BxQ7tiQKnyG8U3X4T+TS8xqb7GGKdOhkQJr3JBE5LLxSeqh+MaGKgEPTie0buY6pvP5lUP6/UmPzxLHcPJD8cO0a39kI+udFDHyjU1sg/oi6fiQz/VyRqKWdjrsu2XWdUDtjTysfStXgiFNJfV1cHSlVIkLTSfEDOpsCZpgUmNfiSuU= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040450)(601004)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(6041248)(201703131423075)(201702281528075)(201703061421075)(20161123560025)(20161123555025)(20161123564025)(20161123562025)(6072148); SRVR:BY1PR0701MB1724; BCL:0; PCL:0; RULEID:; SRVR:BY1PR0701MB1724; X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 4:dP2YxuAkOAJ3E2wu4QVjFQ1E4zcoInyVq/vhemt0bQMMCWhhNxQVxjkam55xkV8+yF0LfCvEXS/qcmdFqBNaprd1yOVUtEPb5VN+EOxFCyeh/Ly8HPel/iPq9444/boXX1W1mxOMSbq4wa4IjVEREAkJcwQ3UYMi50zJ9VMPdJR9IzDlGSna86AMqA4t9W2rPdinHuY3rs1yW4b+7zt7hZfQv0BMlH8naz1nruc43Ah/BWhUOR9VrgYDuZmmAUfkmTb8Qem/XApLwLigeW98+kuT9pfVK7xaDTl0Q7rJUqzSxJDgGeFH/iAx0A5YrQ4A5FMfWPrNlZxhKtEL4Z5+RphRY3NrEmVKV+sndxzGNMGt+T2J0d2GEtwS4LmBqgy6r9uhpjsAgr8ie+IzS6DxlKoy3i3qS/G/QHbQk/AdiR/rG9HlZts4pXnoQ/jK5TW8ehV0UczdSXCCBWuHFd0Wokv/xXUi5uv2gGKD4GlVv0//RcmSAYIIi+VvoOmx1jiiBGic0vljYwWY27wj1Lt9oRx0zQpDiOMuc9XUAZeqxCJASH5NcYmsrfADM2KAqA13oeHsIBUtunp8oCq1CbCmd1wg6P8nhoj1DMSr7cWuoU7auO/N22p7TCWJIXbqOczykJT4DA4Wb2ILxho+yaFYjoAACIjJRVL1EDaY93U9BsX80DEOVkP3t0CSXMHilSEe X-Forefront-PRVS: 0264FEA5C3 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(39850400002)(39400400002)(39410400002)(39840400002)(39450400003)(24454002)(50986999)(53936002)(4326008)(55016002)(6306002)(4001350100001)(6916009)(2950100002)(42186005)(6666003)(42882006)(33646002)(76176999)(54356999)(83506001)(81166006)(9686003)(8676002)(229853002)(1076002)(6116002)(3846002)(61506002)(5009440100003)(53376002)(110136004)(38730400002)(23726003)(305945005)(966004)(189998001)(25786009)(5660300001)(50466002)(2906002)(6506006)(7736002)(6246003)(47776003)(66066001); DIR:OUT; SFP:1101; SCL:1; SRVR:BY1PR0701MB1724; H:localhost.localdomain; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY1PR0701MB1724; 23:6RGK8qLVTZnjKgty/dhizS7FwVb3I+lwOG+fu/q?= =?us-ascii?Q?ktue/XyEvOIPySyiSBLDIEKymWtWq85FuLiEnXwbU7RbUazveaQnQhQGo8Xe?= =?us-ascii?Q?uw8oeRSjRyhmKdS+gWy2SNSNn3LduTqVLzRxYdySpAdAxHRTHtf3mELLmFkV?= =?us-ascii?Q?9aEhL0PGYvIZCirytjUIsOrLb2auCpQ9lQvzqP+QilkfxnuUFRSHQf9VJgB4?= =?us-ascii?Q?1fIUZNEkhhXuXswEn1869vrbY1NOrtECwdQOWn1Il0Jubt0viHQ2tr7gd1BP?= =?us-ascii?Q?Q3sn7R3uyq8RlIhLyD7NjgUMDN/HIik1eJ+V9IzG9PqMUEa1/CxqTaJwiobS?= =?us-ascii?Q?VYEm96yMmFzmoZR+SZVtSKS7rV82Gx6UA1bR2ohn++mn3TqK4qBFWtI/mk2Z?= =?us-ascii?Q?47cudCAAt2yHv2pHRZzJJBcAMgY0/74ne1utVsBtNyq+2kfF8/dZynDr1Z9T?= =?us-ascii?Q?t+YeyX43xEL2HQIQ6qNuTy6Vbe/xz1yCDH+RTrJRueeUqJmik5FFHru/YNmL?= =?us-ascii?Q?yq8WnTlglr0ig9kA2PjoIQS83268AvrnqVg9/LcGcUyubABMuVtLpr3g4vml?= =?us-ascii?Q?x9IrGaLe7nC95X6o7uPtP5gLk4SFGVVC1VSGewjo/9OhnPZCcMsEfGV94eFB?= =?us-ascii?Q?KP7MYesvynmYSv0hMk5ZMmzKTNcfTMn29DYFAhGFY85wzZBIAnW76VQkLu0U?= =?us-ascii?Q?nCeTojV5o5oa3yEOSLKD9RtGY/dnN+eevtG0ng9bRPDtKbSmhrdNXgrPT/47?= =?us-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jUSlAXmFef7riLX6AFekowoy40lTfa9bn9VK0AqX42ws050aN6jjtdIj89QNICOQOJMqWaYgxmPrZFb4LF2LFU9exUyZeg5Br7JQ==; 24:ZzEIDLmIptVWjsfR3OFdJjHm0uhVsCi9QUqB9t021HWRC3/BPNOd0f4LvQqE/VHKhIA8Hkbl2wEFBMVKFcFf3K8fYK0o5EZszFgG0pFU67U= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BY1PR0701MB1724; 7:ArHfaVQ//CwsGYqgHQctsa4qIZORivckNiADJpc5CiJ1eMr6tbQQw8SO5Xdm4EOaJAE+jrUPMzNSEsJUUJCY35QdaV2Kh7QtiCnhBy2BFbLvR7dbuhJaGBB/Poz+9F3LXlllgDpzVicofKWL/ptNdVFBOkvQe3YvGN5YBIF2Sftw/CHsY4qAMOOmo0xxdjB72rF8BATCZ7KU+lweFN/mihSsu3MPvDqrbxHb12iWgT79CKvfttX5asznrEPoCZpXyICdtR9NFGgeaNY/aabTZhnjejiiH+RweXs9Crld/8l1Tox15iCTks0kBzuAhcggWHImsaIDF/EquX/u20a2vw== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Apr 2017 11:38:45.9423 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY1PR0701MB1724 Subject: Re: [dpdk-dev] [PATCH v7 00/22] next-eventdev: event/sw software eventdev 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: Sat, 01 Apr 2017 11:38:51 -0000 On Thu, Mar 30, 2017 at 08:30:28PM +0100, Harry van Haaren wrote: > This is the v7 patchset of the software eventdev PMD. > Changes include the following, see patch for context > and details; > > - Docs patch now consistently uses eventdev (Anatoly) > - Reworded "root cause" to "reason" for readability (Anatoly) > - Removed __func__ and __LINE__ from SW_LOG_ERR (Jerin) > - Fixed checkpatch "else after return" warning (David) > - Updated error return values from start() (Jerin) > - Added SW PMD release notes > > There are now 6 checkpatch warnings; > - 2 Complex Macro (cannot be resolved) > - 4 long line (resolving makes code more obfuscated) > > Cheers, -Harry Applied to dpdk-next-eventdev/master with following changes. 1) Adapted Olivier's Makefile optimization changes in lib/librte_eventdev/ drivers/event/skeleton/ drivers/event/sw/ 2) s/app\/test/test/\test in MAINTAINER file http://dpdk.org/dev/patchwork/patch/22950/ 3) Moved SW drivers release note to "New Features" from "Resolved Issues" http://dpdk.org/dev/patchwork/patch/22949/ 4) Since "Eventdev Drivers" section created in this patchset, added Jerin Jacob as maintainer for dpdk-next-eventdev tree. Thanks. > > > Bruce Richardson (12): > event/sw: add new software-only eventdev driver > event/sw: add device capabilities function > event/sw: add configure function > event/sw: add fns to return default port/queue config > event/sw: add support for event queues > event/sw: add support for event ports > event/sw: add support for linking queues to ports > event/sw: add worker core functions > event/sw: add scheduling logic > event/sw: add start stop and close functions > event/sw: add dump function for easier debugging > event/sw: add xstats support > > Harry van Haaren (10): > eventdev: improve API docs for start function > test/eventdev: pass timeout ticks unsupported > test/eventdev: add SW test infrastructure > test/eventdev: add basic SW tests > test/eventdev: add SW tests for load balancing > test/eventdev: add SW xstats tests > test/eventdev: add SW deadlock tests > doc: add event device and software eventdev > doc: add SW eventdev PMD to 17.05 release notes > maintainers: add eventdev section and claim SW PMD > > MAINTAINERS | 9 + > config/common_base | 6 + > doc/guides/eventdevs/index.rst | 40 + > doc/guides/eventdevs/sw.rst | 157 ++ > doc/guides/index.rst | 1 + > doc/guides/rel_notes/release_17_05.rst | 7 + > drivers/event/Makefile | 1 + > drivers/event/sw/Makefile | 69 + > drivers/event/sw/event_ring.h | 185 ++ > drivers/event/sw/iq_ring.h | 176 ++ > drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + > drivers/event/sw/sw_evdev.c | 826 +++++++ > drivers/event/sw/sw_evdev.h | 318 +++ > drivers/event/sw/sw_evdev_scheduler.c | 601 +++++ > drivers/event/sw/sw_evdev_worker.c | 183 ++ > drivers/event/sw/sw_evdev_xstats.c | 674 ++++++ > lib/librte_eventdev/rte_eventdev.h | 3 +- > mk/rte.app.mk | 1 + > test/test/Makefile | 5 +- > test/test/autotest_data.py | 26 + > test/test/test_eventdev.c | 5 +- > test/test/test_eventdev_sw.c | 3188 +++++++++++++++++++++++++ > 22 files changed, 6480 insertions(+), 4 deletions(-) > create mode 100644 doc/guides/eventdevs/index.rst > create mode 100644 doc/guides/eventdevs/sw.rst > create mode 100644 drivers/event/sw/Makefile > create mode 100644 drivers/event/sw/event_ring.h > create mode 100644 drivers/event/sw/iq_ring.h > create mode 100644 drivers/event/sw/rte_pmd_evdev_sw_version.map > create mode 100644 drivers/event/sw/sw_evdev.c > create mode 100644 drivers/event/sw/sw_evdev.h > create mode 100644 drivers/event/sw/sw_evdev_scheduler.c > create mode 100644 drivers/event/sw/sw_evdev_worker.c > create mode 100644 drivers/event/sw/sw_evdev_xstats.c > create mode 100644 test/test/test_eventdev_sw.c > > -- > 2.7.4 >