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 B8794A00BE for ; Thu, 10 Mar 2022 16:39:09 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADC3A41148; Thu, 10 Mar 2022 16:39:09 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2070.outbound.protection.outlook.com [40.107.244.70]) by mails.dpdk.org (Postfix) with ESMTP id 7EDD64113F; Thu, 10 Mar 2022 16:39:07 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GAQP4YkF2GeUX0HYu14GEVbspggw31rn0VjUjmE3AdoS/AlMHIKXQxTiqlW96r9U6MGYtP0HOBYsL73ChpIRjEWZR3cnLKPAKNmZDaxZzuSbl9YVoLZtGv1oeh4/AG5DP3PDcmgFCkcZHMmpIrY3drZqsqelUbSTRzCgwhzQ48gcUtE+LHHBbazySUt/4iKoK6AEc+nPpdrw9xki4LQECwmIqlsCxZEXGnZpl7HvssjxC1tG9jgqEgB/niLmkR+vCXm9k+ZAOLVy4+IJhBRhI5cGlwxuiODGLC2XNM7LpCrZvGG6qLDIA4n/LPVIcDR6gKjuBwG5GUTTXXMYG0b7AA== 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=KOHSRdI/5SfmupP5URoA0QzFHjcGzwi1e77XMbrSqCE=; b=DnpslzNwKb50GQbZVQEHeY0NgvtI85r+awHglcwlX8/AM39I6NwK/c11RfcmCVERiDxc9xw4ZDphN+rRsoyStqBpE31SK8zFjOvLOAzux8RJg90W1VN39YBC8QqxgQU1jbz/BMR9Q588uckL7RHFovK7TGNcKteztwMkug2ePuT6PnEbMADprNxj1QH7bJ4Be40PTyBqcQwUiCEVV/eUseFiDGh3lwAOyQf7nXauKkvTEjQ4pIZ9sBG+pKONGAQ1uHy3kmibt7KMCtyDLOKrghIoZ8NQR/LsL3GDtxJJX/XGEFGlJ3LqcxxIm1aWZBrwLkgbIaVGNRDi8p/f1bgCJg== 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=KOHSRdI/5SfmupP5URoA0QzFHjcGzwi1e77XMbrSqCE=; b=nDdOrhIjoJvf8xsbHNEBZP2sbbkU6YwIMwBo8QjIz9di/GCNgPV7L6kEHVRDWuH344Ii1hKqR0rlLqrKQOH3lZqjRyWkPN0Qc+LopIS0wGUPrSo2pH/ZDZArnG5mb0oJGqOs04Q5EBMl2eisEYcKQtX3aM2xLrL1kCE/LLHDy62JaX0W5yXK5x8vaFm4p+6PbbXZk/BKgN2dJfxUTlKEbRAL2RjT7Nx9DA9V5FkOdiJvxiZO/sepnPA44A5NSqLnublQWGUKk00S4ZyAo4PEJ8R6pRziDu5f6RTOUqQ73Vtu2H/PSPvFUe04gmRmheMACLV1IwY/l2E8NXECKInQpQ== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by SN6PR12MB2845.namprd12.prod.outlook.com (2603:10b6:805:75::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.15; Thu, 10 Mar 2022 15:39:05 +0000 Received: from BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd]) by BYAPR12MB3078.namprd12.prod.outlook.com ([fe80::e045:deb6:35a2:49fd%6]) with mapi id 15.20.5038.027; Thu, 10 Mar 2022 15:39:05 +0000 From: Raslan Darawsheh To: "Jiawei(Jonny) Wang" , Slava Ovsiienko , Matan Azrad , Ori Kam CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix the implicit tag insertion in sample flow Thread-Topic: [PATCH] net/mlx5: fix the implicit tag insertion in sample flow Thread-Index: AQHYNDNw3JSHok0Y/0qZiyxKwOVY/qy4wXRw Date: Thu, 10 Mar 2022 15:39:05 +0000 Message-ID: References: <20220310040010.12454-1-jiaweiw@nvidia.com> In-Reply-To: <20220310040010.12454-1-jiaweiw@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: 9d3e8b66-62fe-4ca6-57a4-08da02ac1c12 x-ms-traffictypediagnostic: SN6PR12MB2845:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ycCpHYsPSmDVgUsM/rui904+geZgraWHTMeRlw0jE0LfCx2M8liGdUbtdfGL2wWuNcIdrajA4J9lEXWcnswOL5xJFSwWnAALr9t9CP2k61ifwKw1YXzAgqE+8DeHcBxZldtBo4KADfQbZMflAWP6ouqsjmehXq+VwmaiebDzpJ/ThwMx+gcPdWA3h0lrIS+GMcGn2Twi1SgQDhFDg8YmM4t8FUNZgRvrE5kjD/wAH5cQ4dIlpUkjtDKUhCK3weEuShDGgBoc85mcySPVw7HYlZ6gfvZKANhnPuiQpEx09LL9Psm5e7fVMw5rFjL+CtfPZDQaHXN/hJzNX0K0B58CRiLlZpQPoTN78Vz06vWOE2Wzef6NUIEysCDVOl7xvl8e1uINIqWswuaQz2x4Pw3V8sxVFtAzMP3o3hcnJTkQeEq/z+wYPKqe7JCXRDoahGPtZ1YLKsDimpJug66CuV1h+WvaW+EtDG7N5k+Qgt1E+kfio6tGQ8KkSSgg/VTyuVQanHMeuByjYNaQVbhS3TdnSxP+xka/bbCfvlZSB5FbqRpo+i47AXkx2Kn0N8iaNXjEJoYOSFIjNi6j/vL742I8VqkRaFbdaI+F/cS3woa1UXEL/FxjF4lZ6AHl1Ec0W1IN51KecUW+fBibir5ul3IIEK6Eq8hhUqZykr2aKzgBqtLPef8+213YpgEu6E718KQl8540n6CDSVLmUlJF0SYowA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR12MB3078.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(33656002)(8936002)(52536014)(508600001)(9686003)(55016003)(26005)(53546011)(38100700002)(186003)(5660300002)(6506007)(2906002)(86362001)(7696005)(316002)(122000001)(83380400001)(71200400001)(54906003)(6636002)(8676002)(66946007)(64756008)(66446008)(66476007)(38070700005)(4326008)(66556008)(450100002)(76116006)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?6BLEU+G5bd4w4Se4qvtraBV2fcnpCmIT2dWByAqDS7wCHW24ltnWxDgggE6Z?= =?us-ascii?Q?8nin4AsF4vX67SpPqGib16iFod1xf9zWxg2F1JQ/KXDdpmRPob4MaQH71R9H?= =?us-ascii?Q?AYHjz+N/qQrvIeMWHeJEHHPlIcOxwM1qtidMPLLYRpFrLrHc9qGMU/oKDeYk?= =?us-ascii?Q?qrjd845eOrS34k6oDy4DSkWcomHDPdWRfxKHknjhfbGQraSGkJ5u+xweYZUo?= =?us-ascii?Q?uCUAY/REXw/gcacg0vRgGyovvjU1ZCQAdjLmPmMQmsZuk/BD1ByN7XZuNUKM?= =?us-ascii?Q?jbv4g6XcHJEwsGCr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=?us-ascii?Q?y6/xgjmla5gdMb+fSK8M8T/KTO2emcHDJkplbB50oW7Lyeyb4KrTMB3UaEa8?= =?us-ascii?Q?u74+CG1BkzE2Iyp2BmGXK1yTO+Sx23lNND/k0jw10IDAo8aw+Au3VnIkk9pj?= =?us-ascii?Q?YjAYZ0FPegC/aX3U6NHdVi0l+KBvOoWbU0rcH2ig9Mz1MAvMSgQ4src9dMdN?= =?us-ascii?Q?kBm4dfBWNj8IwUlh+GOz4XiJRQx75+StFRhSQn7u5MpL2ZB6Uuwb/J6BckoV?= =?us-ascii?Q?49Tl4u5h5/dKiXFtm/1jKY1wtq+2oJQqoM/ONmuf5gYQLrYjgOaVacuyf4+O?= =?us-ascii?Q?fg6ptKHWvmVOVOjVjqmeIdER+hbbd4uF8rmVvnWCHhrCqN7M5NmNucstJVK9?= =?us-ascii?Q?nE3LZDnZW7wlquqQFZRKWVn6Rx0pDY9om57vBotVlKKq/OuJtbTgZYbeG/S6?= =?us-ascii?Q?1lvh+jjhaJqOVI17CDjTlKA=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: BYAPR12MB3078.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 9d3e8b66-62fe-4ca6-57a4-08da02ac1c12 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 15:39:05.2753 (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: 7H/33hO0MojFPYlDdsFXGZGpASCU+Faf7kKS7WDuyIr3TyUKgo+x3R4DsWyDoGwWdZRxlB5CZDsjU6pss0bm3w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR12MB2845 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 Hi, > -----Original Message----- > From: Jiawei(Jonny) Wang > Sent: Thursday, March 10, 2022 6:00 AM > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the implicit tag insertion in sample flow >=20 > The flow with sample action was split into two sub-flows, > and the implicit tag action with unique id was added in the prefix > sub-flow, the suffix sub-flow used the tag item to match with that > unique id, and the implicit set tag action was inserted next to > the sample action. >=20 > While there's either PUSH VLAN action or ENCAP action preceding the > sample action, implicit set tag action was added after PUSH VLAN or > ENCAP actions, causing flow creation failure due to rdma-core > does not support this action order. >=20 > This patch ensures the implicit set tag action is inserted before > either PUSH VLAN or encap action (if any) in the prefix sub-flow. >=20 > Fixes: 6a951567c159 ("net/mlx5: support E-Switch mirroring and jump in on= e > flow") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiawei Wang > Acked-by: Viacheslav Ovsiienko Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh