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 7286FA00BE for ; Thu, 10 Mar 2022 16:37:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 666AB41145; Thu, 10 Mar 2022 16:37:14 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2062.outbound.protection.outlook.com [40.107.237.62]) by mails.dpdk.org (Postfix) with ESMTP id 4CBB04113E; Thu, 10 Mar 2022 16:37:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EYv1KdOkNYCpmOyPncfA2iN58Ue/DDysmaLb3aCn6N8zD0aiVtbgy32Qu/GBu98MusUTa9EfqMNBver79A+Bah5EkZs52eLFTNU59E2HLFg3HBtxigpru71+eUbetMzd8Q0AsRS83nG0dy8Q8MuYQWbiDEtyK8yt4PNlGesOtK/srrH5R5q7wf6HCaPugiDS+93gzLPZZVlkTzU5k5vps6fvxuOQ6WAG2WxPlIVJehyivIXgR5GvRu6EQ+QK6xWTvkMr5aavglQKRmTStZFYYUVsOtV2+21dCY/XPDbYeQiayU23m1VPDo/XvRBzALLYabJe52RChTsHm56tX1xuCA== 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=/Vq+4VAqoDErLywahPuVc7xzJqZfxBgTN3GliiYyczY=; b=g+ebk0cctKlUgTCMrnY+jzqBbZznyHgTwFd42ikl32tAVIOjA96SKZ4+VBR/jNwrt5231ATgxW99gq/gV+8I5ovx4f/KFJvzxlS6qUzQL2A+EsCgaCNcRgBw6HpnS8YVWonfO43J9FH4MnPIJtqBJudO/13Kc6YI0sWfsD+R3rNgxMqGPDRNE31ENcttlfW/ckmA/5DKY+d1ZnAI9ATAHY5vSSUZF6weHYbkmPjk+hPlwc2lFpm8aEvDdL+/yCnACrscF3BnwIZcICt+YoxYtb7DclH18qIxjzennByhHzha2ntKxvHMmN2nIc/usqRyjhM9vr+CCt29V4AuvOl3ug== 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=/Vq+4VAqoDErLywahPuVc7xzJqZfxBgTN3GliiYyczY=; b=LBXiOl63Schrp9YM+qhtSFwxcwt0XJ6ui6/7sl0z2yEf33wp+k06qpolAiuuCcQ0xIaDFgwIVgm9cp5Gw8cVtijCb9yscGf3j5WRfK6qi3QnlG+RhkoCmEm2IkEKcBtVtSZSKKDfDNBDIiZEvrdnlWrxuV+QoAz6xKZuFGA6XWIiZxSsYYKOGB+aRElQEpPaXKW2exbWUidCbc5gsRCJB7WZ/hnSV5spb76UhEpr11y+QFmQsz70qQ95FNXu6QkdUt7vkpjyDCDTnh5o1vMqsI0Ez24b/MXA62B5r/p2wiw961UsEom01KZygovV8KY3/dOb3wZZSFqxp6KA6CU/dg== Received: from BYAPR12MB3078.namprd12.prod.outlook.com (2603:10b6:a03:a8::31) by PH0PR12MB5645.namprd12.prod.outlook.com (2603:10b6:510:140::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 15:37:10 +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:37:10 +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 port match in sample flow Thread-Topic: [PATCH] net/mlx5: fix the port match in sample flow Thread-Index: AQHYMcikKGg+f+yMfU+Lqix2Cal9kay4xcDg Date: Thu, 10 Mar 2022 15:37:10 +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: 1b86b566-aa94-44f1-ef29-08da02abd7b9 x-ms-traffictypediagnostic: PH0PR12MB5645: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: G3b4j/SoQoBa6ZgPjYChhFf+AIM4LnsDLek4nPmkJZaFOxy0V/oTLfJ7vYg4U436huJl6twfg3rtBrHDTbIzMI+v35p4ipteXnggGwwXN/X1NzIYjMqnD6y8p7bEv0nUcRFUAWsIAEL8j7qkA/XLuqJS8wdi9Zrx8KgfYBvIsQKEtWLVmjeKSVnaOwfwS2h4yffyd3OZqSRPlkTdrg3HzjLfggh8/mftLYm2hcLWFMqBhDMN1WxwgXu/6oaCwzNNocs4nDSvyybNfj14Gz1/YCaqSS5p3hkprd3psQlma2ZDpBXpOyWsM95RECNGDWoUzzfMmhTEGbsl5KXYQITDxM18uNCsIAf+VXniF+zLX4UJqlaEfyQdlqhQwbKszc+3K2iLhzbBHHLYFIoocMZY+9Z2puNWS/29wrTvEAbEsYThNmgRSkm1PEnCM24fFL+w7bxLGmKgCYe6TOvSKoJ6wub79lUmCDGmZ/LS1YKZXaPRQPdJM6g5FBs37A+qmI56XWWc878IJrkfiDJ3uJaeWsY2WDtw7oHd+fvY1mgPAYeBBmLHq/2yQpfqu2kha0T75tw7HFwwdRvmHiZ9EI9bax8QXtQs9uVtJC7zhddJ+J1L2V8ytOh/YRVWxzKJtuZYee3r/TxFZT8J5TiL3A7lXYMH8ah8QTL1BAiVklQTSZjOIdmm/6vNMC1Pr8beQZfS3CNtAOsoYtHsERtrQRgH+A== 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)(66556008)(508600001)(55016003)(2906002)(450100002)(4744005)(66476007)(33656002)(76116006)(8676002)(64756008)(66446008)(4326008)(9686003)(8936002)(52536014)(38100700002)(5660300002)(71200400001)(38070700005)(66946007)(186003)(26005)(122000001)(86362001)(53546011)(316002)(110136005)(54906003)(7696005)(6636002)(6506007)(83380400001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?wvLQrJLotw0Slzil3QiwRsC7EjqDFpGXZ4z5QmeMeZCtXK+bJDOcG43LN3EK?= =?us-ascii?Q?ryjMB/RToLkqW8mtPWnz3csJIgevti7l1pRCEXGthMVn3kKDXW+EP1Muuq65?= =?us-ascii?Q?DgTNYuBBjws5B+XKFsbq34vk+DD8UYC8iYN2IizNnsvTnHtkOAXEWW3ywUPL?= =?us-ascii?Q?OTdyXZojt8qpDlVQ6U7BBWfZoxuQhO/0+3js8hUiykBtST2Wk6kQ1YK0bK5E?= =?us-ascii?Q?xhn1vFFgvEy5vhfex/a4XbU6AM4h70Oh8yq4xnIjtgpMN9e7Ft2IZiipqViT?= =?us-ascii?Q?TOTAVmFAnl+b4JONv4/pMMCQhFV+5FCzzjhxH4SAX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iFw8Ueva04bC7Bgl+o+uj7ML8R4hyJ/7adHSHYe4DOYxekS4Q?= =?us-ascii?Q?+tnW5hamFSj9hAyfG5bP3ZKrNqjmkgSe6+LcrAHWieu1YP+c1nfQRdDLW3EZ?= =?us-ascii?Q?02xaDfzUaKZFEG5y/shtoL4FbS8fmUGMWIskmr7mb77XWxYrL5fKwhQ9zRp5?= =?us-ascii?Q?iOZNZPA8/E5akLWiD93BR3/DtfdRRXcRp1RFVRSgo28RMq7hpaCFBEY1+J9v?= =?us-ascii?Q?LZLFbAeSqYSLEdpEsJymi/ZQ85N5nVmc?= 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: 1b86b566-aa94-44f1-ef29-08da02abd7b9 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 15:37:10.6265 (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: 65IZTIAg6Ja5nWiqwCede+Zzj+Y2maxhHHeGmp42rk+O6hmGnzvbQa9pGbR4E84ArfsuEF+93m06NjGlFh1QQg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR12MB5645 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: Monday, March 7, 2022 4:11 AM > 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 Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh