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 57CA2A00BE for ; Wed, 9 Mar 2022 20:43:11 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CC2B410E6; Wed, 9 Mar 2022 20:43:11 +0100 (CET) Received: from NAM10-DM6-obe.outbound.protection.outlook.com (mail-dm6nam10on2047.outbound.protection.outlook.com [40.107.93.47]) by mails.dpdk.org (Postfix) with ESMTP id 36CA44013F; Wed, 9 Mar 2022 20:43:09 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BnobEIMiCPSX4k17tLfQeEFsIL7GrzTtfEIzGu0gaDNqxwx6HFA2YDAHBZoc88nJP/EzZrkUdP6+kWbmx8IJExyPvcPejTQ96EYyQL7ltCgK+3nFfWRLfJFx4e9XYBpW+qGdtmCsBBKinFwKB/WRcckfn1izDYSMJcvo2VIMrPrUkkanvrXAo6dt8J50B95bcKv2pq2NpZfIRGNlbNqox/azEsWpyPfSuESvL8QiWBXc2TK/ft5dJXc7kDBqOMUi7HUBx7w9vxe+FFqE5MFYJJgRJrgF9MsiPq8awRAOOTZl+04ccbFz3ZJiH/P5Tfjx/IUX5Fgu7RYT8+DDS9S7ow== 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=gaIq6zICu3zFhGomK+OzTRsU2IC4swTPyxFBls4MAyQ=; b=Cze1u/H+jTvh/p7tAEAf7djriDDw992YdTj+9yHpbQpzqFqwmkn482LGFUGgdojIzWn+VbIN0s8O7XchRLjATnwh1HGOv6tnKoZlLdJmu2/nZeRNVDYljiIMykYqTPgSKa6Is1YZVaJI5pMYf6dJJxdnpxtE9xL21jybRuRRlZZRdfrPQF+OqVXDrI2PinF89Kh1e/840vjFGLJfX22xLflA6biCPEmzt6S0BkAzPq3/j0xIRRUm9qgWxnt2ziFR3TBjac1CCRZ+4KPFD6/pQASgOIaSKj/W+Iz1nomIgtl2GY+ic84oDWkCL/CBjFzrgaYIgbPsRX/VBrneR9bW4A== 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=gaIq6zICu3zFhGomK+OzTRsU2IC4swTPyxFBls4MAyQ=; b=RprFTRRg38xWBt5orcnwjZtv0ZenzlTWpmfkUk1lIaH7T0hEdJ7Po/M59/ZBjN31RDHVfogCpunuFFCbIuANqX50h5gfO8S+jAiC6Ythnb927YbxWnPgnnsePBISLNcGEt5vTOHePPRgtUH+lv0h3il3Ju0m9Po4n5p1xXjBG/iY4V1U0/HfmP3+May9I02SsB7VhXl9FBiCl2S8xhdjOPuvkxolg2wiOUvtexmj1Pm+iT8kdOVpcrJ0Z3oAQDy445fm5jTnKmobZiYjR/49/9TztINM3UOF7FLjhVnoyk2Or1FSQUFwYGQutOEBuULySvP5GRstPDyl+DDYPRb0Og== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by MWHPR12MB1549.namprd12.prod.outlook.com (2603:10b6:301:10::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5038.16; Wed, 9 Mar 2022 19:43:06 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::30be:23f7:868b:5cd0]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::30be:23f7:868b:5cd0%7]) with mapi id 15.20.5038.027; Wed, 9 Mar 2022 19:43:05 +0000 From: Slava Ovsiienko To: "Jiawei(Jonny) Wang" , Matan Azrad , Ori Kam CC: "dev@dpdk.org" , Raslan Darawsheh , "stable@dpdk.org" Subject: RE: [PATCH] net/mlx5: fix the port match in sample flow Thread-Topic: [PATCH] net/mlx5: fix the port match in sample flow Thread-Index: AQHYMcilB3WJEo/AeUGF34+DPdlgm6y3eB1g Date: Wed, 9 Mar 2022 19:43:05 +0000 Message-ID: References: <20220307021042.4088-1-jiaweiw@nvidia.com> In-Reply-To: <20220307021042.4088-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: 07b993cc-619c-4ca5-6a58-08da0205080e x-ms-traffictypediagnostic: MWHPR12MB1549: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: FT+r7EakZgYVOS9jbg6Z0R0dq9wufpg3oqetZgD8iGcG7LjRTRjo53SvN04bUikxB2VQvXVUSDodR6dawQq2WrWuBD20caGfW9aHBhB0ko2jtWpGrTKfNLYherRvJHvvFQj1ZiWTdm9qaIfVRnR8w9Q3nNtbmv8cBd+3NdZh2RyZGt2m5oxZAwz4S+iPBDyWzAlj8ed/duOyYaEhWsQzwPq31VNwzPQrefx4KJq71wWVYq/wmeJT7NFq0Yqd0CQ2kO5R/pEDBfdcpdE4CQ9AqZXdAekRd1lIW5+PYSOdejebXSP7yaf/4EXRwA+1b+/A1Uot+/3TYa8eCs+qJc+2dqCRURRaFoguu0BB9gCQDyMwppDzYjeVJLz8xAUBHo3WwMDNAbFeMUsiiRNKrlHl7PHT0w+eML4eVCELICyXuu+gC1mxsGYA2SOc/1xyNSpY+jpMwvLLANbytyyAAG+BZDWplE23fvSbKYf4aLsA2+nnygcAHbX7gIVnQhTa4f6wzO87pUHN0dC68rz+WiX71cIj3aVDql9k9PVGAlFaoAXGHdbG5NbGjE+igDAM9AOvywF6f0rOnjmpJIOi45mftq6nFs9vSXLAjAL52I20Hzh2KpT3ZG7iHXHnd9Od/ZY9bwfoT8rVBdundOW1wTctYyCwkvUcKDe4ZmcYZpoI1fMAiU+4F8JDqeo2u7n5/Qr8DdxrItgLARMt9y7Qz/Fm+A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(76116006)(66446008)(66946007)(66476007)(64756008)(450100002)(316002)(6636002)(6506007)(66556008)(54906003)(122000001)(4326008)(71200400001)(5660300002)(110136005)(83380400001)(38070700005)(55016003)(33656002)(8676002)(7696005)(86362001)(52536014)(26005)(186003)(9686003)(8936002)(38100700002)(4744005)(53546011)(508600001)(2906002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?FoRRBJdF+EWmcMII8A1xBsWvR9TpyUfFZcaPldVotSb2FQtjLOyGYUgc/ZPk?= =?us-ascii?Q?KnQt/0yCW0XWprwO/fiCq0ZLuEDinDfmqGurafL9VQ3ZowT9Fz++9vi4w9OH?= =?us-ascii?Q?in94BONbINmxsPlEaLPAQ1nwzx4ScLW7MvQL15Ha2vdKR9vFNkbMYVik+1Ub?= =?us-ascii?Q?bMv+b0NgavDreJKdD5yvbUD91J1pfoRS5k9B8RnJbjNqdorZS7418YlBR/4k?= =?us-ascii?Q?RPn3R0iiYQRrg+WlB1pnctkqz1diU3lSPd8erS1fOwsThrGMcjpYBslic8El?= =?us-ascii?Q?LjuEhJsDWZfIyb9DHmJMDgd0YlxqgT7VV0y5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OzgA7wda+0hjGGuryQnWAKiVh4CWGjy4Ng5SMA9wLvFo74ij8lkQCq?= =?us-ascii?Q?LEZniuYBNOH/6aqytMec+h8V/sd/jz28bGJzLoz71VvU4RxTRx847JAX/mWD?= =?us-ascii?Q?iuqO58+9u/XUT0m44ldEnVjGaFlAjQ8Llm9QoV4FVk2XcClVAfCY7BcoS6M0?= =?us-ascii?Q?bV+WZDE0hKfYUZJ82O+VyPC+f558pSdXF7Fn4/xA4/TAVpemlys6zFjBe47p?= =?us-ascii?Q?z9F3NsuPFvWKT329dhgqqAEo4XTXKIqj7mnf7vHJ4Mw7Qj0ww8r9W3je8+AO?= =?us-ascii?Q?iqk624ls923l3bAqLV3278BODdi6RuW6Fte7CiJ122mIJonkRuQ8JwLsBbQD?= =?us-ascii?Q?s0Ndo/eeXDNGEWtmStefiBf+86X1cCMc1m8D2ImiLrCtZD/5AIY95mDod3pH?= =?us-ascii?Q?Vw=3D=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: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07b993cc-619c-4ca5-6a58-08da0205080e X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2022 19:43:05.8194 (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: xccXmHIqhdDvVEINcn+DdJBBQPgae+EtDsxshNvIPqxd+8pkjBv4nxFkrkOO0R4ajjCUsQGfsSdSj1oH5+DZ1A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1549 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 > -----Original Message----- > From: Jiawei(Jonny) Wang > Sent: Monday, March 7, 2022 4:11 > To: Slava Ovsiienko ; Matan Azrad > ; Ori Kam > Cc: dev@dpdk.org; Raslan Darawsheh ; > stable@dpdk.org > Subject: [PATCH] net/mlx5: fix the port match in sample flow >=20 > If there are an explicit port match and sample action in the same flow, > mlx5 PMD pushes the explicit port match in the prefix subflow, and uses t= he > tag item match in the suffix subflow. >=20 > The explicit port match was translated into source vport match so the sam= ple > suffix subflow lost this match after flow split. >=20 > This patch copies the explicit port match to the sample suffix subflow, a= nd > the latter gets the correct source vport value in the flow matcher. >=20 > Fixes: b4c0ddbfcc58 ("net/mlx5: split sample flow into two sub-flows") > Cc: stable@dpdk.org >=20 > Signed-off-by: Jiawei Wang Acked-by: Viacheslav Ovsiienko