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 4B1C8A00C2; Wed, 17 Mar 2021 17:16:41 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35EDE140EA6; Wed, 17 Mar 2021 17:16:41 +0100 (CET) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2048.outbound.protection.outlook.com [40.107.236.48]) by mails.dpdk.org (Postfix) with ESMTP id DA2674067E; Wed, 17 Mar 2021 17:16:39 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bxyq9qBhYCCyYcDYpPkFoYoMsEmLkDBN0i66Z9N39PwECMsuOeajgOnPLVCdmzvL07Kf4bCxGvq6EfSCLW0LiYZYADgJ0KxaKrvGKkCGAxKKs2qP0bXZ3HON/CGF/+BCJESOWhu6C2a5cdxHvDu7/ahPmO49Z92AMcyrbH4y5tJG7ceyv1tpdfdv3BZ6IE5MK0p+66obt0ictMwbJYrtpZa65kAM3U9Mshsai/VbYlW2CHANcWR5iJCLvHcqokEZe9D8omoBS/3Y/+LhLMPOkk/4lVZ3snE1w/5kShuDirmxpPZNR8jfggZuuvZGz+JDPDzgar33BwCI6GkZKpxxFw== 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=QosDysVmlLByeLW0s1QB5XAupgHJv5+yVVWjcojY25w=; b=EdO2UBkkaCTtYXV0USyOLcqXJ5j4FJQDIAT8nf1OrNK6RubQ/073eP8oEAmcwCBXNe4FeJoHvDymYoh2VmLwSVovxYpVX+xDHfUCRNYco3haYCiC21UBp5B7x8jX8hJ0t1oOv6eiQrv5TXrT7EG+wnqZVSV2x291+EAa9VMTkPpbdVQbEAbKjhDmh+Sgmh5CjIM9z9l7jV4kLdyrncYpvGwanlIIZBJ/LUslXd8j3sRdm4OKBx0nhdFIZq7+nY1GdUff9G/GKLwL1sObXQ+L/q0VAed+gidSKzFv9Um+tRInmzr3CwhHcp7+taU7NpmhJeQ0gxCSICdCj198kVs+pA== 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=QosDysVmlLByeLW0s1QB5XAupgHJv5+yVVWjcojY25w=; b=NLivYdlKBlxc2U/lKfrAaeHNeK9AGdy8NK3DGZpY6yNuZQ08K+iODkwnfjP+pMdrOm3dMpxIUXxvf3REQ1Po9/tf5ET5ngtDn9M6Uo44bkrWlB7Lsp6Z+Ijpug+22d4Oy8oxIzP22xxg6zn6iuRicE0mNFfG/IHl+rS/kLMHPFUDnxXf6RW3kmU7ClbyyXs4bCs7Dxbul8Xy+Sc3aFmokrvB64cietXgwu2tJuJsK8laz79pd1l9Elh8lXuIKg5gdbG814WnMDJUrek/QT2SvOWmiEY/rV8/Wz4icnwFzpwKgGATyoCuur30JjC3dWsJbHiH3eNBICgSn1vJce/JUw== Received: from DM6PR12MB2748.namprd12.prod.outlook.com (2603:10b6:5:43::28) by DM6PR12MB2971.namprd12.prod.outlook.com (2603:10b6:5:118::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.31; Wed, 17 Mar 2021 16:16:37 +0000 Received: from DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2]) by DM6PR12MB2748.namprd12.prod.outlook.com ([fe80::3d94:1f7f:178f:aba2%6]) with mapi id 15.20.3912.030; Wed, 17 Mar 2021 16:16:37 +0000 From: Raslan Darawsheh To: Li Zhang , "dev@dpdk.org" , Ori Kam , Slava Ovsiienko , Matan Azrad , Suanming Mou CC: NBU-Contact-Thomas Monjalon , "stable@dpdk.org" Thread-Topic: [PATCH v1 1/1] net/mlx5: fix port id / push VLAN actions index incorrect Thread-Index: AQHXGlyvmPItDEnQNEm14L91fg3vL6qIXQBA Date: Wed, 17 Mar 2021 16:16:36 +0000 Message-ID: References: <20210316120517.683168-1-lizh@nvidia.com> In-Reply-To: <20210316120517.683168-1-lizh@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: [188.161.229.138] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: db0b9a39-0e83-4058-4db8-08d8e9600a3b x-ms-traffictypediagnostic: DM6PR12MB2971: 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:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sPZqx7qROh+WrvqufzI49e7zk4NPFOY/JeB1sSg+W6hRrGPXcKe8qtGdxs2pz03RHOcqYYS3ccQ7P91XlFXn8fV40KjG0bwGSaZ46SW+lhWMlC52QkhwAfcThMtUOF/Q+uRrLJ00AKGBcpqTAdZpfDJMXZX5zkZlk53CE0fHB0qjqf3C+O4Fi/R1APWlDu/c0cA46AVp2ek5gaTgLUcHW9f0gJPGxHYnxLPvHowSmRbe1nDcZe0r0y5++mUk3eBq3wHFWI7D4eEvwrgSpxysh3UnN3RlZadhVt0JB4QwmOGb0VLevubDeVSFL4J8NUDdTVOuALlEavezjvRhzJTTZY7tA0fnt2ekCjl7F3KHZ6jOQ639JcB7EEUkGJ2rF3ZwM0MVSImHb0dKnbipIz1k9MXhxEdxN5c3ucV95Ohi2m2Wh+vVTgCqPxeSqAoh4ObCxuglaYffnFJgIGTQZDGUJR6R9OW1jlBhjTNgSNxJXP1TeE/DTQRd6RUzTYXe/iwTjfffdZFk5YjBrSBQ/frCemBLR0DiPwmO4/4cmeFgKq6UWfe9miVM+/urtPMNmEUH x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB2748.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(366004)(39860400002)(136003)(316002)(66446008)(83380400001)(66556008)(76116006)(66946007)(66476007)(7696005)(55016002)(64756008)(6506007)(52536014)(71200400001)(8936002)(4744005)(54906003)(110136005)(26005)(5660300002)(6636002)(2906002)(86362001)(53546011)(478600001)(4326008)(33656002)(186003)(8676002)(9686003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?fKsSRuQ/7hbyZX98KLTAwLygOlK80uxWjwkRDesKlBMIZx+0gNhxHbSuebku?= =?us-ascii?Q?9gvocBF78oz79yA5PKbWxCzhDrPEtegj9/VlBk0OcpGN5LcrZp7rj8vHDN1u?= =?us-ascii?Q?7ZmHfxm7Kxt4k7Oiin4xskCHrlFpKudfF/RInS8mVLgpp8WE3OBUNm94U/6V?= =?us-ascii?Q?A7unz5jrqivGnUIWOgiwIKT8WKdQoP7ADoE+g5JqSHvon7nXngiSP4PXHhWf?= =?us-ascii?Q?gG3/lTWW+4ZB1+3NM1wcmNO4T3NZQkBTIXb+zOn47zAzhmsi3twDaGKo+GnD?= =?us-ascii?Q?dS9V1FcFWQ9Nk6IZH9qRzP7TXAEdv9lYPS+PTQiplOtxoZyRmnX9Gn8Z+yh5?= =?us-ascii?Q?xKvceo/T1q77YpuPerho9fA8NCkIMdvJ9J3/hWovOGTMJEfhQXMTo+c7g+pL?= =?us-ascii?Q?idqVJlXeFlJuJ875s2KshnYyH8njw+lbMD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AyIxoIhKvn+rsNBBSfUU3iB?= 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: DM6PR12MB2748.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: db0b9a39-0e83-4058-4db8-08d8e9600a3b X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2021 16:16:36.9796 (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: t1/TdojGGKGQM44QWAjbEBq/0aT7IfSpyxuj4UiJ4PR7H9NQ/VNnP4G0ul74zHCqoBJaAOKv11S9HcY66CTEXA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2971 Subject: Re: [dpdk-dev] [PATCH v1 1/1] net/mlx5: fix port id / push VLAN actions index incorrect 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 Sender: "dev" Hi, > -----Original Message----- > From: Li Zhang > Sent: Tuesday, March 16, 2021 2:05 PM > To: dev@dpdk.org; Ori Kam ; Slava Ovsiienko > ; Matan Azrad ; Suanming > Mou > Cc: NBU-Contact-Thomas Monjalon ; Raslan > Darawsheh ; stable@dpdk.org > Subject: [PATCH v1 1/1] net/mlx5: fix port id / push VLAN actions index > incorrect >=20 > When using port id or push VLAN action index to find > the action in cache, it will fail to find actions. > The root cause is the index is not saved in cache when > creating the port id action or push vlan action. > To fix these issues, update the index in cache when creating. >=20 > Fixes: 0fd5f82aaa0 ("net/mlx5: make port ID action cache thread safe") > Fixes: 3422af2af2e ("net/mlx5: make push VLAN action cache thread safe") > Cc: stable@dpdk.org >=20 > Signed-off-by: Li Zhang Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh