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 74184A0547; Wed, 29 Sep 2021 17:29:46 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7052410EB; Wed, 29 Sep 2021 17:29:45 +0200 (CEST) Received: from EUR03-DB5-obe.outbound.protection.outlook.com (mail-eopbgr40064.outbound.protection.outlook.com [40.107.4.64]) by mails.dpdk.org (Postfix) with ESMTP id 503AA410EA; Wed, 29 Sep 2021 17:29:44 +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=sO1wK76bChlFgg3xN3f17lWIoQ+zmx+h93K1lJYZ+eg=; b=gRYF1lTNxcglILowgeGhTbj1YPqYNknlMh5CZ+0jsiwi3mofAod0zwGdhObjf+DeQOt3y9KyhHie0tyOdPIi8txXIpSI71lf/4A08WesRKjaKeIxifesOO1SgN8hUNDEdqTf6IOB76NbKl8fKwUGKsHs5wwJn+JTp+DLFI7Avjo= Received: from AM5PR0402CA0018.eurprd04.prod.outlook.com (2603:10a6:203:90::28) by DBBPR08MB4871.eurprd08.prod.outlook.com (2603:10a6:10:da::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4544.15; Wed, 29 Sep 2021 15:29:41 +0000 Received: from AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:90:cafe::ca) by AM5PR0402CA0018.outlook.office365.com (2603:10a6:203:90::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Wed, 29 Sep 2021 15:29:41 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.33.187.114) 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.33.187.114 as permitted sender) receiver=protection.outlook.com; client-ip=63.33.187.114; helo=64aa7808-outbound-2.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-2.mta.getcheckrecipient.com (63.33.187.114) by AM5EUR03FT048.mail.protection.outlook.com (10.152.17.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14 via Frontend Transport; Wed, 29 Sep 2021 15:29:40 +0000 Received: ("Tessian outbound c9f4ff96a6ad:v103"); Wed, 29 Sep 2021 15:29:40 +0000 X-CR-MTA-TID: 64aa7808 Received: from 172efdf80376.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BEA1D492-9E77-43B2-978D-96320B9DFE77.1; Wed, 29 Sep 2021 15:29:29 +0000 Received: from EUR04-DB3-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 172efdf80376.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 Sep 2021 15:29:29 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Uw2qdzDVq0xDKvZjftd6+OOmLYTBKEUWjq5cqmyOtCT+2Grmg3DhXpGRa7qw8gn0rs03cV9pDa38YVbmqQ7foUp9wc2z/r0ki+4v/ow39PEMmkL+1xYWRvyj95ylUUHL0diEuH66eKT5TkZTyCDzQDS8X7Yhv/wx1NwdDWpZbsK6bqfhYqY+NJLCiaqlal69HDNcnB2qMe/8znmo4xD59gRd5JSdcEgQ+rGRHLYFFN34OG7Ia2m/Lb+MeFOo4JcRiaBBvQ4lUGK0yGtKPJ3yod4l+zaBI7s/iU0KIet2uADnRXtI04UYa6EvCFLuH+BrXh6rL2qO4uSPBNYgoNkdrA== 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; bh=sO1wK76bChlFgg3xN3f17lWIoQ+zmx+h93K1lJYZ+eg=; b=Y4Hyjv4O8YRR24Aba2cockw5FJjRGUec0nY8qMjP2TpbRHKx7+a+kgTmlKTbC3lrTxm9N5Byla9CTYncdkuOROkEL+oLs1UOZJ0FprN3Gy1yBjMPCqgGgRXWGIhjShtSJEENbbIGkiAcLDUSyg5jK2U9wOnOM6dUxOXVJ2M30FOWrz7/JlBqjH41+/USZi6SGifb35hNQzjTwK1JbycYcDZqsou/d2PBUc4qu0XsEpLqEdNNISZIVviJwtApsOAYweBmn4vtzE+4Hi1QwmggbstDfkBHFLvhTzCdrCNv6hJ+yT3Gcywzug6VL2jfDJcfDfUOj8H5xDFiMzkoXmiXHg== 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=sO1wK76bChlFgg3xN3f17lWIoQ+zmx+h93K1lJYZ+eg=; b=gRYF1lTNxcglILowgeGhTbj1YPqYNknlMh5CZ+0jsiwi3mofAod0zwGdhObjf+DeQOt3y9KyhHie0tyOdPIi8txXIpSI71lf/4A08WesRKjaKeIxifesOO1SgN8hUNDEdqTf6IOB76NbKl8fKwUGKsHs5wwJn+JTp+DLFI7Avjo= Received: from DBAPR08MB5814.eurprd08.prod.outlook.com (2603:10a6:10:1b1::6) by DBBPR08MB5932.eurprd08.prod.outlook.com (2603:10a6:10:207::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.15; Wed, 29 Sep 2021 15:29:27 +0000 Received: from DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::8187:ccbc:30d:3464]) by DBAPR08MB5814.eurprd08.prod.outlook.com ([fe80::8187:ccbc:30d:3464%6]) with mapi id 15.20.4544.022; Wed, 29 Sep 2021 15:29:27 +0000 From: Honnappa Nagarahalli To: Ferruh Yigit , Ruifeng Wang , "dev@dpdk.org" CC: "beilei.xing@intel.com" , "qi.z.zhang@intel.com" , "bruce.richardson@intel.com" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , "drc@linux.vnet.ibm.com" , "stable@dpdk.org" , nd , "humin29@huawei.com" , nd Thread-Topic: [dpdk-stable] [PATCH v2 2/2] net/i40e: fix risk in Rx descriptor read in scalar path Thread-Index: AQHXtUOCeZ/nduAtNk+u01jvYVH6Zau7Hjlw Date: Wed, 29 Sep 2021 15:29:26 +0000 Message-ID: References: <20210906033201.1789796-1-ruifeng.wang@arm.com> <20210915083339.2424369-1-ruifeng.wang@arm.com> <20210915083339.2424369-3-ruifeng.wang@arm.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: FD8E87ADC24CD6449EA1A23D1FCB852F.0 x-checkrecipientchecked: true Authentication-Results-Original: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 4e09854f-516d-4cdb-0e1e-08d9835df4ae x-ms-traffictypediagnostic: DBBPR08MB5932:|DBBPR08MB4871: 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: vtFbFYYFr5ULaBf5A6cvCXfnWkoSJsFQ8jET6+cyd2pHHSAz7hQ19eH59Zghrdh4zfeSEq7I2E37Y2AcQZ2IeL+zYcPXx8WBNXzOwf0c+Gigbkp72U1ugRGMsK6Un78aRs6mScUwXLkeu5ViQUM2jFp3pWM8gVrZG9kDYEiIUM9gVM1MzkrVIK+LkmxQTjjZIv+L7LJXuatyw5EJFOHPCeulx32iusMcsn1aaboxFPkuyrddPMhw1g8wLkaGFm/fbOQseknsd5KhIRJUhCCEyf6eEhlXhLEaOWG0iYzRIl8va/gyL1ckEXYK4yJ815r7PjBnXuBMqCqB81RUbB+R+kbY94M2ZmIoei5hOBcjrtafrgNfcQfYiTSHUg2EPes13hKM8Tw9g7bsdApW0eiBAD9vv0zXxzys9smWclVaq8Bj6iKyQhSwryA+aQSiiZi1iOwcuxpl8Hp9+sv+ABpp1iqKjKYq4MirBkDlZ5krI+kgvnzd51z0OL2Do6/+hALmaZigKgUFKSEMsVxPkjgvMuPcx8QXv8XRT6T2n9zg63zaBRPQr8OGhD4OOa4dTJ6qNFpaTQgOf6yBnbGcIFBgfXXAfsaTqmZTTzmw6eeVjEdw5yqYyMaoTdCrNBk45lauIHhVUTqLpcYXcDtrOOa/WpC6O1LbcnwULp3DrEEGtVoTfVQqdfFwnH4guIrSb1UBgT1lu+jfZR/vJths01X7WA== 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:(4636009)(366004)(4326008)(33656002)(55016002)(508600001)(8936002)(52536014)(5660300002)(9686003)(7416002)(122000001)(86362001)(8676002)(76116006)(38070700005)(38100700002)(110136005)(54906003)(316002)(26005)(186003)(66476007)(66556008)(64756008)(66446008)(66946007)(7696005)(6506007)(53546011)(83380400001)(71200400001)(2906002); DIR:OUT; SFP:1101; Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB5932 Original-Authentication-Results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e54d8702-0cc0-4645-f54b-08d9835dec59 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: INAog4uz5L4fOy5RlZixDxTZoydegnjFsqQMKbNSt8ko+0pQzvC2SwyUKreDcppN6mll/pCOIw17bnuCd0WQOrDsP/OlyAWSK7HJt3/Vk+jwDMXW8HQUaSyCeHiC2sYt4qjpYL4RNB7jTOJmxmkoPkEjkOkxL+lr81ceUKs89vGDt90lgmmplElDPsBu11Uai0EUoGtTwvNAdDv594XX029qhqwA8Co3G7bpzkCQJUfN322QkJBApw84eh/vYRvM+VwjnGzQQEvbKPv+aF2Z/4A47dS6jvwXOKDj+TNxDR22jcJZ62M5stQd3Oy/eQ4IdFhNS0s2eJ99O1dFdRcH4WiAuljmsRQU+b1rMGkVnCj5GK5zVAjvIyh2XLpRm3wIHO4GU6daSXTksOO7U6yLNtgCZaFie6CFlMfJHDz5UdUFEo3oG+ssaauuFlv6qd6H+xu1tDeNsOiglrIvV/b1S1UqoblDTT/cf5Sa1drga6GOOou+Mx/m1aK0ZLObqJTX1KP8hyW3IYbL+68/0LM0LG4lYc82T9lc/TSy56+/vdq4Vvq7IsKXCf6r2F6CYoiJgdOrMa8UVuvpzeBxOvmy4gRvrB9MDatAuA0W1AVoZcACRMCiC+cbnCRjJuZQbZXhb27CptEY4GLmdtC8RLO2+M1YwYlVdrcnU6DJkniMhe0K14POO+g38qzujBP2+NK09jm6xzw9Zm9BcQ9qlHpnSQ== X-Forefront-Antispam-Report: CIP:63.33.187.114; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-2.mta.getcheckrecipient.com; PTR:ec2-63-33-187-114.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(4636009)(36840700001)(46966006)(70586007)(86362001)(316002)(70206006)(356005)(2906002)(36860700001)(8676002)(54906003)(81166007)(83380400001)(110136005)(55016002)(52536014)(7696005)(9686003)(4326008)(33656002)(53546011)(6506007)(26005)(82310400003)(336012)(5660300002)(8936002)(47076005)(186003)(508600001)(450100002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Sep 2021 15:29:40.9050 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4e09854f-516d-4cdb-0e1e-08d9835df4ae X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.33.187.114]; Helo=[64aa7808-outbound-2.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB4871 Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH v2 2/2] net/i40e: fix risk in Rx descriptor read in scalar path 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 Sender: "dev" PHNuaXA+DQo+IA0KPiBPbiA5LzE1LzIwMjEgOTozMyBBTSwgUnVpZmVuZyBXYW5nIHdyb3RlOg0K PiA+IFJ4IGRlc2NyaXB0b3I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