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 8287941CAE; Thu, 16 Feb 2023 08:53:14 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5A75E40EE3; Thu, 16 Feb 2023 08:53:14 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id B8FA340E0F for ; Thu, 16 Feb 2023 08:53:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1676533992; x=1708069992; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qeXYKHypFAUqE4i8HWEBR4d+AqIAkVQPz39gbXvkMo8=; b=CLWGijxUN/da1xy/VjCFzGVwLOdeGX89qZMd+cf78tsmDHcPlhmVj25E 8V0XGOlmXtXYs00873vO+gEXq2FVkp71j9WGmzjEMRWRLDgiZxmXC9qQ0 rARcM0sgg6ks3KbcGXQ5xfzh7h+FYivr8RlUuVqq+m1WRLi8FPAWJzmqH sKxJ3DEKFk4p506nNIbi75TILthd0Vvy8DEfBqt0FxawC96yKgyIcxVYC P0B4yp//3FH4X8dLGfANeieSBVcrTKB/Kw7boXpOZ1Y85HCGcCE+xP935 raKTqmTXyGu49s8gfh+y5pDHrdn7eyh81YobuOo2qOH7Cp+OCGgWg1urK w==; X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="315327500" X-IronPort-AV: E=Sophos;i="5.97,301,1669104000"; d="scan'208";a="315327500" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2023 23:53:10 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10622"; a="647578258" X-IronPort-AV: E=Sophos;i="5.97,301,1669104000"; d="scan'208";a="647578258" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga006.jf.intel.com with ESMTP; 15 Feb 2023 23:53:09 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 15 Feb 2023 23:53:09 -0800 Received: from fmsmsx601.amr.corp.intel.com (10.18.126.81) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.16; Wed, 15 Feb 2023 23:53:09 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) 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.2507.16 via Frontend Transport; Wed, 15 Feb 2023 23:53:09 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.173) 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.2507.16; Wed, 15 Feb 2023 23:53:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OklHkFxR7I+yAgALS0n1FCYkPFvkGRkliquVCGw20vBkzIHcBxVN7Ue4Ewpyrib2662+UL+kj0W4OS3dLfBWXfs3k0EpjPjVPmrayZ1zUFNKPiXu4fPql3AJU7jpfv9dzw32hP+fOMqODNf26hKdyxzpy1yjRuZ+CPcydIi5l2pmoNBO8GxpC3EXBqSLX0m6X5BVDzO3b+L9WhgmQX7WievHun+aFwtTWePDHyxGLXRyPPdDN33UfaA0CdxUm5Nv3EaFbllcNBoZAaC1nIjnro2x6gTgyGeHLTeSpjZgKkquhXL1kZS926JZccSULvdvyw2x25Yz9YLUxs7MPg37DQ== 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=qeXYKHypFAUqE4i8HWEBR4d+AqIAkVQPz39gbXvkMo8=; b=hKbNF37GnqCapdQconWmjmsh9vpNOeO+ymvz0ZaozW6+zgwTG+X20DIIBpVWIEPWQIXOm3rqdUxfnC6tWieq18DB/rikgmLP8+2qtiTWIZKT4tvGdhc294zAr1icE+l04+VDcw0S8q7myKXulgNitjivBWaoSnrR7x60aWx4iIa+hynkJTlXFhEzbg9Wi/Vb9stHw9UYOlcUq+x9dMe83bF1CcE5SSb/U1CDkiG+Ql3cpUvjgUYZOUDioNhona0dwYdLYtOzAp6gmPRCmqJllmejpYRScJsMRsEcz9gnB1P67ZlWYag++lz1eSoE3pBKeYwmsNKo1htByjyRsoT8KA== 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 PH7PR11MB5984.namprd11.prod.outlook.com (2603:10b6:510:1e3::15) by MW5PR11MB5811.namprd11.prod.outlook.com (2603:10b6:303:198::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.13; Thu, 16 Feb 2023 07:53:02 +0000 Received: from PH7PR11MB5984.namprd11.prod.outlook.com ([fe80::985a:df84:4be2:7e86]) by PH7PR11MB5984.namprd11.prod.outlook.com ([fe80::985a:df84:4be2:7e86%6]) with mapi id 15.20.6086.024; Thu, 16 Feb 2023 07:53:02 +0000 From: "Zhang, Ke1X" To: Thomas Monjalon CC: "Zhang, Qi Z" , "Yang, Qiming" , "dev@dpdk.org" , Tyler Retzlaff Subject: RE: [PATCH v2] net/ice: fix ice dcf control thread crash Thread-Topic: [PATCH v2] net/ice: fix ice dcf control thread crash Thread-Index: AQHZP31RuNQmsHhw00ec3jhsDlW6wK7OSOSAgALutcA= Date: Thu, 16 Feb 2023 07:53:02 +0000 Message-ID: References: <20230208083005.290571-1-ke1x.zhang@intel.com> <20230213071648.326123-1-ke1x.zhang@intel.com> <3820540.fW5hKsROvD@thomas> In-Reply-To: <3820540.fW5hKsROvD@thomas> 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=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: PH7PR11MB5984:EE_|MW5PR11MB5811:EE_ x-ms-office365-filtering-correlation-id: f4bf6335-901b-4d31-2a84-08db0ff2d44b x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KF2+eRDlR8VcG/ac8N7r8eTHA0hDsyl1RbmXP6UdUSY7dKnKxojxargVS3N/qVtEagtbIT/yNqBpO7r0bRmCMm88PrWRn7ZLJSSdIVQE8ApX/itQx6/lx8Ceb+2YTggCG2wfzB/lLwpFhMiRJ4huRWyTYRd2XFccVHB8+CiyoYVlksn6zDXZyDtjvoEr95rHYoSRm94qC1/G+3rwmxUhXowuFhv65Jv4hTpTT96jyv52CmFz5Mp7/dGA9KXS+RsoipRzHZcit2PPzMvs/OWWpQOCmlkAIP7B7Op6NQXa0ykfq2b4rWxVVr/ZAxHaMbAqR/ekzzoQsDNv6GV+/IKBG+NNuBzwTRWe7HWswar1FKYav6GshFdlJv1i3FUE0AirQI543TNrN+/YMxKCfWv8K+hI/OIRCnUE6/gHtgi1zVnC8EMA7xVjHUqQo96pdAU+WabTt6X4RlffgBXlzmLhhvmEevTky9c8J9IPL52vCaond/SvDrN94jNIsomejkC6C/w7D4eXb0NSWiOx1YZB7/uzYndK45DXWFlJ7Xm/ziTVgTuKD2DHO1/sI+Ky/kzLkBmfN4xE98NDZ3NhUeC5949a8zE8FgY/6BrwvOwbcrCFUuj2Gbl8nQaxxKZO34EA1mdqsXqcOOKu5bX0WlE2tZ1gfjcZHpDocd7Z0QJYAEx7GoaOQQ1qJZ46kpUJhQ/p+qQYS1uql8Xpbe0/WkxTvA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH7PR11MB5984.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(346002)(366004)(136003)(376002)(396003)(451199018)(8936002)(8676002)(66446008)(66476007)(6916009)(66556008)(64756008)(66946007)(52536014)(4326008)(41300700001)(2906002)(38100700002)(122000001)(5660300002)(4744005)(82960400001)(86362001)(71200400001)(7696005)(478600001)(33656002)(26005)(186003)(9686003)(6506007)(53546011)(55016003)(316002)(76116006)(83380400001)(38070700005)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oQuDOEjo/79FyUP6vU6oIM9j1RBMI/YL3YeZpvd0QpPgIp0MnOCtndasNyRm?= =?us-ascii?Q?GkoM3ev8JW+nTdNWkO/hMYmL4dl1SBo9egKKV0mMjFukNr44WSbxtIjI0Ypi?= =?us-ascii?Q?tGGn6Ryoo40OYzV473EeLfaLabnhsMXMSwQ+K50Oejv/CMbn+gHS16W7Uqw9?= =?us-ascii?Q?3LnUaJYUZuRt271F6dJT7HvL9Up0NNs5+rpgVIC5YrQquZZVSeK2vxGf0R1u?= =?us-ascii?Q?5nWqIf+Ca7gexyxvlfFBQC/bL1z4ozpwDrbcs9ELTjDpvpNZ6SazTJdo2EvV?= =?us-ascii?Q?DhD8wgMzWRGXBXA9YNNCGXDxb/n0AIDSqXXkDryu7h/8W5siOZE3Dy5wER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wc/TgG3KkNiaJSt+oGCPiRrzX+/55QO9JN5qOzG?= =?us-ascii?Q?wb3Cw0QRDTmc8EbQUike/6e67thuRCwaYPIJJ15PFjUrb/uGLFmY1j7Y5QQs?= =?us-ascii?Q?N+cCh0KbdPcaQ6/7LqujB3L0ANBETaxniAZ0E/ryd3fMGTISVmlcVymaTODo?= =?us-ascii?Q?RJKlq8o562ZipQplg5KHZI2C5/8hrydiFeWmrPC9wsuoDFrMifs1hNE87Z1U?= =?us-ascii?Q?PA8JGudhZMLERr+ijboqAwQYGOToV0WchOEL51J/l77lmU/TGZRyFXbCPPJ7?= =?us-ascii?Q?b4Uq6/8y1cZixcHyNxDfCalPfCBjxAUQ945SSzKflpTcagwvHVdA9z05u7L/?= =?us-ascii?Q?SUigAj/VxN6UayZbrljr9Q5YUwWm3NM8mFsLTRUL?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH7PR11MB5984.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f4bf6335-901b-4d31-2a84-08db0ff2d44b X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2023 07:53:02.0786 (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: oWGlN1tBKiE/+wOI3rFU9wpVdgSBIZyHqEzvgUk9JaOigQQpX2HmQP8h0FFGcq8k+cd9/p2ILfZxATh2hsw6ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW5PR11MB5811 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 > -----Original Message----- > From: Thomas Monjalon > Sent: Tuesday, February 14, 2023 7:03 PM > To: Zhang, Ke1X > Cc: Zhang, Qi Z ; Yang, Qiming > ; dev@dpdk.org; Tyler Retzlaff > > Subject: Re: [PATCH v2] net/ice: fix ice dcf control thread crash >=20 > 13/02/2023 08:16, Ke Zhang: > > --- a/lib/eal/windows/include/pthread.h > > +++ b/lib/eal/windows/include/pthread.h > > +static inline void > > +pthread_exit(__rte_unused void *__retval) { } >=20 > Please don't add more shim layer. > There is a new layer rte_thread_* in lib/eal/include/rte_thread.h >=20 Thanks for your comments. Do I need add a function like rte_thread_exit() in in lib/eal/include/rte_t= hread.h? There is no function for supporting pthread_exit.