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 91C8BA0C41; Wed, 25 Aug 2021 17:23:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 115F240140; Wed, 25 Aug 2021 17:23:33 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60065.outbound.protection.outlook.com [40.107.6.65]) by mails.dpdk.org (Postfix) with ESMTP id 97A1940041 for ; Wed, 25 Aug 2021 17:23:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Myh2JLX1Tf44Pp1+VqcWkhLMS8Hb45DRMu6uuNRtLbk=; b=vnmz+eqjzGbHYofUqX0hgZqOIurE+grO2FKHtAf0qgLZXfC6BgMhM2ryy1aTpXhgpuJjiDc8CDj7uESvfns921hhg+mXanzF+2Kd0J1MXoge+6RbDkPcamlSZ7V4hoUWrMZhTq2HP4truBAMi5S+a1DkMbO/7Bbr+6jy2PkYpag= Received: from PR0P264CA0236.FRAP264.PROD.OUTLOOK.COM (2603:10a6:100:1e::32) by VI1PR08MB2960.eurprd08.prod.outlook.com (2603:10a6:803:44::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.23; Wed, 25 Aug 2021 15:23:23 +0000 Received: from VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:100:1e:cafe::e9) by PR0P264CA0236.outlook.office365.com (2603:10a6:100:1e::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Wed, 25 Aug 2021 15:23:23 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dpdk.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dpdk.org; dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT059.mail.protection.outlook.com (10.152.19.60) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4457.17 via Frontend Transport; Wed, 25 Aug 2021 15:23:23 +0000 Received: ("Tessian outbound 6ba9ec11d42b:v103"); Wed, 25 Aug 2021 15:23:22 +0000 X-CR-MTA-TID: 64aa7808 Received: from b2a9730bc52e.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 0C6A8DD2-5E34-4AC5-86E8-4FB17595D370.1; Wed, 25 Aug 2021 15:23:13 +0000 Received: from EUR05-AM6-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b2a9730bc52e.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 25 Aug 2021 15:23:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FiaIrLbwD9UquFgTEAphCsKivsFpdyj4CGIIX3o6v6sxKMEzJPx85zpYGNfZOV6GVhX1znc0KytyXMcc0CBKTX4fSoKHf5Qjfe72vmhzncuc+cGmGVQ+YLBT0hydDXz8211maX28XgPMr+I+iDJaLpK3STQpDNU4Um1o+uBRAZez0DbCMTPYN3vNb8qVNMF3RPnmmnhLFOY2+wKPV57uZRKx1GzXrWFKtI0dEA7/oFVJTl6Aty6A13A0EJ3Wq/lpC0J7/kJ65I7/iwHQZqwEzXhLLrovECRF2KeOqZWWWyI/ruUR3F907yt86Up6RlFz8vSwzHtCyu1q6Dhzs4TLRw== 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-SenderADCheck; bh=Myh2JLX1Tf44Pp1+VqcWkhLMS8Hb45DRMu6uuNRtLbk=; b=k7OpqeGkt9Nv7BtwSeCW424N1Ck7PEHY+ug3BUP953rqnn5A6oSjLAwl/S5Bpzl11lYnu2UCmlobiVexRMfrA474/00TpahtBlTt1MqWtR38QnTZAuS6bfypC3FmskbS+mxAEG2VeJE6207u4SrjgVPrudyjsQXghoxv0CtiSSttSCpB+TnD3REAQqGYqKkx7En2HYsgsR2UO4vtZgyQXFBMa7r/sJ20lEe8fRwgZKxy/C/Kot/4Rqmlr79DxiB5xb9gXnXvXLww3owTEM6PKZarHSCnZmBL0wacj2Cw0TXs9h+TmEx+XCeueN/w+YuIMOR/jQ3sXWVnYkL0xjPRmA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Myh2JLX1Tf44Pp1+VqcWkhLMS8Hb45DRMu6uuNRtLbk=; b=vnmz+eqjzGbHYofUqX0hgZqOIurE+grO2FKHtAf0qgLZXfC6BgMhM2ryy1aTpXhgpuJjiDc8CDj7uESvfns921hhg+mXanzF+2Kd0J1MXoge+6RbDkPcamlSZ7V4hoUWrMZhTq2HP4truBAMi5S+a1DkMbO/7Bbr+6jy2PkYpag= Received: from AM8PR08MB5810.eurprd08.prod.outlook.com (2603:10a6:20b:1d2::20) by AM8PR08MB5700.eurprd08.prod.outlook.com (2603:10a6:20b:1d5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4436.22; Wed, 25 Aug 2021 15:23:08 +0000 Received: from AM8PR08MB5810.eurprd08.prod.outlook.com ([fe80::50dd:c2d8:dce:c11d]) by AM8PR08MB5810.eurprd08.prod.outlook.com ([fe80::50dd:c2d8:dce:c11d%2]) with mapi id 15.20.4436.025; Wed, 25 Aug 2021 15:23:08 +0000 From: Honnappa Nagarahalli To: =?utf-8?B?TWF0dGlhcyBSw7ZubmJsb20=?= , "dev@dpdk.org" , "olivier.matz@6wind.com" , "lucp.at.work@gmail.com" , "david.marchand@redhat.com" , "thomas@monjalon.net" CC: Ruifeng Wang , nd , nd Thread-Topic: [dpdk-dev] [RFC v2] eal: simplify the implementation of rte_ctrl_thread_create Thread-Index: AQHXmcOgH4CM5JFQ9Uaq02hO5DyJ6quEVWMQ Date: Wed, 25 Aug 2021 15:23:08 +0000 Message-ID: References: <20210730213709.19400-1-honnappa.nagarahalli@arm.com> <20210802051652.3611-1-honnappa.nagarahalli@arm.com> <2caf4e93-6a57-503d-fafb-22ea6a4b1982@lysator.liu.se> In-Reply-To: <2caf4e93-6a57-503d-fafb-22ea6a4b1982@lysator.liu.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 8E72D886ECD7E1488754C2CCA9E49142.0 x-checkrecipientchecked: true Authentication-Results-Original: lysator.liu.se; dkim=none (message not signed) header.d=none;lysator.liu.se; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 684fabe1-9f12-40cb-5270-08d967dc4722 x-ms-traffictypediagnostic: AM8PR08MB5700:|VI1PR08MB2960: x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:6790;OLM:6790; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: HlrgqRXJIxlOnuGbXbGLo1JHifPR3v9/wjIcnAKFO9d5V3zxVnMsu58xNjY1DnE9a/UvmZeFvE1VtWCB4zSLiaPV8I2QrILpBbwrhpm6s8TTl10XsZG1paxK/PNJOUOBvBA+B0fjVispOnvowkXF1uV36DsVf90yIr1bAw4WNylESLIRVqJPYXB36y9gceuq2xynN3f/mZbxM/q+5y6pPJd6R2FOv0qxyE923VnYaAxXSedcG4PKAbtUpkM3DTGNFBwTa396M5zC9RXO0mI2tch8B6UEXU4BThuSDbcBH5YB7grgl6uK9kyS+hXp6yKtG/lTvktAoacALhVhjQFnQqhLpnTegl6TYsS/Yj+3Va93KKt+tcqYpL90DKQPI/pVcWuTmBNqYEeWK20IQkTbv2iVK7Glvo38CR0KvhgmTFgVcLElPN3SSNDKxY/cOW5eLpIOIu6gHFLPJmF3N36QtuTdkmHqRC4iMhkaD2h9/ZzMRB5sFwOx2+hNXBSreVEurol2WRtCeC6nRErig4FTjyU7aNKewZjFUmFMTjt8BjuiZn2AI1LS8p5m+tMCd3adWGaTldCRqlpHEs+fyHcmEMdrV2gXEYhZz/O2FoKZgDfIADhxaEyhI9PowZWBu3auqBrYJyc67KjBJTmVsR05Lvm0KVhYKW/lI1ns5BnjBGS+pFulg6laQrxFOq3FGsgCAm/xVFg02fGiugG8/NA4eAB/hvrcmh+CRC3Hz2sWTn8= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM8PR08MB5810.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(136003)(346002)(39840400004)(396003)(316002)(296002)(110136005)(66476007)(33656002)(7696005)(64756008)(86362001)(6506007)(66446008)(53546011)(186003)(38070700005)(122000001)(38100700002)(2906002)(4744005)(52536014)(5660300002)(4326008)(54906003)(9686003)(71200400001)(55016002)(8936002)(8676002)(478600001)(66556008)(66946007)(76116006)(26005)(21314003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?WXRiT3pHc2NzeUNmWFBEVGpDS3N5OVVxeE5yWEtDVlg0R0NHc1owN0dFZGVv?= =?utf-8?B?blpJY0hNN0k3Q0s1MXFiZTdzMWdJWkEvSXJvdTdsdEFBQWN5VHU4MEhnY0lD?= =?utf-8?B?bHVRNWZXUmYwUnNuaVE1NktKZHlJc3NDNUZwQ1BiNm4xdy8wWnZFUTRGczdO?= =?utf-8?B?NVFkMEJucmNnSmdlOW1RbGZSYzdEMkhnMmlCWU9WcjdEN3Z0VjRXREtZU3hL?= =?utf-8?B?SUFwekREZEZWeFZJMUxoWDdTaVNiMkorNnUxVWRLL3RJekFrSTJzTjVCTDVV?= =?utf-8?B?TFFFb25lOUNKWm9MUUdjL2xEYmd0bnAyWi80WVg5aHpMd0tuV1RTNVNTRjEw?= =?utf-8?B?UnN3Zzd6UFUwc2tvN05lakJONG11WlUwYjZlbzNtVWE4SkQ4S1Nvdm85Y0xz?= =?utf-8?B?RHExdmROOTNNQUhHL25JTzJuR3Q1MFJVN01oUkUvZGZ0ZVU4d0hMQVhySWZN?= =?utf-8?B?ZUg4VDFFQXhlQWN4T1JMNkR3R2IvUFNnR0E4dDFNZmF4MmsxZ2FoTW1QbnNh?= =?utf-8?B?TTU4RTZSY2k5OVFHVHBYQlRDYzVpT0FUV0lOdmxsaElzZ0dEYWhJRTZwM2lv?= =?utf-8?B?YkFUMVFDZGlBWG96bTEzditqZVNjWXhvOXJhZ25DanVVbG51K0h4RjF2SFF3?= =?utf-8?B?NW9Ya2VTVXBMcjlEaVNtZitJSVZ5REFzUW4za0xobXJmMU9pdi9qaEdadUl1?= =?utf-8?B?WUUwZnU1T1J5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kxN3JCdmhWQjNXdTREMmpERTlMWURwbXVhODhGZlA0RWV6?= =?utf-8?B?NFFIOVJpZ2FTUC9qMVBXa3Q3dzROOUUyZXcxR2NYcTkxVU1ZT3phRituSGVp?= =?utf-8?Q?nw1FqKQvaZOEyYTV1Fz8qwX3RtzgzPOB7Cppu5Q?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM8PR08MB5700 Original-Authentication-Results: lysator.liu.se; dkim=none (message not signed) header.d=none; lysator.liu.se; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 915363d1-57bb-48a8-4399-08d967dc3e71 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kf62/jAzPjNNq30OqQIOF2Iw9JGerjhjAz9CqmiFarPcY2GarG3I5IQDonZRQbpkePHJoV0j1dVXPWRHVJ+1/gdA7b/GWi1Z9pJW9a6VH6Jrnec6GfsGcWEPFKwdeXUliWhJTO1gU8N0kDRfW13oAjZZvDK5UcsyQ4opz4KWWNbWP67fd/sdgpomXwKbJxuQyIYlQzk6SPItHfJiKIkWTexzJyyRCeH02yBHARSgkkWwJExpJbtsaVThysfAQFFIaGQSMZs7kCzsPIqrR6cTlMfcZtZoihu7UBk5vsY2hVAoEgmeL9VWTPIUhTXRp458otIE/P1A38q1QxVwABWzr85BsvccHvPliZGUzSNcl7y/9tnpdwY3uDyAZc4kxMEEyo2ko4QYe7pIuBFM8iw+hcztX+sVm5B0Jprf0wHU6oXv04DEn959EK9itfB9oJCyvzlKidx5T/xRPGckGYJK6MG06INTo8jtjmg9flOnNMUZRCAqLNJasXbd8C6UFy1eP6ntD3WVwnqw+A6HvVm5nqKoDygAQN/zsGXwQKkeEfnBM1HR9708EgARIQcdSAWxZaYXbRfTSolzF9s6XrCWASZ2k9C+sZ1AOoxNKk0Q3T5SU3HUG6t8Fpw/EZPIcv7Gzjwa5yDJvCedllYFvNT6f+ofzd9pD2m5mWvvlLODID8rj5nuhvir7sWY+V1JiXPz3sqwUvOF4e5uegQUa3hCXfw6MXp19jmkZ+dph/p5RvI= X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(36860700001)(2906002)(86362001)(356005)(33656002)(186003)(26005)(316002)(47076005)(53546011)(8676002)(336012)(7696005)(5660300002)(110136005)(4744005)(70206006)(508600001)(6506007)(54906003)(52536014)(8936002)(55016002)(81166007)(70586007)(82310400003)(9686003)(4326008)(21314003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Aug 2021 15:23:23.2484 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 684fabe1-9f12-40cb-5270-08d967dc4722 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB2960 Subject: Re: [dpdk-dev] [RFC v2] eal: simplify the implementation of rte_ctrl_thread_create X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List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