From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0089.outbound.protection.outlook.com [104.47.38.89]) by dpdk.org (Postfix) with ESMTP id 014785323 for ; Mon, 24 Sep 2018 16:56:34 +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=XdEohy0O9H+eTBnVBsLgak6D6CHwLCCGlzQ4xenn0Gg=; b=DOWWn14dByJOBR9aA4bAX9Uu0m6MIfXWmy96OvszOaugDcVB2BqohxAY8+DEF/r6Y/V6l/6xpan51QxuE21YW/O6kwbuJSOYtdSbOL/5fnFuoZZJFOsyxFNC++1cOqByItfXVxjvZ6MyuQdyHJVGHzdQmApmEhfjbc1a5ywxQT0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (111.93.218.67) by BL0PR07MB4993.namprd07.prod.outlook.com (2603:10b6:208:49::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1143.18; Mon, 24 Sep 2018 14:56:31 +0000 Date: Mon, 24 Sep 2018 20:26:16 +0530 From: Jerin Jacob To: Harry van Haaren Cc: dev@dpdk.org Message-ID: <20180924145615.GA29839@jerin> References: <20180920112251.47854-1-harry.van.haaren@intel.com> <20180924082333.12812-1-harry.van.haaren@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180924082333.12812-1-harry.van.haaren@intel.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Originating-IP: [111.93.218.67] X-ClientProxiedBy: BM1PR0101CA0044.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1a::30) To BL0PR07MB4993.namprd07.prod.outlook.com (2603:10b6:208:49::22) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: badd7492-10f3-4a12-b3f8-08d6222deab5 X-Microsoft-Antispam: BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989299)(4534165)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020); SRVR:BL0PR07MB4993; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4993; 3:bfnKV1nEy65OKDwbh4pkmbghQ0bneeTyIA8YnRTvp6avT2ajmHMGx1weUr0TLmkoBw/QlekfREkUfpnPtu3O6ByLPzyROtAWNrbico43bHlyTHp5hKB+SoeShFroq1D3vrU9ToBrJOWBK1USRdyePRi/Cj5tiw+vEv+L9LVDnutIhwI77CXKO8j3pQQ1ozsTGccoigjtghzpmWkpAp8dUPQ83LCONJm7Jl6e3nsHLHjs9pwQBopMEzekmUVTSyFP; 25:iuZYgAbvTX4WMZSSCSLOaw0DkunOh/kCiR8bwTW/bQD9/a7lLCFarZ4csfpwKOkSKVONLLGpYY8TrgGAhmX83i/93U1YT13aDG0aGYxnUNLC9jZHPqVk4EAPtvqCHHidkUW2pewlH+6m05cA+9GDncoPEx808nQ/JR9kqmvOBDT8fzFoLspH8mydoMiVz83PLtj3nJMK6bjdO0bMvjKuAVQHxqRG3UdioNiereiNq+gx4fkU/AEsIJbkvrz5viDQSeYvN9wH8c9MlfGU162ZZffl21ic5SRRMD1yIrRuE2bogm+OiXlcVkj7A3cqr4ZXVYJFGVuNg7XElLKGlnkwwQ==; 31:eoW02ExAjOfB5MAOap+JPEj4dYt5zj0VFZqVP59j3IL8+cxda1X2Wxni7UDgqCZfxmJXu1io6Ou303/N5bmfbBPVWsvFTPWvfJFFke/bavciaGKJBgc2UIwyxfSZRA6vAWlPAeESEzeqmbJczJfhxOMSy9BuT5KjAN8SrcLFn83NdtxVe9FuweOlZFUMV7Uijx88zlbHsP6rMQZsaMxvRjGbm9oWI4FUf2ZwGqhKsgk= X-MS-TrafficTypeDiagnostic: BL0PR07MB4993: X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4993; 20:b094RwJosDDVWu6qsnaG5bhkYcZs5D6FY/MBQjysnPlOw6Df+p/GCytxvITQbpXFYm+13+k0mchuNSjybjayxvTRuUQYn8WMQeiTqQBp+IqOuNX5TAtBS+uNE/xdqtb5G3/NRrnGoIcF0HdG14gf0qQBSmuKdFpb8APow7252jxtLPW0pXAGQpMbH60BKrn83PtYIDWExULB8K7AE45jzwyTuxvEFwwo/B5Risym6ee5BcUSEOj9b6koHu73NxlU026VAOasrv+jxbLfFF4sY30bo5Fv1j2+cZ6siuU1qQhehLYDnJcQPwL4exrtGc1LGO4B03i1gnWeJchry0WmptV0zNHa4Q3U7XmvtdzipINFaFlWdNHYt7G+oWG3EVHLvDhYn0a1z5URwzGvsYjXZ8a2vhoEJCnlaQsdsVAPefU9c/WibjWHWR8oZy0Xh7oF9hdduZnZLwvpCskPL7quhB6Rde8wZSgftBNIQUPFiWgEYiuqj8yFFtGbsYF2jPGTh6y3g0PeDg14sxlteYco+GAwgiBarrTCz0WeyaiOVci2LqUJ2R6zxrGHeDfOG9XbpPZ5bsZADJdjPvUwL7YzX3dHbtVVT1D1ypBHdbXKXhA= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(228905959029699)(278428928389397)(109105607167333)(82608151540597)(195916259791689); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(3002001)(3231355)(944501410)(52105095)(10201501046)(149066)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123562045)(20161123558120)(201708071742011)(7699051); SRVR:BL0PR07MB4993; BCL:0; PCL:0; RULEID:; SRVR:BL0PR07MB4993; X-Microsoft-Exchange-Diagnostics: 1; BL0PR07MB4993; 4:7NpCqne2PyQUd/DBuOZ/gPS7QVMmy2wv2mfKwdOg4wyoCr/aeiMrDmI8D7DQV9lHuJk/WVxlzeEMv8sqNnXHq5FTs/cKdedGeFKihl1Y/lzYoFqEn+SgC42x8G2zV+Nwm69uRz8/VGeFvOiiXqLXlc633N8RlOLMEVL7BLFXyh118JfT8rxRYSAisMrJIV+bd2sR5VbC6YXLiE198XmxOG2DsJA1yBYk/n28hAUj7Eqfd+mDnd23NUvUVFr8abEmo6offapz6WPOPFFuWaHHvaDk2gIUjw+BUEwC3R84JzKNJXrjJxY6/5ha8saZaPgoZD22pmFRmdHuWsTxi/7YNluTnJGv3ltCJkMFjnqE2m+6vnkG77x1OQizCs8oZ/QVOD58RdfsSX7LHvD39V1SKIJDO2eND5a9h0GyLWdulRZdFlqXqBMoELGh4o3Rx9QmT6QYr4Dk6gXTErq88lEzog== X-Forefront-PRVS: 0805EC9467 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(376002)(39860400002)(346002)(136003)(396003)(199004)(189003)(13464003)(186003)(6496006)(486006)(9686003)(53936002)(14444005)(106356001)(229853002)(1076002)(4326008)(6116002)(23726003)(7736002)(305945005)(3846002)(81156014)(55016002)(105586002)(33716001)(8936002)(5009440100003)(6246003)(81166006)(8676002)(2906002)(446003)(478600001)(50466002)(66066001)(97736004)(316002)(476003)(33896004)(76176011)(72206003)(47776003)(6916009)(6666003)(25786009)(5660300001)(33656002)(52116002)(956004)(58126008)(42882007)(16526019)(44832011)(16586007)(68736007)(26005)(386003)(11346002)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BL0PR07MB4993; 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; BL0PR07MB4993; 23:boNeGMrZG/DY+6GtobY2QDR46KnC3OPC1wfANOueR?= =?us-ascii?Q?ijIOrFF2F2SLO19IxVobR4J1NX1/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AxB1w0GDrZvLsSCl/cXhF7xpjQ5zYM9u4txMI4DYkEb3NsLBIiO62LkhkPaJMVhUw2JwPFARDiKgi1YH8r/CZi325ZdqE1r5livAJ0Cq1AMu2NQ5DUZRxh6r9bzM8/zm6UH5bDsX5HArIfLbd4o6GSxo6fIwj8UMmSZFg33oyeFnu5TsyG4dTbvtfENpvND96Hqm+TEGX+0eNf/AQRkF/ZwpGB5GzvnG5gcSWzjRLm0sLtY22trOoTVCTqeY+H1FVCxUkSMFlhD60r5QE1DAmW0NsuEOE7mi/UE+92juADGHLk73h+0lQYHksmUl3oSBLFFkVHYqZ09G9xcz0VTGLwSngBQMEqaxvVLWcfzG6MJDVnjM60MkoVX+7QrPANxV49Zi9A==; 5:EyWJPDWeq77jbG/ya5qQ7NYnMyExkjI7VFUi+Rv0B3nb2LRmFxvBM9s4KR3M9UapcMTT8Q+8DdN0Vcgg4ItxAnVWAwrCe/npEKzfaE/5qU4s6IqBEqX0W5PegovqXHnlQ7rNa77R+0rD5tCH4UDFi21x0HMlmj2HZolpaAwo+mQ=; 7:bczMEKsMXTR3xKBn7KyZ/N+EZe2TLJefB3SxSSK/O7uSBB8kWlEIFBIPJaMwmuIXP27u9gZnkFmBCzvsQZhlASFC5x54leEG31YIQ+Gmlksr58psZAOTstRUWxqN7rDcZk4IIqQovLkZv+cu8yPogAu09Tv3/Zb2wt6whUxdk09JV+CZZ5XsI8guoUbMMxoX/yHCBiE1mxoe89xGSah4pXieuIdB9Q9PrBXFHXwV1ISMHnckwmsznDIvn5nMSDxS SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 Sep 2018 14:56:31.6934 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: badd7492-10f3-4a12-b3f8-08d6222deab5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL0PR07MB4993 Subject: Re: [dpdk-dev] [PATCH v3 1/3] event: add function for reading unlink in progress 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, 24 Sep 2018 14:56:35 -0000 -----Original Message----- > Date: Mon, 24 Sep 2018 09:23:31 +0100 > From: Harry van Haaren > To: dev@dpdk.org > CC: jerin.jacob@caviumnetworks.com, Harry van Haaren > > Subject: [PATCH v3 1/3] event: add function for reading unlink in progress > X-Mailer: git-send-email 2.17.1 > > External Email > > This commit introduces a new function in the eventdev API, > which allows applications to read the number of unlink requests > in progress on a particular port of an eventdev instance. > > This information allows applications to verify when no more packets > from a particular queue (or any queue) will arrive at a port. > The application could decide to stop polling, or put the core into > a sleep state if it wishes, as it is ensured that no new packets > will arrive at a particular port anymore if all queues are unlinked. > > Suggested-by: Matias Elo > Signed-off-by: Harry van Haaren > Acked-by: Jerin Jacob Applied this series to dpdk-next-eventdev/master. Thanks.