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 929A5A0C3F for ; Wed, 30 Jun 2021 09:44:30 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 84BEE4123D; Wed, 30 Jun 2021 09:44:30 +0200 (CEST) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2067.outbound.protection.outlook.com [40.107.244.67]) by mails.dpdk.org (Postfix) with ESMTP id 0599240040; Wed, 30 Jun 2021 09:44:28 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EFP/7FhxRWHnVyRvpTq924Z0IMCiioJgphIedp5TSeRmhy/peXvqXBdyBjkA/C9PAMXFEI4ftULWrnENqJeMKgmJNcI+CJeBvW9aWMbFqU5TSNCBw7EYXFtNwySvPBcciU7xm6xfSlrzoGVyYmrd9RDcIlfofFCtjhytvY9AwryLlDxGg9WRa2T76VBdcA/JuzD7Rn3A0fGJazusbWTxR3OCWthF56Wd+Hwn9dO02Tv8ep66YSSRh7WoCbK3y7FapPepuIAX0nkuliykJPr4rqRRmCT3VxgB2Fj7+mJBYQwagAiR92oUn1afQCb9zHQHsIT5/vGB98Do9GNxRxhmOA== 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=JA+0Rk1oMYe+sDYbeNQudY2dWcYTjXJzGego+isnkbM=; b=LCtDIQfmKglSE420Q1LjqZYqWTEAHO0t8faISq25+YY42m4ZbEPKck5thhBi8Td2EFIfO2KogPWLCdBMSIcwGHyGITOQhPiLgFv7NeNvz6C6JlNBjzhm09uJ9fk7I7Rj/Y5G3MsJAm5EjJsW3NU8KY+AF72xlFrcr0ZJ6q3VGdp5Z6eFEpzNJM3JeV5r+clkQbzJuMe9fWHfwUnsz6rOzj0owyNl4l0TjfJA0hQI/Y0bgZZDjMzuBoyMFfIryK6RKKrKDTvLbXJ4oNmtA4bH66+nKU6YEI9ewDQzbbBh5Dr9hU365L2Tvq6r2bMfBn/KolBdUqEM1M8+N9VF6HxUhw== 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=JA+0Rk1oMYe+sDYbeNQudY2dWcYTjXJzGego+isnkbM=; b=YuG3wAEij9FyLhWKz0ZW0KHQ6Lx5wpQOOvcQOyR09x7hHUdlNj17zXhohr1gWvVdYWrJVgZBvP6VCu3NS2YBeYK4bSOzLyGhK3qqiVVVnFNbtZh6zDqcF6r/rw2ar7E4tGr4UYNs1qiFfR7aOxbYfNyDtsk/0MK6bOTP2+BhxrYlqnZp/Xt2bFNW8jMyFDaQxhJc0LF66fZ90LIRPwzrFi7XDtoDol7wtDH9n66H5kIhDPEJDccKQFmdKnt5cmPYfPzSpq2vVqlddoswpdSBnrMS0v0h2+IoVPZMuY3FR7QaSp+W4myv7ZE4xgSH3LfN0ynejGCJbw40+du+JTERIA== Received: from DM4PR12MB5054.namprd12.prod.outlook.com (2603:10b6:5:389::24) by DM8PR12MB5493.namprd12.prod.outlook.com (2603:10b6:8:3d::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4264.19; Wed, 30 Jun 2021 07:44:25 +0000 Received: from DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50]) by DM4PR12MB5054.namprd12.prod.outlook.com ([fe80::ec20:feb5:66f:ad50%8]) with mapi id 15.20.4264.027; Wed, 30 Jun 2021 07:44:25 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Slava Ovsiienko , Matan Azrad , Ori Kam , NBU-Contact-Thomas Monjalon , Shahaf Shuler , Alexander Kozyrev CC: "dev@dpdk.org" , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix the modify field action flag checking Thread-Index: AQHXbAyY1a7+5ljWt0auIYYtyitg8KssL08w Date: Wed, 30 Jun 2021 07:44:25 +0000 Message-ID: References: <20210628105828.14850-1-jiaweiw@nvidia.com> In-Reply-To: <20210628105828.14850-1-jiaweiw@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [188.161.229.97] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6f60112a-0e9f-493c-9358-08d93b9ae214 x-ms-traffictypediagnostic: DM8PR12MB5493: x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 8dkYFESKQT4f3Ce0w9XYGWVd9SE7GBlYdPC/Nyczyv7x17K0tsYuGrQFaf3HNkF0qhX/qNMvxqS74ZxD+M4sbrWK/Bep9/zMJZql3spd2PyDVG2G7Tt6iAU18plU2w38P8+um6ueAxBopejm+Mx0bRAffXUgxPXrikvVFkTJh2kZdbi89zTmyPeusm0DiuoAlHsXvR8+oqvreKGRU+LCBBZhnue/Qg5KtV88vBKU2U139u9rkJ/q4Xrg8oPvAsc7aRz9aB/p3Zh7NsD16yOKTEZogQ0aDEXu/1fPYSa8WyJzVIoFeR9XT/VHI9U60U2PNOFi8lMJlvQG2ijNkuBN4nNFPPDkoT4FEjDrPf4CMb+ZZiwFN4LQoVHscN41alG4+HdWglxYsONNeSJrhrZeu0DJ6mLqUnGj5iZBercVL8GKphjgqTYKZB7T1+fV/lsCKiRAVHaRBbIQIIHcjXigOgO1OZuezEtxhwHpnNrFgtFyQOrPPH5uKkXZ55KPH0RkbNJV7JE3TRhyp/lBlwog97QmznotPO8S/Q74doSUlVGaCDqEgwZNUSy8Duq2mMY8CKHKswU4TwdF9nebtCbIl1p8PShR9iKMLXwSAyXhF/KQYkDCuEc3mhQyseZF1BTJtlOc9DUq2O2KSLZ0tWnyCQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5054.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(346002)(39860400002)(376002)(186003)(86362001)(122000001)(478600001)(26005)(38100700002)(9686003)(71200400001)(5660300002)(7696005)(33656002)(55016002)(6506007)(53546011)(110136005)(316002)(54906003)(83380400001)(66476007)(66556008)(8936002)(2906002)(4744005)(52536014)(4326008)(66946007)(64756008)(66446008)(6636002)(8676002)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?xU6kJYrrNv1tW3SB+unDTkkB1BYpifi0CXXuDkiV73pTAdRasyZDcDmuJaQj?= =?us-ascii?Q?UJsUe4rqPBpo78Fcr6uAaOIu4EOiLf/dpa8Bh4SEbqSvZJKFae3yzY82QsnO?= =?us-ascii?Q?APHfATjxaqHky5MUDgN0omqh1zT+WLP8Sy1KFhi3aUh64S42au9u48fmvjQn?= =?us-ascii?Q?6LQmQDptD7FCwNGXdsyV6yLjmP3lujWIQ1WCaiZuN8plhJmeQDmsnXr7j+Zr?= =?us-ascii?Q?aK7MUTHRN0CTMMhjRJUUXoTEibZdxe9RXbJjPLPlD9JEE3daDWmWwhc8t8+d?= =?us-ascii?Q?8uQ/MFHLn5VqNUv3G2wIt+U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-ascii?Q?qJEXZl/tn8CaafemHSc8zcdOD3FYF4eyl+DmKNvW6HKogm4BMAt/mdWNxliZ?= =?us-ascii?Q?EFTcCV9fFgplFMeeg7uzSTZYaKB0GVKxOy38VusZU0T/TMyexQlffY97dyS4?= =?us-ascii?Q?/QP8HZJmvy6qwNCObPOyPCON?= 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: DM4PR12MB5054.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6f60112a-0e9f-493c-9358-08d93b9ae214 X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2021 07:44:25.2074 (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: WlJ/B6qp2IMZ+kmY7XtAi3mJ0ony3uit7h6uKqvMOT2pvwsqUfKE4XIXGlsoWyHkX90eBgmMyHuoM/BiUJdWww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM8PR12MB5493 Subject: Re: [dpdk-stable] [PATCH] net/mlx5: fix the modify field action flag checking 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 Sender: "stable" Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang > Sent: Monday, June 28, 2021 1:58 PM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam ; NBU-Contact-Thomas > Monjalon ; Shahaf Shuler ; > Alexander Kozyrev > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the modify field action flag checking >=20 > The introduced MODIFY_FIELD action was used to manipulate > the packet header field through copy or set operations. >=20 > These modify header actions should be counted as one action > in low level, the current code used wrong actions flags > checking for modify field action. >=20 > This patch update the action flags checking into the correct > MODIFY_HDR_ACTIONS set. >=20 > Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiawei Wang > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh