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 B413DA034F; Mon, 6 Dec 2021 09:56:30 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9EBA44013F; Mon, 6 Dec 2021 09:56:30 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2077.outbound.protection.outlook.com [40.107.220.77]) by mails.dpdk.org (Postfix) with ESMTP id 958E840040 for ; Mon, 6 Dec 2021 09:56:29 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UJhcPD/zS3/M0mL6A2JpdVmdHlTEzEEpV3KzLAnV0HZ/zDiOssxVT5iogh6lo1Ko5Sk8DXBqxcKNvdIHTnal7HVD+w2AtVXVFYMIbndCrSqvobfrKpVAUKMxQv5B0B79umCpJ98RE77zsariFSExISfC35cqh1VGEWzb2Tes9yKp/FzMu0o70cKDpRc3NxUahdyMlKM0bKT4FcX6UaOhKyfMtUhhHzM2uZOqYHdu/0I+B+ybD4WcKCdvebZwi6xj1w6o8hafUUiyyihETkPda2T3XU0GPTRSQmDhBaRhtmm4yfMH1fyyxdK80RMWWHz/vrThVJ3Ykn44F4lQrJUPYQ== 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=0bWcH0qWUyX2dsDr+U7NIDdJ0qkKTTY1KKPMMWSHWDg=; b=eV49y/UNNJzNFazwPVRSUYy6vIBGAmQdHyYvgfuMUMHLCgguTo0Z6L8v0tIzk+kX6N4/sQOFE8iQTWm2pruVRNn3EaNR7ef6iJ2WBnPUJwEKTrHTJYzraKINTULPU2sDZzhbF8yQSJLWadkySwGq2VD4WJVijvDl9OsADR4Tb6C7svtFqJVWBK97dz0S14UVjFlVMVeKgP1bT1mGmCR4f+5PNhUJF8/bNBH5cNxZyQfQNHnr5ZgVQQNgWtCHxPLxoWZlSbSgvtHV/hU738jCh63aAkqizepCobVTk7HaRiQTig0O2tJTRneMD9PrvZ01W53RDVChY6WXw4oRbBRFPw== 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=0bWcH0qWUyX2dsDr+U7NIDdJ0qkKTTY1KKPMMWSHWDg=; b=R81DHrmqcvxuSL1vuao4ZIarIm8zgjqVk1nPMlQOeW0CbrHh4lY1hFZbL0/AVMn/QtShWlge2ci3J3BJNfoIANnk7c34TLIpoq4mhXFsiuNJtBn93CnthvvlMIuPtlU4eZhFFpBGN2/AhuW6B7388Hia5s6pUndg0Tk5Qd2KxpHwE5mVtOYWapH83yF9QGqw7qRm9cXF2A3aisAFP1DgC6BiLGDnEUqNjkVJTsMIVK8DkbByCqeMkYAXpoNHx8Dl37RnEv5MsEQcQ1w9zKkD79gK6AlkP5GBUU9Hcw7U8pJL23tbBBka3WTfsYVx5OxziHL/ciA77qNWGOpzv0PxqA== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM4PR12MB5279.namprd12.prod.outlook.com (2603:10b6:5:39f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4755.21; Mon, 6 Dec 2021 08:56:28 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::432:87c5:d1bb:777c]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::432:87c5:d1bb:777c%5]) with mapi id 15.20.4755.022; Mon, 6 Dec 2021 08:56:28 +0000 From: Raslan Darawsheh To: Slava Ovsiienko , "dev@dpdk.org" CC: "ferruh.yigit@intel.com" , "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Matan Azrad Subject: RE: [PATCH v2] net/mlx5: fix modify field MAC address offset Thread-Topic: [PATCH v2] net/mlx5: fix modify field MAC address offset Thread-Index: AQHX4sbrgFghadOjqUeZ5HNbu1RgY6wlOJzA Date: Mon, 6 Dec 2021 08:56:28 +0000 Message-ID: References: <20211126115113.11684-1-viacheslavo@nvidia.com> <20211126130945.14467-1-viacheslavo@nvidia.com> In-Reply-To: <20211126130945.14467-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: 189ce23f-d676-4379-3aa8-08d9b8964a7d x-ms-traffictypediagnostic: DM4PR12MB5279:EE_ x-ld-processed: 43083d15-7273-40c1-b7db-39efd9ccc17a,ExtAddr x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: /MM6/fH9rdu6kbYTHgT8CxYUMuKUiLe9UHQ+VhDxik0uhBIk6L1bkyLCVwTs5pfwhKIcq8NaGP81xMSVimpear7YQKk9OM2Ge4Hs6lu3ask6DhffprRTHjYri0KOzkAlC4F0o4foIWvOf+KFjZhauGHAfZbvO7zPruQOp4Ymy5SzBWgXV2ek5RdkE9Q0ktwe8odQW32jgtRV9BBKggfHL70tpjiy/2jitJ+F9wQSQfLGLX1PCsZjyOQKm0F3PEu8JQvUtwAIim1KUQO7T0jmZG/5Zcj3pknSxhgCz6zJ8SkuJvi+XTVqNDNakuzr2sIYG5ddNXoje50KYZULeSDcXy+CWOZvzvB61QQqKYMmWNk0neDBdtiGlaes+xX0jfUjiEub05wYlHn2xacdQvi2FJb9HCFZLMQ7HPornLymRtBsZlGUzbAFUmDVxwNBNPmJA0b0qAc6IsYVAnoD6/Fk7NOWb4m1+RPC1VBqJfAk5/v0mwGL5o1Jpt9nOVKSU9YNhFZOEQgZWjy6vgsWa9VA39U1VMUHVaOZGBGsddah84Q71AxiM714ybTAqo6HmIlsMZljdUSpwoMEyXXbP7zVWeoQgSX632p5dj4dIPJ7/EAmg7T71CjHVZYR1FbN+dNYt2rsUrrLvII6Su8H6Z/WWHbMCHBqP7T9GZ0D9fZMLzUoVSF2JnOMIx347H3j3XcS6YCe0MlJ7HSrfhF3G9QY1w== 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)(38100700002)(122000001)(6506007)(4326008)(71200400001)(26005)(4744005)(5660300002)(7696005)(186003)(33656002)(83380400001)(8676002)(53546011)(54906003)(316002)(66446008)(55016003)(9686003)(66476007)(66946007)(110136005)(8936002)(86362001)(64756008)(66556008)(38070700005)(107886003)(52536014)(2906002)(508600001)(76116006); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?5SqyYGKsLotvqhaCS/0QYjZUBiz46qCs2An+VwU7hJF4l/ZERh15rc+SQ6pC?= =?us-ascii?Q?NDD4g2zYTFkzQwR21U5uKill8olmu2Qc7E1d97HsbgnW2ztzndbFSLNuyiZc?= =?us-ascii?Q?iT/0SDYrAsSsJ9LdjWXPDSY8lPosomNyWYuzsp2T1pirZOdnao+tA2xaHXyF?= =?us-ascii?Q?Rv4bU5nX8XfXbyxa8OkSH7chb+pP0twNftpDNHgpiqlZKbJMcbWIY7qWytmk?= =?us-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jmlFcuU5yDXekLXZ234k6XCFeTBJ?= =?us-ascii?Q?Np+350uQJhip2ZTS62gWVfpxpjriq7ibBq8ZVgdPmMUdkt75Hhdr57hRxZbH?= =?us-ascii?Q?0hoLcIs61Lb7qkd/FUXKA74b8aQDw4AzFL1iZWhRMcSs17hlipIWBijueWjl?= =?us-ascii?Q?wrKG84hpzjyZpP0Y1/fxy83cEuyUvMjM1P6cFAes1HLrf0peOSQhIrQMuCsj?= =?us-ascii?Q?xuZVZwBlM0G7clxWsIuZTn32zB+/g50Q286z3ykKK74wKupzko0N7w1/hC1M?= =?us-ascii?Q?cDk1anZrIKnwQcXuRC2WHWGyW9vJW0/OXqIGuL8Py+wAI/9jFsYtZY2rFFyz?= =?us-ascii?Q?9D2DARBBE59oMAzHZy+AvtfeKk+RrEDRuaCUeTnyBkgGKgIBUKv/QJ+oxTBg?= =?us-ascii?Q?lVgQreUSdFcqoiSb4JsN7GExCoeXPKpDJGFJyCW/OZxJnfts6K10IGCD4n6S?= =?us-ascii?Q?jR2cGYULVNw9vmujbFtLX9GNVTtR0ffn45WU5cRc6NRdEZ2Verqzg5Jy5Qog?= =?us-ascii?Q?cNb/ePzz4ycfARjYBXhYhns=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: 189ce23f-d676-4379-3aa8-08d9b8964a7d X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2021 08:56:28.2868 (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: NLGTpZ+c8JKTrfOOAEMVJbmQRCI3w8TBl5f/gz/XitF/CLtJ3dwRSi5FAzpIMr8pxQhRSNx+K8OPazRZHnuc0w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5279 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: Friday, November 26, 2021 3:10 PM > To: dev@dpdk.org > Cc: ferruh.yigit@intel.com; NBU-Contact-Thomas Monjalon (EXTERNAL) > ; Matan Azrad ; Raslan > Darawsheh > Subject: [PATCH v2] net/mlx5: fix modify field MAC address offset >=20 > The MAC addresses fields are 48 bit wide and are processed > by mlx5 PMD as two words. There the bug was introduced for > the offset, causing malfunction of MODIFY_FIELD action > with MAC address fields as source or destination and > with non zero field offset. >=20 > Fixes: 40c8fb1fd3b3 ("net/mlx5: update modify field action") >=20 added Cc: stable@dpdk.org > Signed-off-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh