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 C401BA0C41; Wed, 17 Nov 2021 15:45:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A5C0041226; Wed, 17 Nov 2021 15:45:35 +0100 (CET) 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 81ADF41223 for ; Wed, 17 Nov 2021 15:45:33 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mViKnDW0ENMkVeoRSvF2TndT5uMsX/wzMthAkS1JXvhWt59eD9IjR2hAnF3IN0s3CjmIEGnf7Vqq/pGNuJrWmqELf/s6d4Uu6w8ahWmkgyhzzSmCT9ylhd3QmLB4Y1BDWYv/EKfgnH4l+RSNa2j6mRdiV5rcrUucP7c4HtgGcptZnS/EhD/2dSPQkNR8NCXWRePwtMRssvFOZqES6xEd3E1AbVmEIPmYRJE5ybhCat2PX+N+Rz+cod22vIuKn6TUHuCFW4ONQW97YlqB/kYeUe6buU6Fm+rRnt742ZKH+mc0lHRc5e+cujx3uuV1lnoiTlyJ7r1isKtunajIbApEQA== 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=cAPgHI2/UmRblByxuBkFLCoZb9zPtI6LpYPP/T3KnHA=; b=W4UyjGs+Wmw64u373jI4S7WIq5g4mX3og+7V3pID/hmc7bxaRPn+Rs8nuGqs9yFizaZHubGeqq+aZsTKpS9AXUU3b4BSmtbmy1aR1pgHOaBVhzwbxrrkbClEVES5UUOD3Otxd0NZkKUvtt9vrr6hvqcvb4GmLf7s8aPY6KbVQCkKHEuxdrtLUoiTUvkXyk4bgp52jYenjonwCK+qXDHIrEmdoDb0H2/nXOZNr1O7jzUyF3jqQ/1ieOP2dy1scDpOnvK8xUcXq00ZIPswO7+yXs+3x3mMGrXr3aYVOhx7p24henXHfTyIzly1KEPpk7Ml2aa8j8UAq3snYoiYhYHYcQ== 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=cAPgHI2/UmRblByxuBkFLCoZb9zPtI6LpYPP/T3KnHA=; b=iiMs472rrZlIMoH6ZGSOkIxCJAiRHzvC5IgNq4qyhW/PoofJNNWm54L++a9FOPrdddhGP4vnCmlSEeKMqxLhQg8fk/AgJQe6r27y5uRqbjdBKNOcnPsRrGc3sG5cehPxscBg3nAGqT4ldewuS1KPtbIdG9s6RkXNplpwWO6pqirLMnwW2mmETeLPIdckIl9IQCQ6eXedEgt37xRSd+W26lcTySnsLYhnlPcPNR71SKGue/7TDhiZyNcc/bOZBMm/3DKibnZL406gqbG4IW/QU0ZEg8Mfuzh1vVapl7rL3Ex20ir+QK947yJsFz4vU/zEiiiPGalpqPgjchMzO1evpw== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5152.namprd12.prod.outlook.com (2603:10b6:5:393::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.18; Wed, 17 Nov 2021 14:45:32 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%9]) with mapi id 15.20.4713.019; Wed, 17 Nov 2021 14:45:32 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , Matan Azrad Subject: RE: [PATCH] net/mlx5: fix modify field destination bit offset Thread-Topic: [PATCH] net/mlx5: fix modify field destination bit offset Thread-Index: AQHX26Rfpy7sqyTYRUOp/Nxqxk2qbawHzA5Q Date: Wed, 17 Nov 2021 14:45:32 +0000 Message-ID: References: <20211117111435.13553-1-viacheslavo@nvidia.com> In-Reply-To: <20211117111435.13553-1-viacheslavo@nvidia.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nvidia.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 04335b07-780e-4035-2801-08d9a9d8e838 x-ms-traffictypediagnostic: DM4PR12MB5152: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: nS5WVFzEJdbu/HhnTcB8bF2DxytkamNQISZFCYYntaAVAzT7r3g9/gq9ZflmAU9LmqLKyOGYjoXROcwY1MS1kJXUSMiO239v6GygEmyPbA5k4dB5R8dTSPpGoNO5pK866byYNKSNrk2v3YKGkixeeEkL4EIxbmu0GVXFPhQF7Z5OvDGIJ7gTko/lcSEWCAajRU6mjpDeoQ9v0Lu40aZbedWBRve+oMX18MMRLNVoaEbX3W71V5Opu/O4TQg+28/6G7uGCOYYWuDCIs8oGxPqwqDr/VNIzfXa6YQum4RROf/D/6gw8F/mcyRyRAaeRJgt+C0zvh9jYvXBcavw3A1YsZDVXKIB9phQjkuY3DkePGSEHIlzPPylvLL5n8hww2FyB///3lG5TiY+cDJyyKCIubPbEz5utnt1CgRVwzrKBJu8T+Y2X94uJYSGrLOuev4+aTvLvmPfDf1w6m0RIB6TbLErVS9NbQ+8khJUJp22hid8nvVTHD9wcl9JFIoOQMF1M3q+/7//Snfg7abOsXoGHNYwdQX2937ZLEK0qIE+4XfNc+H96FhnTicIPrwvsRSelt3tOMro62kh66zu3HhCRYfNgCkgo/rXgJX3hRFJNX0GOIE0wMs7AemHXOM1hHNqQAsJiPAIVp4Qv7t982XPRdly0QY70+pz76/jeDZvsew5L7pres9NH5IRIdCxCuLbhOYJRgeJLK6QjGYrKSNXaA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(316002)(4326008)(33656002)(4744005)(83380400001)(110136005)(54906003)(76116006)(55016002)(8936002)(86362001)(66476007)(107886003)(38100700002)(186003)(122000001)(2906002)(64756008)(53546011)(66556008)(66446008)(9686003)(26005)(38070700005)(6506007)(5660300002)(71200400001)(52536014)(7696005)(508600001)(8676002)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HB7b+L6sQ7wYcGKODT9DJEiwKs/o/yw2hsjK2wFa6eRKmoTN1SC+6J7egzhz?= =?us-ascii?Q?fYBU9pHM8GRSPlP7/2Pfw2Q86R8gXsu6XaWdX00m+LZhigVA7++S3pLc91zD?= =?us-ascii?Q?vdzA3tLEjdI34MnkWDwyNsNe1K1KkzMKMAf/2ozNctUPwBKtBhcX7rl1Ze5S?= =?us-ascii?Q?Nh0doFTgV8OvduNB54m7UZozQvQmsDpZVT0hK+X9h08/MouT+0/wkVSkby7J?= =?us-ascii?Q?KrDRDfDjf048EpwJHoVexQfECYKLAroOwxqxlpPUmS0NCPfUwxCxkVLpT5NZ?= =?us-ascii?Q?dh5qeX4MaptfgQ2LcwrMTTAEPzBFDGT0kHRKr/V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hlOP3ap44AOnP/2BmzxJAYmtDfXo8fHk/7RfZZ/pSUdyb?= =?us-ascii?Q?jntzXzfuqfXkRyRS9BczJq7cBuwI6hFpY/BQqh6Yap4ndwS/xWoXLz3Qvycp?= =?us-ascii?Q?dAvuYTT47jpAWSwBnmvT1poAysUkIWI2cYU50qysjkWhQ9ePMU7sId7FyNYt?= =?us-ascii?Q?rIT5MY8j3430gniTqoJl5X0wueL+b8IVUgm9XF40kzxszfKNb3LhI4gZAQBK?= =?us-ascii?Q?hxvxNhNrdgevJNm5r4LJLpVrmrKSrx3z5/y4RxmKE5OVEQJLnqrjpZrXCFv5?= =?us-ascii?Q?xjeKZEq3+f8Exy6Lj3lxWNKg+fWLF3R9s+AIXE3mcX0uNm9DEnfWF6671YpG?= =?us-ascii?Q?jkUTrKE8cx08BCvBEpJx95WtOo7GctvLQS+xPecytk7zV5JZaDv56kP7eO10?= =?us-ascii?Q?dAid4LQlV9zHop+2i2RUMp4=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: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 04335b07-780e-4035-2801-08d9a9d8e838 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Nov 2021 14:45:32.2266 (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: HbCNlXWxjtUkhtXaODD9bJlnjN7dJu5VQ5w51B8oJ0YxCPUfrnvYGqGGHN9BwHcd7gp+EG94+FcapGz8lGV6Vw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5152 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 Hi, > -----Original Message----- > From: Slava Ovsiienko > Sent: Wednesday, November 17, 2021 1:15 PM > To: dev@dpdk.org > Cc: ferruh.yigit@intel.com; Raslan Darawsheh ; Matan > Azrad > Subject: [PATCH] net/mlx5: fix modify field destination bit offset >=20 > If the modify field action requests the field copy/set transaction > from other field, the destination field hardware bit offset was > assigned incorrectly with non-zero byte offset, causing wrong > translations for the fields with sizes larger than 32 bits. >=20 > Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action") >=20 > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh