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 CB6A3A0547 for ; Tue, 30 Mar 2021 09:09:18 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BF673140D89; Tue, 30 Mar 2021 09:09:18 +0200 (CEST) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2044.outbound.protection.outlook.com [40.107.220.44]) by mails.dpdk.org (Postfix) with ESMTP id 26FDC406FF; Tue, 30 Mar 2021 09:09:16 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NPomOonkk48ybSQ6KFTHv9+/vl6tvgletQAtdWLmNVf8NxJg7Qdq6Y8XTAECkk4KzALXYdlpLWuHBic12eDcd2AV+ZB61M0nUHyxmcuS5i0qy/u3fIBgjBuXZ/bTJ2EQ+FyBjNcK+CpbhdtDMVeKqxORPHFsOXETGn+04INeKiV6wiyNAzZBrIFqxVIvZmDU35zi7qH/X720YqeZFyR7akeFC1GyuByqpxJ21MoPA99fLI6Vu7PpoqxDTJgF38f7rl0n1kodgxLANutVeg1Nf/1odDJ5uV4c2wpGUAcUrC1vW3GVR5Oias2Q7tWBulKGEvSvGugJ0rViX7KD4KA8WQ== 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=KlituGSvOTHOAlitQ2/72BGmMe0a8UG4vDb6uTEeopo=; b=Rroef4uESRlzDDrNsSP5JsV4uTOlL/cCiz6U+SP2XHUDeKjpJShnidLAU9/G8xLQqWxH4dDnIpraczdZWubMtfb7vXnwwSGjx5EDWKpKmDlCOBizm3L/BjLt7i49JJL3GJQ82r8EScWmIzljAJPtIWkYllpTW5WXoXnMy02z4ZS4VzLVtP9xQ9SpWVPfy6gzdxXtm4+ylbPm256qKciIkBbjzU9NAM0CFzEYPTtseGwWI50IKaTyIU2LpQvSkG6dCvp+MYuUxzoYpK6f4ZycqtPkrKqaGUtj7RNF/DQhWG15M7F3n2cWpdgA027MIIepc/kjNKRonjZcjnWciINYOQ== 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=KlituGSvOTHOAlitQ2/72BGmMe0a8UG4vDb6uTEeopo=; b=mbsUQDleOF48g2rgFRUT5ALrVA/IkXCTb1dn8rLodlneyDK3OuPOYR6moiRjHzHU1fBkOpOlmH1eNPMbxDhsJ81c2/00XWQwbLbG9eyddxrlMijMXuXgx8H244DktO0Lagnol2nt7W7JdMvpZHW/SsSUsgXL/5T2605sBvFg7in2/8J6dFAUoEhQkRpX2K+36xEYym5O8sqfSgul9V1gNJ/TyVDIn7vvIuORKz1O8UFomOacviDkLWpNxRUj49ydFrX5/rgHAmgFGHlkomcjgfyKNmFgeH5hgmp7ra7PTcU3wplFFNz/5PUwN9kAlS94LkznBdQK5XsXc9bzgUwJMg== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM5PR12MB1226.namprd12.prod.outlook.com (2603:10b6:3:75::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3977.24; Tue, 30 Mar 2021 07:09:14 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258%6]) with mapi id 15.20.3977.033; Tue, 30 Mar 2021 07:09:14 +0000 From: Slava Ovsiienko To: Alexander Kozyrev , "dev@dpdk.org" CC: Raslan Darawsheh , Matan Azrad , Ori Kam , "stable@dpdk.org" Thread-Topic: [PATCH v2 1/6] net/mlx5: check for a field size in modify field action Thread-Index: AQHXIL8MS+9d67bZg0mbp5rKbzvS2qqcJYmg Date: Tue, 30 Mar 2021 07:09:14 +0000 Message-ID: References: <20210324150439.9247-1-akozyrev@nvidia.com> <20210324150439.9247-2-akozyrev@nvidia.com> In-Reply-To: <20210324150439.9247-2-akozyrev@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3a151fda-c9da-441f-d29d-08d8f34ab9ed x-ms-traffictypediagnostic: DM5PR12MB1226: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3826; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ANcGTgWby9VVEK5b5btDCu46JCUuyLHN1y9aL/9F7knZwn/+No4TA2EHsCfj2vhxkWZIN8RgzXavd4O3WRy5EW+DDwtcSYb2KJKqqRIL3QDDeksxitjcIe0jQ9xSL88DUKIDtGXiZabNzHjB81Y6VOv66Rj8wMVklg8Akr4asWYM2dpNd0XtSIXLq6Ayw/cupF3AZwGb3X1RQosWeQJo8onZsyrHzkfQO1BNB/v2mN3RYzUsBI+z+fByol0oTsLhBoZVCV9pwhAYKORt9knU3IZ3sGeCUPQpfoPDhkNg5XdpSehR7ryKGmib6+YY6mSoDBgyOCgzHO4nChGbDUID9kIVdLayIQtZgYqr4wig7fHKxubR4WT1zgyT9gpuWFZ0sNv+X0/uk7hqmsd59uId44oDDl3nkZjG+JhL55tSy/JkxlK+2GwaSjfKTXL6aaSiMnaXSQJIYu1xHyhKorp3NOHY9aqYsBraWkKkHiZnRWkgt9QjkQHL+JFR1d9HSSdQFJCIAec7Stn0yKZwz7uDUvFEUfpU5vGT6u0gze7Mh1Bs1nc3OR5zvd/qiK9MzMjJpwYCzWYof7Y98HvcwZf8/XAyzikdJPwUbS3pIa1eys6MHra3GDIJt+9aoMi/GWVGN5aeb0M5J7sycCLOIIqaxzm0MSD3lfpz7DcNCBOtezU= 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:(4636009)(39860400002)(366004)(376002)(136003)(346002)(396003)(38100700001)(52536014)(83380400001)(5660300002)(4326008)(186003)(8676002)(4744005)(7696005)(8936002)(54906003)(478600001)(86362001)(6506007)(33656002)(66446008)(316002)(71200400001)(450100002)(64756008)(76116006)(55016002)(53546011)(66946007)(9686003)(66476007)(66556008)(2906002)(110136005)(26005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?koorj5CHyk0ZDoUyIj33eQ11orSOTgt/Pk79fxIdufdQXAmkcb3RJdLw593G?= =?us-ascii?Q?y+91c/urgGxmZkKouLw2ArLPzqeGOiRDi6fmGet2ekYNlOG6SK5BVgr28tzD?= =?us-ascii?Q?oQWiHI06/rgr4NVZfrra1pQVhE+MettvYtG/lXynWFlJqENQdGjuCeWvEzIU?= =?us-ascii?Q?ROIHxLOy1inplT9YQQy9/YLjm88wVv8NZr5SlvZ6Te9ux6bCZTXySF/igKMc?= =?us-ascii?Q?wtoEo39BTjn++ZLjgvHShhYfqlpGwBaYTBOdvS1EqSubpIZhk75820/BIwbv?= =?us-ascii?Q?FDyWj7a1ByZ28nIeUe7Eq/ogZ0ftzXMze+Hs5ZPK8BbU+YcCfnSEPyCjhE4n?= =?us-ascii?Q?hTwdntMfmmv13CkXQ49h1SDYRpOC3XsEB8CLfFlPKqaHtKspE/amzuRnvNDT?=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1f2/iqMYYgAThfRR64bC?= =?us-ascii?Q?Ktg=3D?= 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: 3a151fda-c9da-441f-d29d-08d8f34ab9ed X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Mar 2021 07:09:14.3606 (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: epvwnNtSYB2xrLim8Sv19/8t6rIIEhmm8M/wdNyj2oNvE5R88//iIrKAnKro2tbXIhRFPMvYS7QPDAzPPkkIiQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1226 Subject: Re: [dpdk-stable] [PATCH v2 1/6] net/mlx5: check for a field size in modify field action 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" > -----Original Message----- > From: Alexander Kozyrev > Sent: Wednesday, March 24, 2021 17:05 > To: dev@dpdk.org > Cc: Raslan Darawsheh ; Slava Ovsiienko > ; Matan Azrad ; Ori Kam > ; stable@dpdk.org > Subject: [PATCH v2 1/6] net/mlx5: check for a field size in modify field = action >=20 > Add a validation check to make sure that the specified width for > MODIFY_FIELD RTE action is not bigger than a field size. >=20 > Fixes: 641dbe4fb0 ("net/mlx5: support modify field flow action") > Cc: stable@dpdk.org >=20 > Signed-off-by: Alexander Kozyrev Acked-by: Viacheslav Ovsiienko