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 992E0A0548 for ; Wed, 12 Oct 2022 09:55:10 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9108D42E10; Wed, 12 Oct 2022 09:55:10 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2074.outbound.protection.outlook.com [40.107.94.74]) by mails.dpdk.org (Postfix) with ESMTP id 3A53242BF0; Wed, 12 Oct 2022 09:55:08 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dC3QhBDnSVEOgBy/ESwSXhhpgSkOG4j9N5IiqSIuPSlRySLbGh4W6yhUoulVpiMu9pa1hIcQzKvUXL88mqkjQO45tFpy1yJCnQL2hKnOg/yE6bFQc0DP9zDGBOHsky/1i+XHJogFnorJ0pc/mzmUIUX8vwRMDiyqDaiykx5m58lF7htZ2IcSqLK8zzlAZ40ot1YQj7mEWG0w3YG9HRJrkUfbQXC5iCORwMye0BmEcBS+0PhUKJsHJ0AZe7E6EP5a9pDW7/76VpaxfPGC873xi746faXehgTpaJZWMohMk2VT9I8PDxLJx9cxC/90kZn37zgtFnIHQImKYyoAv9VBbQ== 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=n0cQx969tTdwQBagmudwVa21AkydN46RgoGPeqdsrvs=; b=dOcsOLfAZDk4xgLbxclavW8VPo6Kff+haJHAwLUxni9Kth2DyGwsv+lfLMCYlOFK3jWx3Fa1xcCCJdxEHa6a6/yRqGQW5DekBG0yUECJvQII9zFx3Jv/fmMpoEUFHj94VJJGPGYtPoPIdGAaaR3VJop0mpC3D0W64FyFQn5MeIJBezkL5VTQlQvFRVS3YKlU1X97bn9i3xsnVRUSao4pItaOiS4j3cP1oV5u8DURVnW1xfuTOU9gBSJi9zZZn/IFk9xVarQjDCTmRpOJnwNRobnxUmcatHLvu359Zlg9yo4Zxa2T2666YEXAKmBMzqYPzGpTa2+dkZnQN5uMrTKCuA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=n0cQx969tTdwQBagmudwVa21AkydN46RgoGPeqdsrvs=; b=WQlhDz+Dhx99xqR0wZPyYuOzddsP9/g9pfgi5uCfV/xELaH9if2cy0lAID1BM3vWS4sZdPCE8ZlqhkKtK9HecVPxqmjdzKYLpZ59a/NGVduF8rtBnyI8jstXpPRDF1vr0lOPXFteRhW+1AeqkkxmE0ktOR/WYJTap9ZTFBTGgxckQxVpoyr8olpBaQC1o+YCrrUZAlyOj9jfwXJN6LFSR3iuV91PB//6qFTEI+4ztL8EfxzNq06CS4ieDobgzHojHDhlykPoT1rr0+3Dcn4zqhgI3o/C5ws6HKfHON0USTleQNfRDG66c9teSoHHSez4UWw7Vz0hPzbqSN+AtFlsug== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by SJ0PR12MB6711.namprd12.prod.outlook.com (2603:10b6:a03:44d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5709.15; Wed, 12 Oct 2022 07:55:06 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::7c8c:ea68:bd84:9458%4]) with mapi id 15.20.5709.015; Wed, 12 Oct 2022 07:55:06 +0000 From: Slava Ovsiienko To: Tal Shnaiderman , "dev@dpdk.org" CC: "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Matan Azrad , Raslan Darawsheh , "paul203948@gmail.com" , Idan Hackmon , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix thread termination check on Windows Thread-Topic: [PATCH] net/mlx5: fix thread termination check on Windows Thread-Index: AQHY3gbpuiHSARGrCEK20w01KGR9sK4KY6Jw Date: Wed, 12 Oct 2022 07:55:06 +0000 Message-ID: References: <20221012064949.2320-1-talshn@nvidia.com> In-Reply-To: <20221012064949.2320-1-talshn@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM6PR12MB3753:EE_|SJ0PR12MB6711:EE_ x-ms-office365-filtering-correlation-id: 65b997a0-a3f4-4233-8665-08daac2713c2 x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ISA9nvj9RzqWajNF1D9LfS1mON5bz9dAkdkBgLLTZMXjl7198FHJnGmQiXBzS0AI68fUczwXp6V5vhnCaWgpodsh97T2DEAUx1fJMmRlwd+0zxi5c22dFQRwgrTb+19CvSE02JDAqMKr02j7SK7gD7p5EGf2TFt55YIqzQqisTSdpsxcupe4ZChCbXKwJLm7Peh6ChrNWhPyeguXM+NjtA1GRBaMQeeqxyuu5O4FEq21L1jWAxYEXetv3A+mi21DZAfH+LXk8kd7mSccY4L/SP727M/XEEBL48cYCqfCarOqA6xkazHmHCQi4qfUMLofygtUnoIVNceTHhyhZ0/Dr+Dth3Az3duV3WoxjBsFCbUMBAKG4KQ5D8+h1apsJ/PS6AnBGtuo0jgCR1couRn7uaUw1GNXeLY+DZ36wzvNrn/UsmR6aahGVtXVn3CtX+b+XCH+eLcwNwwY+OwRflPPBiMbG2CvKffZ9hpxxEmxCKac5tlU/7oKR+bya6s81qGXYHnfA2WmlddSjJH7coYI87adIZZrBmLFxsI9nZVucKXpNYfRn+lzLjXorsMiSXg6b5XYi6Fc9wUagiCJkBdsMFkPxd+efZk7Dbm7VS6wM9TN+2eX5x0g8GDvf6VpSPLtdy0S4rTl1XEpazT7s1QN9h6lpbim+cTSyPR/yLvx3oxZ38gzWRP3842oe0tftG5JDTOoHkm12/PMXXSiFr5EWTTAF7Sk8S6o/0B8aY5GFRWSJVlaNf5IiG7za2pHsYag2cm5A96yVcY4RU9X+mBOZA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(4636009)(366004)(346002)(376002)(136003)(39860400002)(396003)(451199015)(38100700002)(7696005)(2906002)(33656002)(66946007)(316002)(186003)(38070700005)(122000001)(6506007)(55016003)(5660300002)(4744005)(9686003)(53546011)(8936002)(26005)(4326008)(76116006)(66476007)(66556008)(8676002)(64756008)(52536014)(86362001)(478600001)(66446008)(71200400001)(54906003)(83380400001)(41300700001)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?y97c7v19DawJdtm5wxVbDbDM5Z6zxaPUTnX17Ioh6gKpv9VP0EogCxbXvIeL?= =?us-ascii?Q?JnCXsrTyTMFDBu9tCuQfoHUURhxaAuviMN9e0JTLzBcZPsaHdAOQNe+XBxUN?= =?us-ascii?Q?6Sydg6JPJsAlsLRxdtd4eE/QhBznTczgxjfB3Wkq58AV93sn3CDLgyJdkSbj?= =?us-ascii?Q?b19jLtXyqrTtSHCTq67z6PJ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EU?= =?us-ascii?Q?SPPedfyupzdrTES7ueV+Z7L8GPtsADObpGa+uLIjm384107MJ2UCJoOsnnSq?= =?us-ascii?Q?rNvdEfNrisy8ZkU3Uz6ZLPLVxg0ShziLJx3Qsl+B7mDBpQW2jNuKDUKSSR8Q?= =?us-ascii?Q?IuGj8RBBlQ9Rg2iz4Qkv3rKv7sM0DllCYFb9MoL7K140ygWA6YRb9gMyj/AC?= =?us-ascii?Q?m0MHgHKu/rMIGkMglNmV5O8qfPGtITFIYxqrcWUWJcoy4Ez4XW+5B2cq22aN?= =?us-ascii?Q?SQ2mRVIiL1TvpTn6zy0cHgvijX1/Xi0A+0zEmoO7SK+9QDRZZYqcd5R22dUI?= =?us-ascii?Q?E0BcFBhFWexCmSs+OBT6+b97gbBJMcct5B/EQg4jUHHnCY7L+OloSzjIMENT?= =?us-ascii?Q?yxRaIccUMInTJ0PoWCVDecrsy5CQEFmZ8IQ4Eta2dYOnkC65wn8pujLhf3V8?= =?us-ascii?Q?IRXJJe3EKV+rShtno/ZVgEvV0IiIuQ7XZa6+yJGoo5D8dcn5e1JxiUZv/bBB?= =?us-ascii?Q?vhDWTKMd0VJNUlAs2ltTWvtY8vmThZPJlcf2WdAl?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 65b997a0-a3f4-4233-8665-08daac2713c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Oct 2022 07:55:06.1251 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: JFfz/hkBKVV5KIJ59RiCF5XBognd2MDZfpEK4+dxWom+6Ro2nrLDxTHBuagk6tHHzcfK0fRV2a6eMnX4psQaAQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR12MB6711 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Tal Shnaiderman > Sent: Wednesday, October 12, 2022 9:50 > To: dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; Matan > Azrad ; Slava Ovsiienko ; Rasla= n > Darawsheh ; paul203948@gmail.com; Idan Hackmon > ; stable@dpdk.org > Subject: [PATCH] net/mlx5: fix thread termination check on Windows >=20 > The mlx5_is_thread_alive function always returns false > (terminated) regardless to the actual thread state. >=20 > Fixed to return the correct thread state. >=20 > Bugzilla ID: 1089 > Fixes: 5d55a494f4e62f2 ("net/mlx5: split multi-thread flow handling per O= S") > Cc: stable@dpdk.org >=20 > Signed-off-by: Tal Shnaiderman Acked-by: Viacheslav Ovsiienko