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 6C0B241DA1; Wed, 1 Mar 2023 00:58:08 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F39AE4114A; Wed, 1 Mar 2023 00:58:07 +0100 (CET) Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2062.outbound.protection.outlook.com [40.107.105.62]) by mails.dpdk.org (Postfix) with ESMTP id 8C7524067B; Wed, 1 Mar 2023 00:58:06 +0100 (CET) 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=RVgLX1X/nVinmXsz/rL7iku6tOVeZfLGmTScGeJbpNo=; b=zZ8NLVAsuiZafGEz6/QTEvu33XFUCfIuD4VVxuS+ZZj7BSPTXT2tevPggaoSLkNcnQuYiwALo1LnpDDcq5BvNUV0ZcNYQdzzhCLEoEsIOxOnzHvZrmFHvoj2uWWH0HcyH/qHqKTDsy6JX8zKuZMKIsa/3pcISCkrZDM+EpUKI4Q= Received: from DU2PR04CA0081.eurprd04.prod.outlook.com (2603:10a6:10:232::26) by AS8PR08MB8444.eurprd08.prod.outlook.com (2603:10a6:20b:566::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Tue, 28 Feb 2023 23:58:03 +0000 Received: from DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:232:cafe::82) by DU2PR04CA0081.outlook.office365.com (2603:10a6:10:232::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17 via Frontend Transport; Tue, 28 Feb 2023 23:58:03 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by DBAEUR03FT014.mail.protection.outlook.com (100.127.143.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.17 via Frontend Transport; Tue, 28 Feb 2023 23:58:03 +0000 Received: ("Tessian outbound 2ba0ed2ebb9f:v135"); Tue, 28 Feb 2023 23:58:03 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: a04af5f73116426f X-CR-MTA-TID: 64aa7808 Received: from b71a1829df8d.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 9EAC5859-EFAF-40FE-817F-97BF49B67B9C.1; Tue, 28 Feb 2023 23:57:54 +0000 Received: from EUR03-DBA-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id b71a1829df8d.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 28 Feb 2023 23:57:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=k02o5XLpbMBmpodljE6o9l3NWDxu7FIGqVi5lGdseCO3m60Cepln/XdQ+/34J3oNy3COk6GAixt+Ugps4nuMQN8MrRo8V0fVw9dU8Rr/mrDhrruhpW73e4uXQrn0rr7mbHVVUplQXCMs/sKWdpDYHWJqq6LXY5co49hrNs/VHc2cKdTxNMrVihMkAvRETDmY9VZwDjXzbQ9WTuQBl1gGAQwWQnQ4/W6rH5zhUuVQvuJhF4h1tIP8Nel9fVACThCKaUBiuA8FP3tDaHhposOWrsIDc5pS7PP1W6nmCdmuLf1gCoZmguM0+sZjQ97QvYpL+OYMOeb7hwAc6SqTKp/kow== 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=RVgLX1X/nVinmXsz/rL7iku6tOVeZfLGmTScGeJbpNo=; b=UDs2EGDeuno5uIGjaeuXIgq3ENRGbqn5tGiHFafhKwfk6ljof/jhWwrkptE5QTwSRMleCTNkD+zhzUNWvCgiBHC/UFX4cWOLZR6RvnYPsPKBrjX7WIfX1OQaJuCXLWeUZWvuOmsdMNHrIwwAYsJVyqN9kt0/5hy3CwJJU/Akwh2eRpVG/BYQhV9+xZtwb3ilu6vcXy5LL1hNj89jAd6tla86fKBGPg7EL1KSL8nd7scspcsoyuW6N1310fapEYi4gGIwvx1y1IuJhmevixrOjRTeTc8NfsptkBPufimOjmAoA5Xxmnm9yuLKi0nmj/FZeAwcBXRz926sf0xVyZxzqg== 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=RVgLX1X/nVinmXsz/rL7iku6tOVeZfLGmTScGeJbpNo=; b=zZ8NLVAsuiZafGEz6/QTEvu33XFUCfIuD4VVxuS+ZZj7BSPTXT2tevPggaoSLkNcnQuYiwALo1LnpDDcq5BvNUV0ZcNYQdzzhCLEoEsIOxOnzHvZrmFHvoj2uWWH0HcyH/qHqKTDsy6JX8zKuZMKIsa/3pcISCkrZDM+EpUKI4Q= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DB9PR08MB6396.eurprd08.prod.outlook.com (2603:10a6:10:23e::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.29; Tue, 28 Feb 2023 23:57:50 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::910e:e35f:b1eb:ae9]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::910e:e35f:b1eb:ae9%4]) with mapi id 15.20.6134.030; Tue, 28 Feb 2023 23:57:50 +0000 From: Honnappa Nagarahalli To: Konstantin Ananyev , Fengchengwen , Stephen Hemminger , Ruifeng Wang , "Ajit Khaparde (ajit.khaparde@broadcom.com)" CC: Ashok Kaladi , "jerinj@marvell.com" , "thomas@monjalon.net" , "dev@dpdk.org" , "s.v.naga.harish.k@intel.com" , "erik.g.carrillo@intel.com" , "abhinandan.gujjar@intel.com" , "stable@dpdk.org" , nd , nd Subject: RE: [PATCH 2/2] ethdev: fix race condition in fast-path ops setup Thread-Topic: [PATCH 2/2] ethdev: fix race condition in fast-path ops setup Thread-Index: AQHZRPHSKAOhGJtmykGYr/7I8+jOva7XZ1EAgAF+GTCAALzPgIAAh9OAgACgagCAAQUYsIAAZrmAgABWEgCACH2McA== Date: Tue, 28 Feb 2023 23:57:50 +0000 Message-ID: References: <20230220060839.1267349-1-ashok.k.kaladi@intel.com> <20230220060839.1267349-2-ashok.k.kaladi@intel.com> <4786db4b-63dc-5329-522d-77eb58d4cff4@huawei.com> <20230221090053.14d653bf@hermes.local> <3cd97a71-b32f-b33b-dce1-46fabad182f6@huawei.com> <54fbf4e55cd44477b1e956f98a7a3c50@huawei.com> In-Reply-To: <54fbf4e55cd44477b1e956f98a7a3c50@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: A8405DFDFEC4A34CB6018F75C3B952A6.0 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: DBAPR08MB5814:EE_|DB9PR08MB6396:EE_|DBAEUR03FT014:EE_|AS8PR08MB8444:EE_ X-MS-Office365-Filtering-Correlation-Id: a4c3bb0e-b654-4b77-908d-08db19e7a127 x-ld-processed: f34e5979-57d9-4aaa-ad4d-b122a662184d,ExtAddr x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: nKDxy2h4KoBdr04UCOWkP2mbDQiXh3fNx22USMiuGyWvtNabfn8BBEqq6L6ognssIQioirfHGxX60buTTlu92xJFIjtxZsnVLu88TgNVeac1LY5cVe7Dbz+mlMYZdaOrOJxsycQO2z+n0smVsUXAJYOC2CUfzOvZcBfp2HqfF9Yl3MAjbPAzdUk3085dKNrxjdZFk5NeRDBHylfTuOQ9SZ+s6+JSp6Z4pQhr+rs436nHzyuB1fNGmuRZ2V7txEugnFrLPdE2dH3KdNjwX86y7hOF6LVlug3a4Y82jW91kHeBXEfL7VZCL9SvYLNA5f9peMFpq1zYCrqXL0wOazpolkTiEShfzWTI8UHUBCPHBauJ+5aGW0MRHWJn056CXEthyfuf6KGPa8hgbprGBAfasDsN5stqerSC+naUXfKTyEe5U9esXo3uXZZaujdSKAeSo4pVvQQnPNl5t7OMzY8Z3AY7v2E3bKTr+S5Ik+ble9pdorQNC3J1NYpt/1OmlEx33YidH0IA6GDTGa4L4P7CYYuEoGx3cz7FBVVeVfFT/YH0IDAiucXUHkw3caUsa+z3yvNZ3icC23I83gaa1dVj0EjNeHbGQplINmS+28+V5VLnyjiOHgtrPJUeirHY6HQWwGzxS+zJ5ZoM5dDaDM/uyjPr+9WmopQr/Aa5N2dmMfHcUYOAkE1avUpW3FGE5E0st8Y1OETsoX+tgdUv+ZdeJw== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DBAPR08MB5814.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230025)(4636009)(346002)(376002)(396003)(136003)(366004)(39860400002)(451199018)(86362001)(33656002)(316002)(110136005)(54906003)(2906002)(8676002)(5660300002)(9686003)(186003)(76116006)(64756008)(30864003)(66556008)(4326008)(38070700005)(66946007)(7416002)(41300700001)(6506007)(53546011)(478600001)(8936002)(26005)(7696005)(71200400001)(55016003)(66446008)(38100700002)(66476007)(52536014)(83380400001)(122000001); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6396 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 71a766b3-901a-4703-483e-08db19e7995a X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: kBlExyBFFzCTRnNDJuuKqM1zSbVsLd/77+MFTWpljZgwm0ydbszNXe7qYCuXmY+2ADrIiTi1zEC4N0ggXoOfMGp20jbga491Ba8kxOTFaOCY4BMH1EOo1533r/9IXYkrLt2sZCIjS8SbUvhP/gmuM1QL+pqYE0jdt/VQbXPLSIgRZdHBePfqGlH3sMLB4fZnBO7jBvhdSgUBpcuM/lXDaGeXLZ0PnPtbHwtnyYBruNLLT0wSmZG5cl2BgCSE3hEv4rYqAux4np7cOZ5w/rqfZ2vPIdUq7nk00naHgbo/j22eWgZpwSznt0uIqrjKFVB2OYNJk7Nw4rKH5RSfGMiZN/TgIdLfUx6m+bZ+E3XEQoB+Z8PsvqSD5umdMA7/TwBbdEnqni10l0L1Nbfk7PJR9Y64yn0WhzZyp+dnp3PyddZZ4JhTqh9BO/Mc/Oh41cuIcL628uNTfPB9gOeA6zWH5n1o6LYkQTp1PFQkqwKcBaIeejkkiqCaFaQsoui/6/CFsDfNBNRGThGnGAD5+2ICZE+XMJDJrnwOnhbJIExRwS4+b1TzjPYejlDzeiUHyeik6Q3faIq0FkjBxGJXRkCT7WoGMky9JWuu/3zjo+bDOGrq5pzG1FmHavClWVCzLzbQRsnwBbpEeV/2FwHP1pNd6Xrm77ll0umYwn2u5FPbu4ryRw08d+Pf4W4kvh42sYrHkCAaQPeDpZqQSakTCcMSvQ== 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:(13230025)(4636009)(376002)(39860400002)(136003)(396003)(346002)(451199018)(46966006)(40470700004)(36840700001)(8936002)(5660300002)(30864003)(52536014)(450100002)(6506007)(82310400005)(36860700001)(53546011)(81166007)(186003)(336012)(82740400003)(83380400001)(47076005)(26005)(9686003)(86362001)(478600001)(110136005)(55016003)(54906003)(8676002)(40460700003)(41300700001)(4326008)(70586007)(70206006)(40480700001)(356005)(7696005)(316002)(33656002)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Feb 2023 23:58:03.4765 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a4c3bb0e-b654-4b77-908d-08db19e7a127 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: DBAEUR03FT014.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB8444 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogS29uc3RhbnRpbiBBbmFu eWV2IDxrb25zdGFudGluLmFuYW55ZXZAaHVhd2VpLmNvbT4NCj4gU2VudDogVGh1cnNkYXksIEZl YnJ1YXJ5IDIzLCAyMDIzIDc6MzEgQU0NCj4gVG86IEZlbmdjaGVuZ3dlbiA8ZmVuZ2NoZW5nd2Vu QGh1YXdlaS5jb20+OyBIb25uYXBwYSBOYWdhcmFoYWxsaQ0KPiA8SG9ubmFwcGEuTmFnYXJhaGFs bGlAYXJtLmNvbT47IFN0ZXBoZW4gSGVtbWluZ2VyDQo+IDxzdGVwaGVuQG5ldHdvcmtwbHVtYmVy Lm9yZz47IFJ1aWZlbmcgV2FuZyA8UnVpZmVuZy5XYW5nQGFybS5jb20+Ow0KPiBBaml0IEtoYXBh cmRlIChhaml0LmtoYXBhcmRlQGJyb2FkY29tLmNvbSkNCj4gPGFqaXQua2hhcGFyZGVAYnJvYWRj b20uY29tPg0KPiBDYzogQXNob2sgS2FsYWRpIDxhc2hvay5rLmthbGFkaUBpbnRlbC5jb20+OyBq ZXJpbmpAbWFydmVsbC5jb207DQo+IHRob21hc0Btb25qYWxvbi5uZXQ7IGRldkBkcGRrLm9yZzsg cy52Lm5hZ2EuaGFyaXNoLmtAaW50ZWwuY29tOw0KPiBlcmlrLmcuY2FycmlsbG9AaW50ZWwuY29t OyBhYmhpbmFuZGFuLmd1amphckBpbnRlbC5jb207IHN0YWJsZUBkcGRrLm9yZzsgb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