From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 47519A00C2; Thu, 13 Oct 2022 11:53:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id DD7DF410F2; Thu, 13 Oct 2022 11:53:33 +0200 (CEST) Received: from EUR02-DB5-obe.outbound.protection.outlook.com (mail-db5eur02on2041.outbound.protection.outlook.com [40.107.249.41]) by mails.dpdk.org (Postfix) with ESMTP id 80A8940C35 for ; Thu, 13 Oct 2022 11:53:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GfRCmeIij0scm4ZXzVhJ3m33Xj7fghamfDPRRPOj3dmOaAPuJ21fj8n9AiIJTzj6RavPnj2rRzDFnuUCLjv3BS0njsA+Wh8p7xxcVq/grx2gXfVFV6i0PjXNxv9wbMmLmyjKKHCrYDywCpFoU8DMPyFuYJon272uBJJSyzNbaP0qBoiv7bxYGL8fqnQyZjwlc2UIuqrMZ34dVScgJk6DEgI8og4YaxgTfNI6GUG3uFFl3VuwrKKvxcAO5ZtW1uANTfL+XcFeMBc8Zu0YQIYiSaDwi/KvyPrqFyee2B0SATOlyYwyX74dj2KyLsZsPEQqwdXVHu89zfswSd4EOD8ZEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=hogNzN6CBiXftqxQ91J6TkmKMA+XaayFSpxm7W+2fQ4=; b=XOqXLg4Rfzm/QRjaOCYOmrIUQHouplfg3/u7E+QPSJFqGB8WfjkldfD1+s4tKIG/QKhqC+cC3U5C4pLGfpGvEBea5AAylKQ1OBtxnvG2xWLVGFdK3ohhLBI6kLGVWb6N7wJRQafC/KyAoG0vjKdN+EAZKAAw8j4zs+KAKhvL93CdiACxdD/R1ZQk8a2oCPhUU7Y86Hs45MQS/y76xaoWkcAVQeM9PEy4VPDnGxrX5uybDRF3zm6xVSWpSnpseMMQtPKrOALrCO0G+TUs+k4K8FvfO7aQnaH/Ip6pNi4UgkYNiaHT+71syWkXRtoW6AX6+Vr0DRo9UrgAkhyRUwrNPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=hogNzN6CBiXftqxQ91J6TkmKMA+XaayFSpxm7W+2fQ4=; b=O+h1Z5HXwhMi/FSCfbymZkhD08zWGMZIn6dzFkCBm8APVRbRbzxYQqF35jW7Y+ze0DtfNNdTd8QaiDrgcaAJjiH+Y1hZakk0vyJvAigYzhQmIfpWa2/7WMCKqMJKA6rNEA9K9NSf3uVSzvmPYMN/4hCg9Fvs/j0ht7fm+Thwvqs= Received: from DB7PR07MB5978.eurprd07.prod.outlook.com (2603:10a6:10:80::15) by DB9PR07MB9341.eurprd07.prod.outlook.com (2603:10a6:10:456::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.20; Thu, 13 Oct 2022 09:53:31 +0000 Received: from DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::65db:96fa:f30a:2df1]) by DB7PR07MB5978.eurprd07.prod.outlook.com ([fe80::65db:96fa:f30a:2df1%6]) with mapi id 15.20.5723.009; Thu, 13 Oct 2022 09:53:31 +0000 From: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= To: "Naga Harish K, S V" , "Jayatheerthan, Jay" , "Carrillo, Erik G" , "Gujjar, Abhinandan S" , Jerin Jacob CC: "dev@dpdk.org" , "Van Haaren, Harry" , "hofors@lysator.liu.se" Subject: Re: [PATCH 2/4] eventdev: have ethernet Rx adapter appropriately report idle Thread-Topic: [PATCH 2/4] eventdev: have ethernet Rx adapter appropriately report idle Thread-Index: AQHY3Liw0OgFGEEuc0u660jfUuRbxK4Ix5oAgALGXgCAAIvjgA== Date: Thu, 13 Oct 2022 09:53:31 +0000 Message-ID: <0e613472-bac9-9189-f4a6-ba8bee0a1961@ericsson.com> References: <20221010145406.118880-1-mattias.ronnblom@ericsson.com> <20221010145406.118880-3-mattias.ronnblom@ericsson.com> In-Reply-To: Accept-Language: en-US, sv-SE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.3.2 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DB7PR07MB5978:EE_|DB9PR07MB9341:EE_ x-ms-office365-filtering-correlation-id: 902866f1-f564-4a30-5a15-08daad00c93e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: liZ3wGCRb+V/0cm47oYwwY9aKg+QyEWGbwtb7JIGGP/T8VuWUJzPspuxMEhjQdxutJBPGbkaKLUX2BLHVILy6zJqrsKuqWtNMEIQ9NjO+/jvILsnF07Wf9uCUHSXGEqqijlIsfSqwVZL8ljHHyibnZXkigmGmlB9jLWIv8rPDWP6soREkIb+rVxtrf44pM+UnzVqyv6RX8Jx7X82V6C4sJGkyjJ3s6CxbSE3WR7PWTI4MjaCUP5/tgH9355fq1NYdRJdSYniGKll9mIO721k7dHcNaBKbJrEVRg8TOFRY/L8hIBIb5pjPYaOT/tWWZRk3BHUeba2Ha+v09gQ2jTRGS3+b3FgE6h0N4qC0Gh8Gt0PPzG2jh9PAmGhwdxIvGZWZxeid97LcP+8NfneYnIdM7Q2xJmCZbU3IQw860kDgV4Fz7DwgsskVBDsWXkcs26m6JahGdCqro/lOvjOV7MT68T7NLLCFE3DoxoMOXWRGwISfwyGMzkzqNXQN4ZDFP6FOqXRe4p8fHjK29i7YLYcqSMMGiyaadgA0TT+1zCpUv0PiWPQIMqymdzAY6CsVUYwMAAWIYDLLh5qB3AbLS+u4r9SmF67g33kqccjmfTqASXpIjaNVpGvKKxRREOzcDwUuWjR3MITN72DQZPuSSsHUT7hiCgfke4jRwqGCrVdkrBwYMlcszahQXaD0KXT5wLP02s4+b3X050CFIYmB6KiQznIsno05q26tzMDPUkI5xZM1FzvVVg4lGxUhID6M2pzXUq0VX24Ef6NZSPSS/qByFcj9dYRIxWbhgR7USlUNSHUgwy32J8sh2AsCxbym9rhJI+1vJD5U7GCJwSQMANa58hr0ukHumLfne3pXzGHN/tjIHfhtPKQrvyhRLpFWde3 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB7PR07MB5978.eurprd07.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(376002)(346002)(396003)(136003)(39860400002)(366004)(451199015)(53546011)(85182001)(85202003)(41300700001)(38070700005)(36756003)(66446008)(76116006)(4326008)(8676002)(122000001)(66556008)(91956017)(66946007)(54906003)(110136005)(316002)(66574015)(86362001)(31696002)(6506007)(83380400001)(5660300002)(6512007)(8936002)(4001150100001)(2906002)(26005)(64756008)(2616005)(186003)(66476007)(38100700002)(478600001)(31686004)(82960400001)(6486002)(66899015)(71200400001)(43740500002)(45980500001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MFNSTENnUVZIclhqamV5d0c0QU9xSThSK1plZjN4N0RnWWNhdkVvWWlDNnoy?= =?utf-8?B?UHJaRDQyMzNVa0JISE9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NGxXQjZIS09PZEF5QWZLQUF4aHljRXJnSlNSRzNqQS9GUXUrSE15QWhUMEh3?= =?utf-8?B?d2JBK3BSM0xCNDRJVlRkM29iV2pSWk1veW1acEhBa0Q5L291VGEzVFFRaUVu?= =?utf-8?B?NWdjQnB0OU5CZit5UUdjQmhTdmt2R3Fjdzd6dVJmUmQ5c0c1MFZ6NCs0cjJQ?= =?utf-8?B?WHBHak9nMGNyelpLWUVneWcxUWhoSXBCYXo2OHIwOGdweHF4c1UrZmxjM2pK?= =?utf-8?B?bWR1L1NFTHcxdTEvclJnZ1YzRHJoaklYTStXc0dEeFMyby9ZUXo0VFRhcXZ6?= =?utf-8?B?S0E9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <7D9848A8CC28D7448E8B0494F991544C@eurprd07.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: ericsson.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DB7PR07MB5978.eurprd07.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 902866f1-f564-4a30-5a15-08daad00c93e X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Oct 2022 09:53:31.3633 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: DzuRSNP77ioKqT/eTWKChk+IB+6RyqEqDa0ulyjfyIp81Rh+INXgSH56pxGjygqv+Y7dw285LqZRk66uJ8ei6NcdbnduOWcNjngaUnARMaE= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR07MB9341 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org T24gMjAyMi0x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