From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A99AEA0556; Thu, 20 Feb 2020 09:58:00 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 008701BF95; Thu, 20 Feb 2020 09:57:59 +0100 (CET) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (mail-eopbgr30042.outbound.protection.outlook.com [40.107.3.42]) by dpdk.org (Postfix) with ESMTP id B905B1B951; Thu, 20 Feb 2020 09:57:58 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OMTViWHsdX1KdW4TQHscy6NjZMc+VHu5FYnuS3rMncnvMNIOIlP3rQMA1OcwDA/Nsd6FhzWnILpxiqhROKxUSw6t6hJWN5dXkutcyY8IsLc6ypJsAifZiNzhFNnT6ddUA4c85IE5GM4dLkhMMn9r13D6dgOrlA9Cat7sG7u6a6Ql4RNl0N2xe6jMJvTTVDU0/0Z374xV/+HbjrRKR1f50IH8iS8Q+8EOpNkSJyaWiYOsNyPUoWYJoL6/FQIHTobef5Lj/a2faJzDo20YnYXyiV6k/J/xnNGOQGFk8Fr30Nrn7Kaa4yvOLOysNoCFqwXtoJsPrsIoZOkAtC4F/mtfqA== 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=vL2Xqn4HZz3c0r1ljjRNAIsgOSTJ15VgobNyfTt9pYA=; b=fqqccooQ+xSCXb6VJas242GIb5c8nsOQa04QzH3Ap+n+IPDHu7Mf7fLq4qJTXwLvoWj2ubJq2Z+Z/PaCP7e4x4rFHLj0SzseGlY+Pmcu+FIFK70tcsbSHVM5S8R//wzP6nuJq+ODZl8dNOHQzCynbErlXYcEHB9CuJ1sar+Hvnf0ZaQB1WYEO35HbXQs3DSj6AlcCvtk+BdRpBP4T6s6M8ClEXZ4LGcDN4UPGCpx6ymXWw7qTGim2aWDIY5d5skfgNQEgK5so8UkrVY50MUQZD6La3WWFtm+bWGQOIzANVfyhy0dDzlnYvxW9VF2WEmCVO2VYIGbymPmHrjcjW5nKg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vL2Xqn4HZz3c0r1ljjRNAIsgOSTJ15VgobNyfTt9pYA=; b=TQc9AlHeD7e2oE0Of1d+ip5OdMx78MOJPW/XDI5H8xHDnrKzN2u+tah+KHSO5yqTcIBAYt1Ty2ylQuyvyQZvadpCjrcamuGXEjCG4Iqpiia7EcKHq1kMw9mJxJldyQLu+y7eztmusLNJOUO22vlFLVs4SdnDQH097d4sD2oh3s0= Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com (52.133.39.139) by AM0PR0502MB4001.eurprd05.prod.outlook.com (52.133.36.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2729.25; Thu, 20 Feb 2020 08:57:57 +0000 Received: from AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8]) by AM0PR0502MB4019.eurprd05.prod.outlook.com ([fe80::e495:9258:db09:1de8%7]) with mapi id 15.20.2729.032; Thu, 20 Feb 2020 08:57:57 +0000 From: Matan Azrad To: Suanming Mou , Slava Ovsiienko , Dekel Peled CC: "dev@dpdk.org" , Raslan Darawsheh , "stable@dpdk.org" Thread-Topic: [PATCH] net/mlx5: fix incorrect set VLAN ID action offset Thread-Index: AQHV5y8JveUJczCVvUKM/9uF+6xquqgjyTfA Date: Thu, 20 Feb 2020 08:57:57 +0000 Message-ID: References: <1582121717-53976-1-git-send-email-suanmingm@mellanox.com> In-Reply-To: <1582121717-53976-1-git-send-email-suanmingm@mellanox.com> Accept-Language: en-US, he-IL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=matan@mellanox.com; x-originating-ip: [193.47.165.251] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 9f884042-2a69-4411-8c59-08d7b5e2fb43 x-ms-traffictypediagnostic: AM0PR0502MB4001:|AM0PR0502MB4001: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 031996B7EF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(366004)(136003)(396003)(39860400002)(199004)(189003)(4744005)(316002)(81166006)(4326008)(110136005)(8676002)(33656002)(81156014)(8936002)(26005)(450100002)(76116006)(186003)(6506007)(6636002)(54906003)(86362001)(55016002)(66556008)(7696005)(66946007)(66446008)(9686003)(71200400001)(66476007)(64756008)(52536014)(2906002)(5660300002)(478600001); DIR:OUT; SFP:1101; SCL:1; SRVR:AM0PR0502MB4001; H:AM0PR0502MB4019.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: WLRaVGAx1NoSXx8x16zhb+wAC63VrFFmJVPaxPFAWf24CbP772w2jjuamGxHk9oByBN0vHo6xrX5f0k4mS/8a2muuERDbGuimM6nVD6ECvfmts7zHziSG6dCPnqYKcKuFKBbg2gXQbRgM1QYG9MTRfYZCZ0XIkx6OIEggVZAdFtT1gjnIwhAe5Z1i4IzKuaUDd71nxM8icd73m2nISQmkdta8FZBu1LhLUk2pfgyFNeVz/TNL4BkyKBIIDCyi7qWPuLN0v7gIEGV9rduTIdY2PU5bJiKAenDUbtuHPcg4cE6mAnmi1yQcWK0FfSy92i7tNFDgPzV6Uk9bnx6Vc8kpOV6/G4F1aCRnjn1ukmpJNXt56f3XyR2e4yNiWSq9muPlA1F5VkvvAc8zPsWPoprZcCjSLXVY9K/PJgsL7uSFJc3ypTAXSeAgCWs8VOrR6vG x-ms-exchange-antispam-messagedata: 5rdDXkBPHr/ml11p62wBbC3LqEkwXGaEIIwEUZopdAv6DCS9p/WAhF29FT2dKC/bWtcVRuse/cyB3vF51MpVCMYsastAKXdkT90kMo3fBxF0vSuMTwnisnozcSh0f9x0XGXRjCEU4VuOvXRNzchzgg== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9f884042-2a69-4411-8c59-08d7b5e2fb43 X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Feb 2020 08:57:57.8099 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gYPWNrn6TMQTSUbN0I6fiaVMVTHBXsaBUX+CN1pzF54QR2MxoSEWKO1NYQ5o/8tZuZwS8kk444FpSD8oNo2KBA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR0502MB4001 Subject: Re: [dpdk-dev] [PATCH] net/mlx5: fix incorrect set VLAN ID action offset X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Suanming Mou > Currently, the set VLAN ID header modify action has already got the actio= n > pointer with offset from the header modify action array, but the > configuration saves the detail to the memory of action with the offset ag= ain. > It causes double offset to set the VLAN ID action to the wrong place in t= he > header modify array. >=20 > Remove the offset when get the action pointer to fix that issue. >=20 > Fixes: 5f163d520cff ("net/mlx5: support modify VLAN ID on existing VLAN > header") > Cc: stable@dpdk.org >=20 > Signed-off-by: Suanming Mou > Acked-by: Dekel Peled Acked-by: Matan Azrad