From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0049.outbound.protection.outlook.com [104.47.34.49]) by dpdk.org (Postfix) with ESMTP id 95874FFA for ; Mon, 6 Feb 2017 09:07:38 +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=K5TPNMHPso+/xKLGcWQkV2xDOK2HxvW2grBizu6/X70=; b=iZDU+o/O1XDuxxo5Qo6yJdwjvcuTDliopQkn6oXMM8UpneUiSi5pUmGEfk1hVwDQEz1Tth95q0ltK2qeVoLV+WvhMlYqVCQNNGfY6wL4/QaS+bBwFYVc0hOz+9F0SnjwhwQyfWrYKrIep+sHomkkw85Djnno3qoXnZ+UNX3La9I= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.Jacob@cavium.com; Received: from localhost.localdomain (122.171.53.66) by CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.888.16; Mon, 6 Feb 2017 08:07:33 +0000 Date: Mon, 6 Feb 2017 13:37:18 +0530 From: Jerin Jacob To: Harry van Haaren CC: Message-ID: <20170206080717.GA25242@localhost.localdomain> References: <1484580885-148524-1-git-send-email-harry.van.haaren@intel.com> <1485879273-86228-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: <1485879273-86228-1-git-send-email-harry.van.haaren@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Originating-IP: [122.171.53.66] X-ClientProxiedBy: PN1PR01CA0077.INDPRD01.PROD.OUTLOOK.COM (10.174.144.145) To CY1PR0701MB1726.namprd07.prod.outlook.com (10.163.21.140) X-MS-Office365-Filtering-Correlation-Id: 99ef5f24-1cf3-493e-f3d5-08d44e6735cf X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001); SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 3:NagRZ80hFjDpwTmNM96Wp87BkSz6aIENSmHiJqtDk8gXZtr1kttNiJv2YdZizs3JlMx0RWKEPCd3LBm7zUmUczp7SGmiwU8HYy+rjbIhe/InPAH7XYLi8S5o+vvJwIOmuEPN1grPzIDhCOeQa2OmWkbDkLWWRP2OB8LEIIxLu+3O9AdRblTL1GyegI0JwdkRBoRNuPQcVvk7BcQ9mr2MbMU2jebi24QVsW2okfhmk56sEGqPYTcEfq0cH8Yg8I+4QlCJNPXK1vxLGuph/QH5NQ==; 25:p95q/ywnUND9+8I5JgTnBm4n8/kT8X8m/4eZ9vBTZiJD68OcnzOVdxvyPrNioL+aYHy6dihNqDH3qBw3MbOyOWhNevudPvx8hSTbdb4a9q8DfPXGsCh7D5DQbuJKODOmVuBYnBAxiSrgNI44g2dSE5DfOXJeXgdbXzpthlNn2cBHLvDjKI/G10Nv8qAjvDizInTA09MW9jdUw+7pTXzz9egncuq4y32Hd9LR97cwcI5MGTQ6DD5IV4/7lK7qIFQE7sMFQPRidZh9wvXLQnY3T6v7sFLR2/YoIAAWA67PQPiQwtq8Ockb5uS6obOXGYN6xz1gVoMLi/+pq8vhkcnTDMMk62BblSjAnNlExU6dYZ3iB+ciYX3B5eS8MdqReg5/idD9swEEgqXOuBkNsiSkfWfMiTHW4pPFBDTdrhd2fKZ4QK1sjdSvG3m0BhrVPXoj8lv7O8BemMtq5Z4RXyNECA== X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 31:sMWJxMniuZfKIdT5WmNchdIu18eOyX7NHV3q2lwRLAVhGxrCGyhRI9Hrib2rl31oXFvRWW9FmBnmx3+gTahwmDfIc1mSm50yLbiNxbJKaJeAQmBFayq590UCKSB6TBnZVWPCCywRtbu6i8vrOr27Gwatvz6qJiaJmjWxuD21GOkdAsYkviZRz7opqXo+dQrnVBWh9wwja9qeiHKX1yT40QphFc747QFnr6FIiyO1dkJUYaDljzGVXOvBmcUQ41jB+P0MDK+xXzMmkBr+wd4YkoLtIqkRrA/xf6souPpIkVMDuoxWf+FacRiFxxg6Ecu2; 20:e81k04SOdWa3ltyI32XFU9tG4DJ2hML213ZO0w1fKuA7FKpbEYXppdC8d5KkpqsSwe2DCUsICmt+n4lJKKfAlaEocyUibj1QsB3zsvzmJ3qnPuofqBOpHB1vYttrCUG3BvV/IT7rWuuFJIK9LsYbOMR0d3eqgvjoSLbIDSuRqMT3tesAir4d6pSYUVV999qZWrlbxdz6W3Ci5Wgim3Tnm5H50P84HE04ajNRXdwj1RjwzoPrLX+l339VSwggK7MT1aOpnkukCNIzapebOY8fg4Z416ucyoc8oK0XPx4/sONltEE8Hpx5uLfacSWd58d9f9/NKtpPza/8htoL0+b3JsS5JaoJ1Yi8P+XLMAh6Hqrr7ldUadDl3skM0j87DU44JeolCjZ5Ask93MFdTI4Pur/nkpCA+17y2jJzHsnBXPOb+OmXYXGulmIkCj7Bn7XRl5xrhw9ZgKaup9mugG1V3kkqwwXhowbmiXvBXwIBtdWrnwI6xP317lxDTwGsp7jqMfUtZYDujw5jLY7GBXI3vnDE9QkPvLYDJFzj588xwXHjKhp9EU8kzgEZ4Lh/FaarmK1Z+GnsX8wMZz0LDlrHG1q3b+dE2je9ZTSb3QWXWzs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(8121501046)(5005006)(20170203043)(3002001)(10201501046)(6041248)(20161123564025)(20161123558025)(20161123560025)(20161123562025)(20161123555025)(6072148); SRVR:CY1PR0701MB1726; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0701MB1726; X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 4:BBfoHM9tX5Gg0+d/i9tuzTrXC6Ln+E9aYLj4Mr8MoS58IgfjVJn7lNZu7WyaQstsV/EjoqLGuRd8sLgsxYKukZTHKEkmMgk9E08YerT5/URWbEbB6CXjzxlzhCMIECE9ZOdcNv53i+zTi+GcHKzP43bc61nFi2FzyggxdJRA/w/pwdbtgHxJufWMJXOhE43r2eP7iGQrySAoonZ2YqfBGsdWTQJ77KajOwzvRJwi8asRK6zJw6iw6jZKVOboqmlmbfUNhDQo2IvuoWMWvy8pq8cBmC4YQ4GFYGDOAj144/oKEJFQfMURD0xl+JvhpDlMh11SYVQJWWR57Ww5y8HaiZgRS19ZRXh5DAcyarew0BsCC48xiR5u3TUU3gfXELAEfMu6dZhMcwJliyKFmlUJnalLBS+fenVgxyqLJEErPKJ70ckiQgir2duJ2UkW8KZ2aoTiArCMfWCMZImKm0l573KOI+pr6x/ivkCWOwDjD747E5bY3wvETe9kHx+yaEtQiYOaX1Sow6XKIK/LOf3q01Amqc2E5OML+X5PWnSQQJ6U8Wn14V4xT3i7FDDolPRhvkyq0vcmsAbVj9D3hyDx5bAcOsj+9MQacX/z9o6QdTQtk/hDIpFliDDviTCt3Z4munCVV18eVfYNsfgnB//MtXzKlXRpIwCueGtpBmeSm5k= X-Forefront-PRVS: 0210479ED8 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6069001)(6009001)(7916002)(39450400003)(24454002)(189002)(199003)(38730400001)(66066001)(61506002)(101416001)(83506001)(229853002)(305945005)(7736002)(189998001)(33656002)(42186005)(68736007)(25786008)(97756001)(92566002)(50466002)(55016002)(46406003)(4326007)(2906002)(6246003)(9686003)(54356999)(76176999)(23726003)(6116002)(3846002)(6506006)(81166006)(81156014)(47776003)(50986999)(1076002)(8676002)(5660300001)(6916009)(2950100002)(6666003)(106356001)(105586002)(110136003)(42882006)(4001350100001)(53936002)(97736004)(18370500001)(21314002); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0701MB1726; 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; CY1PR0701MB1726; 23:NrDG1+rf02atFE1W4FIb4RdgU/mnjWXpoO8az7v?= =?us-ascii?Q?UWvNoshkYHTC6fp4SGsxHcyGaUhJe2sTW7PfgvTeDRNknQlh2mu51UYiw5aq?= =?us-ascii?Q?0XtDbMGxWB+JaVJw4Fl13CXKhx2yrDJk5qdtlDdyHv3Npn1ATI/WyGy+vbIm?= =?us-ascii?Q?EZi8aDi6dkc9HjWvENiuSEc0NvZm2F3JT3FG4X5vEHd5JO7uWqR+ZEKwkHZe?= =?us-ascii?Q?F0ZHz74QM9jCZLdbAR9y96VfOtDeRSLtqk9va0zpyf6s4vY/EbuzTQ8FSN86?= =?us-ascii?Q?UnY8rptr2AuyCgrpJqbrzej7j9wUtIHSSd+f1CZbVF2X7pGJMqFbtlyDP5Kw?= =?us-ascii?Q?QxWBJ2wuxuH8IldWQRL1EW+WpzWjpvLJya7+sScbVg++NE/RXDeGo8NzKhJH?= =?us-ascii?Q?CkFYt2FY2tp/yNZxs8XTsyZybKDjMKTV4Zff9MC+YztrDZgdkAmdxilzD09p?= =?us-ascii?Q?Rx3VvskQmohR9D3zXmani0TqqHYk9JnBRzaiUjl2V3Is78RgJK2RfCrq7sp1?= =?us-ascii?Q?yT27RKkw8x6gmBGMG+Um+VD0unem7/iWX/q8JOcuYopDtG0p3xlENK0Lsw9/?= =?us-ascii?Q?V4RJe12RYJIcvLe0wxprjZXWfavU5GsyYDWUR+OoQS2ESMeU5mF1cSwkh304?= =?us-ascii?Q?DhU3y6tBdkBoFhuJWM4V5n/Wgn+pdtEep1I7X3PUmNYMD2JhA4rWOo+ps6e3?= =?us-ascii?Q?9RlXdXfgQ/P0srg5Ujcz9ZY56r38/ZhpOmL+HAGz/TCPJ13MFnpbiXxugNDy?= =?us-ascii?Q?0+wydaI8MbwRmRRJS5Hnf2Q4DgWWPDWS6M16w+zDjIo3YiEmmLanXUsxfWH5?= =?us-ascii?Q?yNQbdPxiX1VsWtoyH066mMTelofSO1d/CKJjlfNprfV0HkYjXrHczTywPotO?= =?us-ascii?Q?pEUltw+rptSL+UHz/pdADbdwM4PUYb6fmUhHjGBG0+cET16kUFFjpuWeA5uZ?= =?us-ascii?Q?GndFykLcVoJw8KIh3IJyg3U0ccZ9qN09l66kDye2iC5nswn31xW9zIJuyACO?= =?us-ascii?Q?JIPaxMRHXIMoFeT8ZzNsma7JdhbNt91Huq1IR9Ui8DcRkijvGMyiIWG6VRNw?= =?us-ascii?Q?6zP+GG4GV9WBbzRxyPA1Sv+ZNbrbnzhgC5PWOxR/2StewZjfT0KkjweYer7W?= =?us-ascii?Q?hxWW3dlsh6WAI4UatFPPJcimpmL7/TpNoMovBLyE+gEOEcg84nVzdAeMrHLA?= =?us-ascii?Q?JkcpmqHz/BhZa3zCVWyBUSwF8Bo3O2ezNoSPdyUEmujWZpvXTdpHDjIt2Abb?= =?us-ascii?Q?ahMf68K63K2y91RlvqMRJjpmNF3i6dPna0MeplmD/NqZtLTXApQcy6zKw182?= =?us-ascii?Q?u6gFkWB8R+vwvFcWD5RwOTjs=3D?= X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 6:0Q/RqELzC4RKmeh44ETOw0o5V7roJJlGfoGtqztBUD7HiAI0WrI/6+t6W8l5YwzjOXTuK9/ltCG9+29TSUJVx9Oo4yLVR6uqjE9pdRoxp9xzkm5pQIG5Rq98oOLDt8QZ21wvCFGGATGWrfMVl9JP0/DBbikHx4JNtmSoKwsafJK0byIGToUEIdYuBdp+cCv6vXyeTMzIDKq85blDCzpjocaqhpYZI1azvDMBA3kylvneHlV5zomtkpXzTWHUY7BCKWhHRTKqWGydKcGl2mwPsjN3+WlinBdjfjxszytUtKcvfQ9RGFw4XCfoM7/jOksOSnv1gKxzpimUt3sayGhiBmIeLSSEsMl/3lKQAbVep/7Ch7bbJf13IHfCxDnnLzqjZ5d6LzIGebnPk3mQxmOKrA==; 5:97CP5e3XV8nfmqumTGdZEaecAtJ0EkeItz/UvlT8mGM87rMqu9GDJT21Wd8VxQ1yjUHZ+4Gc4aauU3ZsG2qcb+nz+NImulv992Z5d7TlIfV9h7pW3Y88rJpxWYW+uxftvS96C8oTwP/kzcS5Q4QU5A==; 24:OZdNhwjxsBp1+bkPXhZaDFLNm+EEXoU0OVPgQ03CZjlxiuj9kqeAEz8N0F2WWilTmGDfN3A+BzHnGhq3rRuL8IC4lc88wJAZ9K6WCoPGgHA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR0701MB1726; 7:tAUkK3xTMNZvAgY+w/0/J7WFqGxQQjqs/sGXdP4R6OEpSzKfmzukit/w5ffR3hkefNjnLs7bRtpmirJSXcxjRBO7yBmqPli+duXf3EA1jdisGydW/0Dmt0e85Dj67Y7nh+EjJqI2ocE6ZBz9+pApaoCmX2Umj93C3Gvh2EiSPJp5LI3lMBGpuV20LZ0nw7jK1Okr765YalqSL2u+6WYLercOjaHE/u80RqjhZxsM+7PIeeFVZmml20skQMLOoJbbp+r2Qt7Am4UBqKR6aACytTmL9DnFQ0obE86oLbxzWhdwC/4Wsb5348TyLiULSM5wptQafrNi/LKNRtVoYwt1wwfgsta/qbWxJIEmZcpOiM5ler667JVY9nMDHgRyfKOmlWYo90hL8TYxXUvol5fIT77chp+0z7Y/IhH04FYFlJuXIGhp8yrqMut3eexw9b0jkpOeBwgYxgKPDRVmHDxKyIHzOub20wZcnGvEa04Nqrdia1XEWgqAkMLllCznsTRTQ1UvrS58c1ZkyyOxhRyImQ== X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Feb 2017 08:07:33.9844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0701MB1726 Subject: Re: [dpdk-dev] [PATCH v2 00/15] 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: Mon, 06 Feb 2017 08:07:39 -0000 On Tue, Jan 31, 2017 at 04:14:18PM +0000, Harry van Haaren wrote: > The following patchset adds software eventdev implementation > to the next-eventdev tree. > > This implementation is based on the previous software eventdev > v1 patchset, now with comments addressed: > 1) xstats api return values changed to be consistent > 2) xstats api [out] added to appropriate values > 3) xstats api now uses xxx_get() for consistency > 4) patch names for check-log.sh Nice to have name the in bracket who suggested it. > 5) checkpatch issues resolved (where it makes sense to, there are > certain places where fixing checkpatch makes the code less readable. > These checkpatch warnings will still show up - I see no alternative) I agree. Except a few lines in the test code with rte_event_dev_xstats_by_name_get > > In addition, the following improvements have been made to the patchset: > 1) Adds test to run automatically with make test > 2) Rework the sw implementation event credit scheme > > The first two patches make changes to the eventdev API, > then the software implementation is added, and finally > tests are added for the sw eventdev implementation. Two issue found in testing. If it makes sense, fix it in test code or implementation 1) Running eventdev_common_autotest with event_sw0 sudo ./build/app/test --vdev='event_sw0' RTE>>eventdev_common_autotest TestCase test_eventdev_port_setup() line 437 failed: Expected -EINVAL, 0 + TestCase [11] : test_eventdev_port_setup failed + TestCase [12] : test_eventdev_dequeue_depth succeeded + TestCase [13] : test_eventdev_enqueue_depth succeeded + TestCase [14] : test_eventdev_port_count succeeded TestCase test_eventdev_timeout_ticks() line 522 failed (err -95): Fail to get timeout_ticks + TestCase [15] : test_eventdev_timeout_ticks failed sw_start 543: queue 0 not configured TestCase test_eventdev_start_stop() line 547 failed (err -1): Failed to start device0 + TestCase [16] : test_eventdev_start_stop failed sw_start 543: queue 0 not configured TestCase eventdev_setup_device() line 573 failed (err -1): Failed to start device0 EVENTDEV: rte_event_dev_stop() line 1026: Device with dev_id=0already stopped + TestCase [17] : test_eventdev_link failed sw_start 543: queue 0 not configured TestCase eventdev_setup_device() line 573 failed (err -1): Failed to start device0 EVENTDEV: rte_event_dev_stop() line 1026: Device with dev_id=0already stopped + TestCase [18] : test_eventdev_unlink failed sw_start 543: queue 0 not configured TestCase eventdev_setup_device() line 573 failed (err -1): Failed to start device0 EVENTDEV: rte_event_dev_stop() line 1026: Device with dev_id=0already stopped + TestCase [19] : test_eventdev_link_get failed sw_start 543: queue 0 not configured TestCase eventdev_setup_device() line 573 failed (err -1): Failed to start device0 + TestCase [20] : test_eventdev_close failed PMD: Initializing event_skeleton1 on NUMA node 0 2) back to back eventdev_sw_autotest invocation RTE>>eventdev_sw_autotest 1926: Eventdev event_sw0 not found - creating. PMD: Creating eventdev sw device event_sw0, numa_node=0, sched_quanta=128, credit_quanta=32 *** Running Single Directed Packet test... *** Running Single Load Balanced Packet test... *** Running Unordered Basic test... *** Running Ordered Basic test... *** Running Burst Packets test... *** Running Load Balancing test... *** Running Prioritized Directed test... *** Running Prioritized Atomic test... *** Running Prioritized Ordered test... *** Running Prioritized Unordered test... *** Running Invalid QID test... *** Running Load Balancing History test... *** Running Inflight Count test... *** Running Abuse Inflights test... *** Running QID Priority test... *** Running Head-of-line-blocking test... *** Running Worker loopback test... 1791: Producer function started 1731: Worker function started 1889: Sched Rx = 10713728, Tx = 10713248 1889: Sched Rx = 21422880, Tx = 21422400 1889: Sched Rx = 32066688, Tx = 32066208 Test OK RTE>>eventdev_ eventdev_common_autotest [Mul-choice STRING]: launch autotest eventdev_sw_autotest [Mul-choice STRING]: launch autotest RTE>>eventdev_sw_autotest *** Running Single Directed Packet test... *** Running Single Load Balanced Packet test... *** Running Unordered Basic test... *** Running Ordered Basic test... *** Running Burst Packets test... *** Running Load Balancing test... *** Running Prioritized Directed test... *** Running Prioritized Atomic test... *** Running Prioritized Ordered test... *** Running Prioritized Unordered test... *** Running Invalid QID test... *** Running Load Balancing History test... *** Running Inflight Count test... *** Running Abuse Inflights test... *** Running QID Priority test... *** Running Head-of-line-blocking test... *** Running Worker loopback test... 1791: Producer function started 1731: Worker function started 1889: Sched Rx = 502401, Tx = 501860 1889: Sched Rx = 502401, Tx = 501860 1889: Sched Rx = 502401, Tx = 501860 1889: Sched Rx = 502401, Tx = 501860 1889: Sched Rx = 502401, Tx = 501860 EventDev todo-fix-name: ports 2, qids 8 rx 502401 drop 0 tx 501860 sched calls: 6797287 sched cq/qid call: 6818630 sched no IQ enq: 6783503 sched no CQ enq: 6781603 inflight 4000, credits: 96 Port 0 rx 4637 drop 0 tx 0 inflight 0 Avg cycles PP: 0 Credits: 3 Receive burst distribution: 0:-nan% rx ring used: 0 free: 4096 cq ring used: 0 free: 32 Port 1 rx 497764 drop 0 tx 501860 inflight 4096 Avg cycles PP: 99 Credits: 33 Receive burst distribution: 0:100% 1-4:0.00% 29-32:0.01% rx ring used: 4068 free: 28 cq ring used: 0 free: 32 Queue 0 (Atomic) rx 63682 drop 0 tx 63652 Inflights: 642 Flows pinned per port: 0 638 iq 0: Used 30 Free 481 Queue 1 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 0 Flows pinned per port: 0 0 -- iqs empty -- Queue 2 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 0 Flows pinned per port: 0 0 -- iqs empty -- Queue 3 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 0 Flows pinned per port: 0 0 -- iqs empty -- Queue 4 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 0 Flows pinned per port: 0 0 -- iqs empty -- Queue 5 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 0 Flows pinned per port: 0 0 -- iqs empty -- Queue 6 (Atomic) rx 63010 drop 0 tx 63010 Inflights: 2351 Flows pinned per port: 0 1009 -- iqs empty -- Queue 7 (Atomic) rx 60659 drop 0 tx 60148 Inflights: 1103 Flows pinned per port: 0 937 iq 0: Used 511 Free 0 1899: No schedules for seconds, deadlock ERROR - Worker loopback test FAILED. Test Failed RTE>>[ > > This patchset contains the work of multiple developers, > please see signoffs on each patch. > > Signed-off-by: Harry van Haaren > > > Bruce Richardson (15): > eventdev: remove unneeded dependencies > eventdev: add APIs for extended stats > 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 > app/test: add unit tests for SW eventdev driver > > app/test/Makefile | 5 +- > app/test/autotest_data.py | 26 + > app/test/test_sw_eventdev.c | 2071 +++++++++++++++++++++++++ > config/common_base | 5 + > drivers/event/Makefile | 1 + > drivers/event/sw/Makefile | 69 + > drivers/event/sw/event_ring.h | 179 +++ > drivers/event/sw/iq_ring.h | 176 +++ > drivers/event/sw/rte_pmd_evdev_sw_version.map | 3 + > drivers/event/sw/sw_evdev.c | 754 +++++++++ > drivers/event/sw/sw_evdev.h | 291 ++++ > drivers/event/sw/sw_evdev_scheduler.c | 602 +++++++ > drivers/event/sw/sw_evdev_worker.c | 186 +++ > drivers/event/sw/sw_evdev_xstats.c | 404 +++++ > lib/librte_eventdev/Makefile | 1 - > lib/librte_eventdev/rte_eventdev.c | 63 + > lib/librte_eventdev/rte_eventdev.h | 85 +- > lib/librte_eventdev/rte_eventdev_pmd.h | 60 + > lib/librte_eventdev/rte_eventdev_version.map | 3 + > mk/rte.app.mk | 1 + > 20 files changed, 4981 insertions(+), 4 deletions(-) > create mode 100644 app/test/test_sw_eventdev.c > 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 > > -- > 2.7.4 >