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 E1C9AA0544; Tue, 11 Oct 2022 09:10:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D449942CAE; Tue, 11 Oct 2022 09:10:50 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 6930D42CAC for ; Tue, 11 Oct 2022 09:10:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665472249; x=1697008249; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=8CIG1BssQ3twT8jL+SVaDaIImdyjbzDjtNU2dC7BAs0=; b=dHZ/mzXXBHT9cFCUiVCI6MWLpdrh68bv9l+TRONzYSB35Lub0JUCTL8h wGK/ppdH0EGuxLnOeQ2Pqhmv+vIvPiAT+NwG/MtAHfSFsGIwVvdPWCK6b d+RgMbTxhIJ8l18fSUIAyZw2SSxdPjwgIMT0GbHTIfraw7JAk6oeag2No bAgaoTsgka283AFgAm3khjwBk4rMoNb29SvJrxWRViZNyDHa8ZHkNpDfO PK854yt9AHLvgTFjTsI3eEkQhSfARKw4t69krgIGBFynV4QFnMi7sr+y2 bM5vQTGLYOFFeTxsUxYipgai10I7ecdQBvuML3O6TQnRaHCouDbfjTwKG A==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="284158126" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="284158126" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Oct 2022 00:10:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="689118630" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="689118630" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by fmsmga008.fm.intel.com with ESMTP; 11 Oct 2022 00:10:48 -0700 Received: from orsmsx612.amr.corp.intel.com (10.22.229.25) by ORSMSX602.amr.corp.intel.com (10.22.229.15) 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:48 -0700 Received: from orsmsx607.amr.corp.intel.com (10.22.229.20) by ORSMSX612.amr.corp.intel.com (10.22.229.25) 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:47 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx607.amr.corp.intel.com (10.22.229.20) 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:47 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.46) by edgegateway.intel.com (134.134.137.102) 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:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q1BLc7M0OiR9EzLBBtrGwH91+3nBBYU2IeJuXaqJ2XNt6iLm0dQGkbdKgG40i/y2DW1/8hXaShkLLT5xSZNmcMWjILVGz8KauqQLcNv5lGi1i3PYmZPbhXhf+KZb5SRq4zfpUGU7Nn2Gtr2SgCNE5pWKYHeo6gvpH8sikh5D/Q0o4rQHOE/ePSzUECE9G9CUuqJk7JVZLb7IIDi7JEeUyDyuUpERqhuyMcWhturLAMxec/5yXRZELAFlJw6bcXG7j2lOD+qUM6634YrB5LnbA1PWQZzDRXDJQnTKBPdZbpGUrWWDLFGPgDpWf4LsrRy41IM0g3fIEcs768GOeLzePQ== 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=8CIG1BssQ3twT8jL+SVaDaIImdyjbzDjtNU2dC7BAs0=; b=WwTuxbZeBqtahPkFY8OEEr/cdZwHWbc+7AUA2H2hzgRI1QxS3OetK8Iq014pKTr2mpd9nXIpFSIx2I75ZfhYA9PNQGzHdYRF8Gq/xIf0T9GYlZC97LV9fThT4ff4Rt+971nh7XTkrk28sKwwiIQdt5NbmmylZeMSBevgTHz2bVEHfYPIiSxjJFrhzJnEmZ1t0vmXxvrc9r1M7wScPgnFJqxuDvksORGBbqf/+J+GYCD0ip1xwt0X6oBtdgxme6PQhSntfVFUnc96Gnc6PCEgaMOepxlDyhsF4s5A4BYuQsJdk40Fl4bTyay1VvB483bzmh4FIkCBCxfQxn0rHO0/5Q== 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:44 +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:44 +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 3/4] eventdev: have ethernet Tx adapter appropriately report idle Thread-Topic: [PATCH 3/4] eventdev: have ethernet Tx adapter appropriately report idle Thread-Index: AQHY3LjrS7KWQ9u4MUul7y+qORg7Za4Ix5xA Date: Tue, 11 Oct 2022 07:10:44 +0000 Message-ID: References: <20221010145406.118880-1-mattias.ronnblom@ericsson.com> <20221010145406.118880-4-mattias.ronnblom@ericsson.com> In-Reply-To: <20221010145406.118880-4-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: 86eab376-c34e-435c-e8f6-08daab57b6d9 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: DP2aRyBEx3WXLIKkFqnGgJQmJJoNBWuKDnpCzRc+3zicDh1BvixyxEwxlrqXT6qHhrNP/nUCiWAZLR8DTHNT40uLhz4Fx+DNRkZvKs/8rMIgv4ggxM8B3Wb4uSCIUUhPtCa7kcr/k9i3b0GUQdF7RD2MolKtz9br4l9TsGGtGY0+7hzGNn6WOFL9zh2BbkWVWgUE3ds/7sZsVEFoTIIe3NwlfzI2WMwk/wn1yV3e6+F9fN5ycfSKtHUu+jnUOSzLt9NVn3pbz6VkeZgK7imCoFfj1sliuO/Rm1+/4TlweiafrDTKi7w/3d1fj24SAuyprykiaExK2GQ/jSAqTpD8WjljfM/ETh1RAyqALb2q7o+yBCcpNqfHOcB0KOYK9YCmQN7YoACWOarCZ3UO43gEIRsL3J8eeoW9ghM/J3ypO42V78ulhivR9UI9ncLD8lXnDrSep+K8fRcJlSUyy+sk+RKA3J+aNSK7OLR3TUDGMLCqtQzSElaY7Pb2Id2IjsMVwq2w4udUH/EfyFUpVtPBO6+zdv5yUNG74pfFRfCXc6AzgpgK6D97oTbjSGPqCsnjyHCUkOPzVd8FhECYa+NMZYTfZdSoC1oMl4UlLDXWDCJEpJyTVfo/z1uLi8QRRNykJvRHmW7kgk9BnBtpY4OuoXlKSgCfJd4k5RplFRGYkvDvl9LrlZ72zeMplcjIFgzkZ0DsVwXwARhtdGaG7jiSWI5Dt+0vBufl+TorsDbW0BY4f2ncu0Mhv8I2HOQUayldPKEVpAZqwI2LEU+FrcDjKQ== 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)(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?VzNKelZ4eWQ4eVZEUWVud2puSTR6MHdPOUZjSERCVHIzTk1ETFBmSUthRTl3?= =?utf-8?B?Z3l3RWlyYzhkT2tVUmdrbzhPakgzWGoweDZCbmszWmkrZTJCeTZrSWtpQm1x?= =?utf-8?B?VDE5QzVlR1RNMTNMYVJMU25XeW4zUTNNdFpQc3JPc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-8?B?NTJFdTQ5bU52d1FWZDByVGlqUHdyVlNYVjM1ZndyREpYNlZRbUJsTTFIY1FH?= =?utf-8?B?RHFsbmxXdTRYYkpGRHZhZ2hETmNZaFdOMFZ0ZGZXVXljQ0NHSFJaR2pCNWFv?= =?utf-8?B?U2pGaThISWJuMWtmUU1KUXhlNkpWWWtsWkd5TE1VM0RCL2ZnUW9NaDVWdWJ2?= =?utf-8?B?TlhHblVkM25SOXlzTUhXUFFTZnU1Tm9INWRUN1J6dGpWcEhpamx5SkVWMCsx?= =?utf-8?B?N2c9PQ==?= 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: 86eab376-c34e-435c-e8f6-08daab57b6d9 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Oct 2022 07:10:44.3960 (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: WrY93F2gGgxXyCXNnpqJrsfS8FFV66S39Yns4DRldM8RqL5/B56AkGI7f0IB2Xj72B16XrXtsYkZCQUUgN9zMGjR7tbGZDZC/OezZQqAZfI= 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 QEhhcmlzaCwgY291bGQgeW91IHJldmlldyB0aGUgcGF0Y2ggPw0KDQotSmF5DQoNCg0KDQo+IC0t LS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+IEZyb206I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