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 0403E397D for ; Mon, 30 Jul 2018 10:15:46 +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:X-MS-Exchange-SenderADCheck; bh=W8dTuAnWUyVrv/gGpXc/iUA7cuCkpPbfJN07bvrVDMU=; b=IaM5WJvAUNr1tkjA/U14SiCPQHGixkL0lTs8+sil9nN93hj2KVehvSTxXdap6hdWBa4tUVUb0SP82yKI7eTSjmmG307+7poYwVj5dWVpER1xHD0DszrZy7HyOelUyM0TPo70S/Mm4gEfTY/wz+iV4VM6S98Cs27AqHdm5xaUC/0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (50.233.148.155) by BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.995.21; Mon, 30 Jul 2018 08:05:16 +0000 Date: Mon, 30 Jul 2018 13:35:08 +0530 From: Jerin Jacob To: "Elo, Matias (Nokia - FI/Espoo)" Cc: "dev@dpdk.org" , "Van Haaren, Harry" , mattias.ronnblom@ericsson.com Message-ID: <20180730080507.GA15830@jerin> References: <21037D32-C2B9-40FF-92E6-55F6FA725E24@nokia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <21037D32-C2B9-40FF-92E6-55F6FA725E24@nokia.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [50.233.148.155] X-ClientProxiedBy: CO1PR15CA0069.namprd15.prod.outlook.com (2603:10b6:101:20::13) To BL0PR07MB4995.namprd07.prod.outlook.com (2603:10b6:208:49::24) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 927f20fb-805e-4ffe-07c2-08d5f5f330e6 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600074)(711020)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4995; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 3:FLk4OwigKmTPJPFdSDi8eLZaApOZIFfRM03D0E6BvEzFwoaQezBXGVCD9icBnOryJ6JPfihWRJXrar50ZCD/WwWryIP8RKEhssOxdoX6D9fwLfEKn4Zm+zklacpEL4spZNbVvFm/ybHeJvFcv9sISnNdOVY3RmD4i1L3bKntPJe+HyWDMhJdr0aDkRB8YVTACavgZLLrUHk0Jq0/ym0dKmsEvABOzS8Bg6IPT7jg+uDvA0Bb3ZS2XnnDKPOVJygN; 25:jfEe8dRq0Pve+/uDpiCdQW0F91J1vHYF6Q1M66wouNJ3oruOV/wkhQckmbFE7I/Z+cG8B7Ue9/o+PsO5Wp6kA/Ywy3/gUdgbj26fYgFj+Glmd43hGMR/kd2PLBb4EZjp/qN3radZ/GhaUoLp87yr/mopHjSO52QidhoZ5bcpLWwYizz3haitOyG5WnF8CEvavark0D0wm8bqT1SuTl7g2blkUDeD5JBm2zFK8xn8tyw+6VZuB8WgSDvDp3vgMa6+3l4l59uNmPVilTM0lbaUxn6DHVrBZ6wKrRed2Y3kB8du8+2MS4dLHtj9LHvJ1fecymalEb5YVI5x1fL9917+hw==; 31:9DnG53JzAMpa2C5U7cVHjFeTKbbcllhvvwJpFmsPz50jzn2GBh5/LOupSZfQp4OzCSG5qWj0usiCjnzkexXQcI6YXPMkJw48hkdXOJ/KAlGBOaKmHX9LK8ELhckmV2asjJa6J70xMOt81S9FztNCCS72o1+35s2Oo3bynwFg3OQmqVQy0vTaxvyfLt5vit94NKHWV3l+ywP2KcqFbM6ZJk824pL9aDeZNbv+q++Fuis= X-MS-TrafficTypeDiagnostic: BL0PR07MB4995: X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 20:GYVsLalyQbFUBnGtS585Hm46z+pgDWD6XA84/DSvARINku3tG8XKcPG5/UTQFc1d4AXHJn8D2RBazp+TuZzGJ0tdBRPfhDJvLriJtCwFH07v52l/Z2DyWpK1xgsZosb7QTvE2q/+ZF2ii/qdmBWwwB4HhoibiiYkFdSfInvWjAZgYvz6DcbjNpqhPpPc25c40Bddgf/h55EZp3PhrnBSVmeAY9tyXrYuJV9tdiJPigiNy+57eSHnO1kv54anXkV8vORT05Mulnw32WP0RGU+DJbYUn13tkByfLpgidzF0AHmBHL7ImC+i/o/0JSUR9Up7ozvexcrIcY3BBeTretFTZ8IryEVsAPH7ENzpipIu3glMPVHivvmMjsJHcKpwPpOJ00miGSmkv8+ApA5An7RD0usBpX1dD4GoYzs9sfm6RpidgeIdblLBGbsEKWOIZcd0RbCzqaPvhOXDXMIkB/YETWozvsH4flo7js3wciikQPArg6ZxL1Sn9RDZfu7YuqHeEjj52Y8PORv2nAMzCEToMKOXpy2QfyUhKyi1Bg9QoFlHVqrdHaOmJip4m+/qBN1G42paUJfF+wxHIbT9XhzMpgHjMCS5R6Zj+F9hYxUhCY= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(37575265505322)(278428928389397)(82608151540597)(109105607167333)(195916259791689)(248295561703944)(228905959029699)(17755550239193); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3002001)(10201501046)(93006095)(3231311)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201703031522075)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:BL0PR07MB4995; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4995; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 4:s0xSrj/5JxXO2etKqV8lrEUFsxP1i3Vy5yFkHNZYgWI6QkLD2ruIKL1rcsERzTVBYUv2buDA254f5cpw01shR47yIlRjcc+uvdTYiZUGReC1yN39ZI4EYJJbOAbBRkBsxlg1V0FkAngc2if+2f8Z63CMnGeVqf612LuHDOiq6BynECsjzQNWttxH3ZjVNvi8+vmfl8cdEaosLIeJuKDUQYw/RPJCxqyPyuAPrDan6AlShGZB+y0cuyByzCuuFXckiI2nj2I/H7EL4EPhgY20xoMjk/29a/odVD+k/yzZUt9gZXX9tFGMOK2Gyzi+7dr5zs6f49NuGDP7osJRO78QU7mgp0JRI90sTwE8BVe3yxZT+zt6bPBPaSmyNPtosmO5La0zHZ3So71f9TdnNa4FEHpv6SqwmZX99Cl4y3SonNCcwxs79/UTzuucB3l+tzBAPlUvvOh36JDCLXu6lkL3tFRA5w6U/Uqd1I62QqM1OR35bmB0kN/nWWKQu/CwyJzAh5DnE+8SzyRRoN4SF5rQWAIUNqq9ZXdOipn2rce9WpRedGTEj+WnOBP7qfOVDKpb X-Forefront-PRVS: 0749DC2CE6 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39850400004)(396003)(346002)(136003)(199004)(189003)(13464003)(54906003)(305945005)(5660300001)(956004)(316002)(296002)(16586007)(58126008)(476003)(6496006)(55016002)(42882007)(9686003)(486006)(50466002)(44832011)(66066001)(11346002)(446003)(229853002)(7736002)(68736007)(6916009)(386003)(81156014)(81166006)(8676002)(186003)(16526019)(2906002)(26005)(52116002)(3846002)(23726003)(105586002)(8936002)(6116002)(106356001)(6666003)(33656002)(97736004)(33896004)(47776003)(25786009)(33716001)(76176011)(72206003)(53936002)(478600001)(1076002)(6246003)(4326008)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4995; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BL0PR07MB4995; 23:GfysaZTrourHqp+UEVsaCgD+zNOMhhDwH2pbZDC7r?= =?us-ascii?Q?KCz1OOVAZUaFKpaYYB1Y5WVQ9eUQ08vUaf/Qeh7OeouVXy7iYOgDEx0ZMC1M?= =?us-ascii?Q?uZ+HLuJz0fc7BCtwIRRVdRacMt4jTD4540/Ksf1R9h2jAV3uwp/f/6UjUHLm?= =?us-ascii?Q?2Ho88/qYlbes79Kg4E3C+X/tsJ4qH9OKM/ZYsMzrFszHFN5YPwz0wZxppy8J?= =?us-ascii?Q?y5L2lFrkZS6z2QguoUtTwO6WY6ky9LHTInkFs1m7oNxO584+4cKHywazeLAy?= =?us-ascii?Q?UTmaK1crQROIzlEnFFA1Rg+xwQGnd6wDrJO02xxUkG1klJ0YhyFvvYVtPX0c?= =?us-ascii?Q?EO+3VvVxQdvqYdIQ3i8tnl/zcjjGtZh18BFc5jt44ue/s1pY796FPvWvpkqv?= =?us-ascii?Q?8to/xRNr6Fm8vigzYfhPCX20Ph8dZbzxGXdMwbWb+1NwAB2AjlnhGrpRQU7c?= =?us-ascii?Q?wc/Xz2qoJm1/fAOO4pRK86UJsTpbl2xlQ5nCFrmDlIHNUXPWSAsJ/LUHK4aK?= =?us-ascii?Q?xh17F4lgPZQG/fm9X1DTXWQqsMJGYP3HKdv8rXl/j2YplLzUoKQs8ZnNh9rZ?= =?us-ascii?Q?W6ZDwVfmpFAMC/5i/V8HVw9jrgY+fMtpiyysEfOXRoENdwC560v04BXBi8Gk?= =?us-ascii?Q?Rk9Ct3gQ4pSl9uXRU3vsjmHX/d4YSZGb5M3xjPjAYjjoO3lacKT/uTKH7HOV?= =?us-ascii?Q?51hzSDpuop4MfyIpfzqBy5qFU2XmlXIDiygF5yVFpedDu0zT6iXDAnchMxxh?= =?us-ascii?Q?KcWUaR9EeY1UgLXPtYRjbIKo9djDY+A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XLxWbG8LszIE4PxVq04SZWqzj4= X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4995; 6:8oCVNjy1ygbfBCBVNevmrzZQsEwKZxaCMKGorkb5s4jLwS3gLHCK2sScUDOLFPdyzu/nm33TNk7klWBghFZup7fsQukpla8Mv34mh7KQi27ePdjHqdoygzc6CotTaJ2FzB5No0GCWtrRCL9h4mSYkud3ZoesFaJbQdduS0GrfkcTcVpy32ypaf9lTZslVmZJnUnpxL/a5exuC4iUqjVIa8EFvK6l3/su91xt2Nk2qXI7Ft+ZUWWMkeLUl1ga+5XdZ7FM8ggVnh+7G5SbTqdsYQjAMuzdBWq96eN6u+BwWr/gIKzz0yTer6KUBQ1XuQ2OLeTnmUB8pI92jMK71SHY5K2jh0UGmxSy0VKd2hGkmt9zkvIDKeRvlSREmgqa7M04WLY1bA637Mh8AWNKsw00Qo4p1FfJYRmS+Wa4vBjTS9E6poE3aK/FkV9M1m1QTChizd5ava6NCKc5+3Cf1OGeDA==; 5:xPoefhgpG7NMaIfoz9sJmORgYDHUfvvXAi35TMeeR14ZeV7RmFSEmdh8IsTbIacMQqSoXjbr3d61OLo9pyATfGPsgGgIW/7IObEVKLS2rBl+GvWyrvo8zDGoID91LZXpu2an6dj049k0W+hWL2onz86sojG2e64rc8aV1EQYatc=; 7:JoEu7UITCrdaNBgvAcmvCKvQzmrwiFJF+GuvHkJ6Wdo+FUbqh2GkJGvH3CQpGoiGTMMfvmgDR3WfOBdYaiU7BhiHy4R3xDxcRWoVwG0LbiTttA0FuNC9VWMXlp/skNGEotOgW58chGPC1tErIIOoQIp6ZPOoKBpz9QI2dhJ4xQIwQdeJ2biPaHArFVdG8uwD4S6Q8h/62n81o6t+k4xiOkXAzTPWNpi/T40AXLfpj00HPnyC8patF3/+joEZQFXC SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 30 Jul 2018 08:05:16.2482 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 927f20fb-805e-4ffe-07c2-08d5f5f330e6 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4995 Subject: Re: [dpdk-dev] eventdev: rte_event_dev_start() all queues are linked requirement 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, 30 Jul 2018 08:15:47 -0000 -----Original Message----- > Date: Mon, 30 Jul 2018 07:38:27 +0000 > From: "Elo, Matias (Nokia - FI/Espoo)" > To: "dev@dpdk.org" > CC: "jerin.jacob@caviumnetworks.com" , "Van > Haaren, Harry" > Subject: eventdev: rte_event_dev_start() all queues are linked requirement > x-mailer: Apple Mail (2.3445.9.1) > + mattias.ronnblom@ericsson.com as his SW driver is scheduled for next release. > > Hi, > > rte_event_dev_start() requires that all queues have to be linked, which makes > writing applications which link/unlink queues at runtime cumbersome. > E.g. the application has to dummy link all queues before rte_event_dev_start() > and then unlink them after the function call. This alone wouldn't be a big issue > but rte_event_dev_start() may also be called inside > rte_event_eth_rx_adapter_create() implementation causing additional complexity. > > To me this check seems more like eventdev implementation specific limitation, > which should be solved by the particular implementation and not enforced by the > API to all applications. From an application point of view enqueueing events to > an unlinked queue and expecting something meaningful to happen is an error > anyway. So, would it be conceivable to remove this particular requirement? For HW drivers, It is OK remove the particular requirement. But, If there is an issue(performance/functionality) for enabling such feature in SW driver. I would like keep that constraint to keep eventdev as abstraction for both SW and HW driver. Harry and/or Mattias.ronnblom can comment from SW driver perspective. > > -Matias