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 933E0A0544; Tue, 11 Oct 2022 09:11:02 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 864EF42CB2; Tue, 11 Oct 2022 09:11:02 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id DE6B242CAD for ; Tue, 11 Oct 2022 09:11:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665472261; x=1697008261; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=uFlxNmwe6PbIF2OOxIoNBT9nOj7V7dy/ADWr9pwOnu4=; b=FRXpr/zg6y8+bQhE1JANRFp+PVPizYJxeOZ+ToWTlEde00M5k8Npsd90 qI7gWcLXP/u9agy3EA1tMbbSZDnCeJ0w5RyN8as2S0FB396NmCbqh8Xl2 nDDW/sm2ML9E/+dfVaQpDj7iZKECnFgP7fpvjVO6J9mI2QbNB7NFj+0tu N6gG4AS1Y3UJYDysyFsmBYscUUUn/acuEWuWHaOjuLFYvXCRCanR+h1AU KudM+Q/dETfocDuh7nNBnUI0ZgIe53Q7HEn5XBZEwBjsWTi2qnlhWyqo/ 2XKvV7rSAsPrCSkiZbFqNZz3frlEyEH/sXa4oSsT+PjkwgC5WjRjRJ5aT Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="330903963" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="330903963" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 00:10:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="626257931" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="626257931" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP; 11 Oct 2022 00:10:25 -0700 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 11 Oct 2022 00:10:25 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Tue, 11 Oct 2022 00:10:25 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2375.31; Tue, 11 Oct 2022 00:10:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WuDgGCA1ujQfCkJcakbRIQ9KE0zH9wrFdX5ASCY+6cZBSL0PlbEWsqeEzUWSIAePq63yv7OHtgFTqV91XZGp3RsG5Cy0BIrN5Z/BWgJ8ozN9sFj60UE5zMyX8l2+JU+XAiJ3GpCmiMw1m9Jm4Wfq2PFLWxfypVdDJVO5Z39c9TT/eBAoKfQEAnW49h2nn2qz9KeGrRMmI1Q/lAQxCCGe9t4g0cyAmBP8RWSz6I67GJijicYY+dLVPmixzVa/m5VzpoUI97bWE3yyyJo6Tsu7z1o2W6vUuo4aM3xt7g4+iyCl6DgTbxKcsxAZZZ1EGwUsZkhI9oZXaAqWuufBMKxh/Q== 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=uFlxNmwe6PbIF2OOxIoNBT9nOj7V7dy/ADWr9pwOnu4=; b=BIFpkMWY7eoi4juOOmw1IzJbDd8NJFwlSODy96BGDHhLGdvIrpZjIZPYQ4tg2pVLT0FUX7JIzXVJEWAiy1bVBRE+eEaVpj1gOONMP37JsKw1h6cc2UcMlwVh/m8tgG6xHKANjIKXCOpe1UyVJ1atDPdlc36twoxs4B6cCVpYb9kKbozhiTTuLoOpJbIi4cwQRvFlML9Zo02D8V3JSi/d53Aa+57YDSS15CAtd4PGJ2GwwPj5TToht0IqSf3IMSOrpxxqMPCXjjV9CdWoZ5CVtCLlGyPucQMMkS634Kjp/MIRfqlgi19172vhsHnhbc2eoTVf7Tz/BMSldyhrWfIW3g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from DM6PR11MB4348.namprd11.prod.outlook.com (2603:10b6:5:1db::18) by BL1PR11MB5416.namprd11.prod.outlook.com (2603:10b6:208:319::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.19; Tue, 11 Oct 2022 07:10:21 +0000 Received: from DM6PR11MB4348.namprd11.prod.outlook.com ([fe80::af89:721:b83b:9043]) by DM6PR11MB4348.namprd11.prod.outlook.com ([fe80::af89:721:b83b:9043%5]) with mapi id 15.20.5709.019; Tue, 11 Oct 2022 07:10:21 +0000 From: "Jayatheerthan, Jay" To: mattias.ronnblom , "Carrillo, Erik G" , "Gujjar, Abhinandan S" , Jerin Jacob , "Naga Harish K, S V" CC: "dev@dpdk.org" , "Van Haaren, Harry" , "hofors@lysator.liu.se" , mattias.ronnblom 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: AQHY3LjB/lBhSV4xFUeeshtn9O5hka4IxusQ Date: Tue, 11 Oct 2022 07:10:20 +0000 Message-ID: References: <20221010145406.118880-1-mattias.ronnblom@ericsson.com> <20221010145406.118880-3-mattias.ronnblom@ericsson.com> In-Reply-To: <20221010145406.118880-3-mattias.ronnblom@ericsson.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.500.17 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR11MB4348:EE_|BL1PR11MB5416:EE_ x-ms-office365-filtering-correlation-id: 89566d0a-2809-4974-e902-08daab57a8e1 x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: VuEiHK7fydHn7uDPFAaGwN/yeUDl/bzKoGyPer4DFqOWlkRVHwlRl4GC91lkBmq9HLVaCH1UPWu/+uNC4ZtOC6ZjVChfMKMOog8prxKKAAhf20JJ0AySWlQkNeLlg0qUiepOyVXmcYu1gQlgkXvdYza7cSxoz8jm195cvvPEAWU5gY1QJVGuf7669XPZL9u8mMPyMgi1HiAvA21qCMbX63usrdPR8sAJWdUu1h+Ub17IBatX50+60Q1FArpuVzvySgzACtW4MBv6lnvrnPv6jDm8LEYwEQNmmGsRqVidB8/7yf+2rKXRUJG143CfJ3i1EGtzQnakPeW5OayY/u+HYpB6lE5tRHwYmG8sNx94j8PTvZuDNy/YkA6wNCLZdffhcVrEwcyZNnMtDkiYbmIHRuKOOhxzCQp6zhDsAhM1wY8OQerVZpy1rYZJEwHhw54hJ+E8xko9wL5mX2Y7+QaUDaDK+0fPdMhNTFtS2Ik51+qDLG3NMweNmG1Q7oxlofxtc7N0s0sYB6B+BSEKFdDws+2LqxJE852rExXEgWEn7KiFjWq1FmhCwRE2vOFCUHnn1qZ8gjVzlo9zPEpPoGqbRvMrHn4jCbVdUEHxnnbOF2SqUyzn12Td7+BGbViGgRvEZ0ZEbgBZHPZJqAU4gTN+l3UXUkrZLeDTDjf5KTNPL+UxsTVjAFr5aiGq/7ZQ9EToNOofloGRPYD75ZkY1NTm9zdbui/2ab20Jgo7e769QCDXoLc3zaEUm5zHbxLCpH+pDWvrQC2QGwhFao8eajQ/lA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB4348.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(366004)(346002)(376002)(396003)(136003)(451199015)(33656002)(110136005)(478600001)(66899015)(54906003)(6636002)(316002)(71200400001)(66476007)(76116006)(66946007)(66446008)(64756008)(8676002)(4326008)(66556008)(53546011)(41300700001)(5660300002)(26005)(8936002)(9686003)(52536014)(7696005)(6506007)(2906002)(186003)(83380400001)(66574015)(55016003)(86362001)(82960400001)(122000001)(38100700002)(38070700005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?UXdtSFpXeFpPeUlPUlp0TkdRQ0Jrb0pBaG41bG5Xam9vSURLY2psOWlrcWtN?= =?utf-8?B?cENWMDcrLzhNVlhLTnRnd3I4amlxVTFyK3FlajdMSitJWkk2K3RtT25pK0pR?= =?utf-8?B?TkkxK2c5dE9PblRIeHlZNUdCR3JHa1ZNVDFwdWgwbk1zNXVBc3BURWs5ZGFJ?= =?utf-8?B?YXNqRXczclVQTldwUzVQZVM0Q3BVYjZVRzI2eFl0NlVoYlZ0Tmc0enFrWURF?= =?utf-8?B?MzFQN1l6TTdSVG5IZmw3NkpmN2xUYnNxam5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Wk94cUNQRnNKd2RiaDI4YlUzTXMyUlQvcFp2WURQTDlkbFk3Nnh1c3JLMWxU?= =?utf-8?B?Vk1yN3FrajRKNVIvQzZjUHB0U2xnTVZXQXlZZitHR1Fyc2s0SDQrWFVQWkZt?= =?utf-8?B?ZGc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4348.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 89566d0a-2809-4974-e902-08daab57a8e1 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2022 07:10:20.9759 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Egtl2fPyEgKldCLPBIlwYlMbQ0sQVNN76f2LW2tkPytNmC1DCWgH/lPIBqrhDzKg44IPZ2HIknLktMaPx9MHFX5roxEkJzaI7F6Spq6K9GM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR11MB5416 X-OriginatorOrg: intel.com 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 QEhhcmlzaCwgQ291bGQgeW91IHJldmlldyB0aGUgcGF0Y2ggPw0KDQotSmF5DQoNCj4gLS0tLS1P cmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWF0dGlhcyBSw7ZubmJsb20gPG1hdHRpYXMu cm9ubmJsb21AZXJpY3Nzb24uY29tPg0KPiBTZW50OiBNb25kYXksIE9jdG9iZXIgMTAsIDIwMjIg ODoyNCBQTQ0KPiBUbzogSmF5YXRoZWVydGhhbiwgS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