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 130F8A0A0A for ; Tue, 18 May 2021 13:32:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ED3AA410FF; Tue, 18 May 2021 13:32:46 +0200 (CEST) Received: from NAM04-DM6-obe.outbound.protection.outlook.com (mail-dm6nam08on2045.outbound.protection.outlook.com [40.107.102.45]) by mails.dpdk.org (Postfix) with ESMTP id AB2C840041; Tue, 18 May 2021 13:32:44 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YFYsBUi/66AWa5ZCmy6PTyDsjqn3/O0kM0UUb87nBFJVbHlzPgfh5IVt+8OwRc51Wu72shELz586H1oIXEMRfXKZqVotxhgc0ridZ3DgLEAhF+VxmqSBWHD9oxl55IZLLx7rkUZ27FTarUCcX2YNuDKae/idToA8ZhZ0GbsCZ788dQmEvizMw+V1kxbI8IsWtNnvlNKjBRq3gd5rt+tGlP3DKiSVjEhIjnm8FBS77xt0BxQ0OVN93RLtPyfOcsD8ryrcYkXR5xaaL9a7OPOnWluwkcZsrA7pTRUMCglOIYkCqdXxjy7CgcsxwpjajC/9jvd+a77O9BmIWYT3ZVukrg== 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=mzuI8XtYjnay89DuF9Tw1ub0TEq6B5YGYeX/etQhB3Y=; b=d5Ptv2wZ3F2Mq11G1XfSDOqmWL3kSqc1BLHzvwck61Cjt2heiWPIBrveXzWf35D87jtouptuFyqH5y1BuGatanxt02eJSc4EfFm4X/U9wn4YPDuyg4HL1D4y/+554WI6idbsOiiMno+2TqSH3bzM7ajcu02O13Iqj6FJyn9cH15jTp3aMVa7F7n8oju4lzq/1Gyt3MvLf5i4E4iSLiDMxriQgG/KAfFrZMq7mJkJtxxDeR81xqsi5sv7Ajh06WHDbZwjnCNuBXbjRn5Sp+ekYLoI12tNpbinKMYtNaqDqg6dlHHO6zdCVbfVX/AuSvKJqSmmhpeiWXfDO0NC8c41KQ== 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=mzuI8XtYjnay89DuF9Tw1ub0TEq6B5YGYeX/etQhB3Y=; b=HXhQRwUJe05+7FWhml9T9+uSVL/C54HvtDW5hhtVSpnrsWd4sJQLbV8CU/0WZ9b1awaI13XfHDJfUIrqGeDDgrOGLu5G/VxHU5plT8pq41Q+Vn7FgPQT5g68IbN7bI2WLTJDohbGPnH6chbQCJtATgEFln6BACOGvu09SsjjNaGEfCvmDjphuqJCWhJwCfUiX/+pOqTzMb+BAyHSFBzGQmGPxbRwW/J4hzF3/ybTKkM7zdnucPUTmK266U07xlFtRglQ+LQxEq9cHiPMM2DMKyf+LbcZW4D1gdW/fxcl2Pv67BrEl7P+tzhfcBZxMqrQ/5jI28RummqOLathknig9A== Received: from DM5PR12MB2406.namprd12.prod.outlook.com (2603:10b6:4:b7::23) by DM5PR12MB1740.namprd12.prod.outlook.com (2603:10b6:3:10f::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 11:32:43 +0000 Received: from DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::255f:f1d2:c01a:396b]) by DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::255f:f1d2:c01a:396b%7]) with mapi id 15.20.4129.032; Tue, 18 May 2021 11:32:43 +0000 From: Asaf Penso To: NBU-Contact-Thomas Monjalon , Alexander Kozyrev , Raslan Darawsheh CC: "dev@dpdk.org" , "stable@dpdk.org" , Raslan Darawsheh , Matan Azrad , Slava Ovsiienko Thread-Topic: [dpdk-dev] [PATCH] net/mlx5: check meta register width for modify field Thread-Index: AQHXS8iY5OK1dtmLT0Sl9S/FmixtMaro/PgAgAAeBDs= Date: Tue, 18 May 2021 11:32:43 +0000 Message-ID: References: <20210513195458.258410-1-akozyrev@nvidia.com> , <2199211.lUFL8MgVHS@thomas> In-Reply-To: <2199211.lUFL8MgVHS@thomas> Accept-Language: en-US Content-Language: en-US X-Mentions: rasland@nvidia.com X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [87.71.141.78] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 194e1e30-8436-4172-2136-08d919f0a6fa x-ms-traffictypediagnostic: DM5PR12MB1740: 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:8273; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: D1XmzYTF0XtY+OqgOCtqRHkmO0D4NgUTk0dqN//fE9y0tgcTct6J1Q1XrmaaID4eckVGHIVXkLvUa5VYzJ++51DCLIeGJAZ/OVCbAvBJlZC1zxdDWF7XhL1U0XSn6VDn7M3o5dPOww/hqTj409ZJkQDJwDqQxVIvs5xLgnhFXRpeoMt235ETI0BcmLt1rRnFooBZg+v2m6HqqCgsnHxlesv86KpZizkvC18zovs5PZ2hmaFGljzD3p9QPP/wzDe0qaK6yBT78EVShRRUWajuyuJ4ujyTeD3OvgnCHMadHpU4AwrWdYHKe8wxIWKWWDDPAx1/XAxNFM8GOVmRdRnWdDmPoCNgX0Mk7R3Rc8l84xNAvD3YUQQMmqag2QLm4m6OoK2lPx68gXPRh1ZW4PVH8DRfWoFpr8yrzE2e4sS+jggheM1eejWB8/dNRE1Kdqvz2rSH2b4dstPeDQDGvp6ajocXIyd7/UAy3choFTJMiqCOwZXFJ9z0nT0Wmy9SLXj89Yx8P8/JJn5P2qi50j6+XTNa/Z5V9pOBuNzFZ5AeYkUz8BYhogJ/NXQlgZx4Ko7HV6tcpY67h3snS6LNSJd+9lpQwM6JKMR4ZhWWJw8exUk= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB2406.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(396003)(136003)(39860400002)(346002)(110136005)(52536014)(8936002)(186003)(7696005)(107886003)(66556008)(122000001)(316002)(2906002)(55016002)(4326008)(38100700002)(478600001)(53546011)(71200400001)(86362001)(9686003)(6636002)(66446008)(54906003)(76116006)(8676002)(5660300002)(33656002)(6506007)(91956017)(64756008)(26005)(66946007)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?LcGFpseGfTzZeyxyd8nVs3phkoFTTUMxl4JyuvpXrNt7PMXlxU9h07VMzr0O?= =?us-ascii?Q?D02bcqPQT6pAiYFiVgoALprjPlZKcDvGONkjv08OiMpDEe7AR4YK5YJwaot+?= =?us-ascii?Q?YCZpm1BCuFSwxQpLb8+s7bYPnoIJY8akyOGQLSkibqGiYLIeWsG8OEDPJi8p?= =?us-ascii?Q?kaerL+HIid0e2u5TnxpDTvavjhIlis8U8QtRzd9+DaealDCQ9AeilHz/1Bev?= =?us-ascii?Q?JTJHL/oz7yu3I1WcWctFhlDc4SBfZZXtxDqF5o83GbAIvVsd9eU3LGHLuT8x?= =?us-ascii?Q?m15IKPdBMl7eU6lOv0M0TPkcUC1pHSdexnO+s9OcDOkn+Kzl9swOTdF160HD?= =?us-ascii?Q?HrYQwIw7Aiov32/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= =?us-ascii?Q?b+J9Gv6m68+38SwBaTm7LzvsjZXbOW8iaD8POZObSewlmJQB7H8inC0ee4Lo?= =?us-ascii?Q?D5ILAByUaBlrw3aoQddAlVqwzeUVtoTCkzSogVy9Orclbw=3D=3D?= MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB2406.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 194e1e30-8436-4172-2136-08d919f0a6fa X-MS-Exchange-CrossTenant-originalarrivaltime: 18 May 2021 11:32:43.2102 (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: CITUXaMTT7OkICDEqPBMrp1w//CUAOAeg+Lviut7Ba84S6OwCfFA419gVSrrojR/7CK7Lx0X+Q9V56tzO2c+8g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1740 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] net/mlx5: check meta register width for modify field 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" I didn't plan to have it in this release since it's not critical and I'm af= raid of such changes... I didn't mention this in the status mail today. @Raslan Darawsheh can we check tomorrow regressi= on result? If not good we'll need to revert it. Regards, Asaf Penso ________________________________ From: Thomas Monjalon Sent: Tuesday, May 18, 2021 12:43:34 PM To: Alexander Kozyrev Cc: dev@dpdk.org ; stable@dpdk.org ; Raslan = Darawsheh ; Matan Azrad ; Slava Ovsii= enko ; Asaf Penso Subject: Re: [dpdk-dev] [PATCH] net/mlx5: check meta register width for mod= ify field > > The modify_field Flow API assumes that the META item is 32 bits wide. > > But the C Register that is used for Meta item can be 16 or 32 bits wide > > depending on kernel and firmware configurations. > > Take this into consideration and use the appropriate META width. > > > > Fixes: 641dbe4fb0 ("net/mlx5: support modify field flow action") > > Cc: stable@dpdk.org > > > > Signed-off-by: Alexander Kozyrev > Acked-by: Viacheslav Ovsiienko Applied in next-net-mlx, thanks.