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 AEEFCA0C4B for ; Thu, 11 Nov 2021 14:18:03 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A0C4E41144; Thu, 11 Nov 2021 14:18:03 +0100 (CET) Received: from NAM02-BN1-obe.outbound.protection.outlook.com (mail-bn1nam07on2057.outbound.protection.outlook.com [40.107.212.57]) by mails.dpdk.org (Postfix) with ESMTP id C4F3A40E03; Thu, 11 Nov 2021 14:18:00 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ET/q5JM7B0AqzUM3pY3iCEsYU+G1+ptGskug9dA/yVxyAKiPSlw6rgJ98QA/HNlaHeqtl1VUD0TRvhg9MLUC2nz/HbBJGY2kHLWDJACfABsxGPUEAkbhBG11VQ6qAM1jxMqO39h7lnVasUuZtdu5/5peBNwOZdM5+PdMxJJFbKMsw1ehSbDkdiwJUR6HxyhdGhaJ1lnkI1URdIA4U/+uR/NM4+UulnyKiqsH152AL7RIQKuvBa9SR4aye5sZi/TvCtNZSkFm4U6uC8vuGQV2YZo0zpOebxuyUiB+JVHKTsHuQEou2jLUmvaxKC+sLk69HV86YiL0dkoYa/3mDjZeJw== 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=a2AQQ59aaQf6pRvBJ7axhP/NzcerZ1m/YbijlkVRQHM=; b=mt8mIrT+Y55VuJmh8cFVoZsyz1PzJ50r/VgVnuELKTfwte/nl1BU1CdK4omT8u16bssODc1QRzqWEl68saXBKwcP25TxyuGU8uf3YyDzIHInxnzjiPXjfdMdEGTpKU2pzXlc3P2ToM/e+fwZ+jNJuNfrQpFZiWRJdruSGTlzybbq2D/0NQ9j//uHPzVQIVYI/styDSIJQ6bZrdg5Y2VS37chhNwcR4nlVips0gkJ8ZX02bbatPNn+QNShPziC4z37jLPSqh4RQCLbyOX1TUTgGSJcrJ3GP7jCQI+A1uyQJysVt/pBnyWRI+NL6xG5nu5THPcz6Xpu0RDr5IpVUXAQA== 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=a2AQQ59aaQf6pRvBJ7axhP/NzcerZ1m/YbijlkVRQHM=; b=ULP8uqOhvaH0+xYYHd1WH14Pk7qKQae1Ruwkru1lKW3wMX2N1cJslyNKf35VJuCKrMHNj+Y4pOKW2WNZ2tLg7Y6WNlY04zSceeYqZWWMRGFGWtwRCOlUyBcTIfWo1bmjTVmj2vlgV51vUTIsvNWnWCsVL/bDl+8Va/0aUOKX1ts9V4MosPgko6PDJCfCO88vg2INW8X+yI2z8O8mJzuLFHaDUbbKLZzPqS6rLVv+mrWDKrW8VpRQ80/G+u9CinjyjjcXhDhzSDLHxr6Z4T/qcmJP8+pR3rAN+WC7C5/I3GFgZA4myBSnEXiFF5gZXDpk4kfs6HxksPZWbXDmTu4N7A== Received: from BN9PR12MB5034.namprd12.prod.outlook.com (2603:10b6:408:104::17) by BN9PR12MB5291.namprd12.prod.outlook.com (2603:10b6:408:104::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.16; Thu, 11 Nov 2021 13:17:58 +0000 Received: from BN9PR12MB5034.namprd12.prod.outlook.com ([fe80::5ce4:c4df:d648:273b]) by BN9PR12MB5034.namprd12.prod.outlook.com ([fe80::5ce4:c4df:d648:273b%6]) with mapi id 15.20.4649.018; Thu, 11 Nov 2021 13:17:58 +0000 From: "Jiawei(Jonny) Wang" To: Raslan Darawsheh , Slava Ovsiienko , Matan Azrad , Ori Kam , Ori Kam , Yongseok Koh CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] net/mlx5: fix the NIC egress flow mismatch in switchdev mode Thread-Topic: [PATCH v2] net/mlx5: fix the NIC egress flow mismatch in switchdev mode Thread-Index: AQHX1vwD4XE9hk+ov0GMnFot92rVIqv+TncQ Date: Thu, 11 Nov 2021 13:17:58 +0000 Message-ID: References: <20211105084051.20159-1-jiaweiw@nvidia.com> <20211105085910.40212-1-jiaweiw@nvidia.com> In-Reply-To: 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: 718a967f-26b6-4dbb-a801-08d9a515ae16 x-ms-traffictypediagnostic: BN9PR12MB5291: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:843; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ZrLU3FZnMfjx7Ea26dCJtOlt8JnITSD/NBdSb+GWvgjY32nvKnto0T//oV850EmBoVSDJt0yH9/ZZWUCvj1ciEO2Yn7WSKHc4x+xbAXRzsZMzxwWpOQFyn8j5RpWGg/8Bah+8cvjzGHKSF0G0CpVo+fxhUanbY1Z18BsXOj5JKrvdhT6gaGLaHD5tyP9EZCAP1HTBRnwr9bp8EMsgcj8W6yQIuLhkjv9LLidYro9Nt/Y6xlgolhFENiEqyGjyXMYYBglX2fB7aaugCUfkU8ms/zFamaxyzHdDLyaVnI+G3NgYID95OacxkwqmXqvQuERla0RqSGgvui3QDz94TknhlI+ERxFP4qNpyMXySXnmL4Z09dsLSpQAtHFOdfuYfi7vkiaSx2BdZPJ3v5/dWHPGJUPv9mSwFHEDIDOVx6LEWvvk/B3tWv6OrbDVhwRA/pRJgKwWuanj44JSWQMHK7c7t6AwjOU2YAyR24mayIgWbRgGlXHggOyUaKN0utvYWLlJfNXdIVyu3w2iS8BZ8bEQN3Ce+oxUYhWnRUuj1tKRYUnhKV2RUQKHgmaYIH7CDcqq4wayHlya//lgJDGcMDef23BhEqzZJ68t4ILTG85YR+AJ0kXhaZCBgUAb22zSn+VKHtgik1oDhK2m2+9k9OEst/eDuGRBkDV3wZAe0MP8ysFz2CNT5363jgG8bh4V4ET8VfFr03zt+GA+yhLc0C0gQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN9PR12MB5034.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(71200400001)(33656002)(6506007)(316002)(52536014)(66476007)(450100002)(53546011)(54906003)(7696005)(122000001)(8676002)(4326008)(38070700005)(110136005)(5660300002)(83380400001)(86362001)(186003)(76116006)(8936002)(2906002)(38100700002)(9686003)(64756008)(55016002)(66446008)(26005)(66946007)(66556008)(508600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?HnO4PGlqOFIJQYyxH3mFakJOZzTf9NvuscdW2SeyKqYUVI3vzCops+NPql4W?= =?us-ascii?Q?RAEajFdDRzzz1/x//6Ur9i+uH88R3MGf4oTXvbQ285v8Ywb5ENUFxRDqNozW?= =?us-ascii?Q?qgbmeJ493f6bY2IgCcK3ryaP5zzjU/0ojcRjmpFwzQp5pauBGucYQ6S32QcH?= =?us-ascii?Q?hYlKslXr+kAg1tFyrFcq4fPx55t3WytVz0Nu7kgsWMEAR01ONOsuCidm6e0d?= =?us-ascii?Q?T9R0veCGTlIB+qnlB7N8EtOaCaxeJrCBGK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XMus/C0pXKgRJwEVYNv3swngkd6Dm/Maf6P7ktDeEZVFUZUKSo05/m?= =?us-ascii?Q?3byk7hfEOKE/g2RiIT+hYWE9LTs542wL2Sm7PG9IHPfg2qg+aXGBOLdlD6fe?= =?us-ascii?Q?MYUoOF0ue382+NO2wU9Lu8GnI5pVuZmfrgX6w030TVtG+naZ5AZYeKH4wrDi?= =?us-ascii?Q?4YEDkitE/VmDbYnn3puR0PcSqzydlY7gTOYKy+naKLqdEtkolF1qNJTm6pP7?= =?us-ascii?Q?JECUBulUVWuhfF7yAe9B4ywx3zb2urSGtakENG3vOOGkTd7D/VooIC8VR0BO?= =?us-ascii?Q?Nxt0Xc70UPRexX9JQHq+34T4fenpjA0I/jqfpSQHPBUDbpFuvfd7awFK2tG8?= =?us-ascii?Q?HGvixZHf10qsGCop2DYn/wVrhfhlWKnZwD0d0802VY4MBwtlSbMFSC5Pq8N8?= =?us-ascii?Q?23IlVbqLUtLdAfHUw1RqRHxw7RVa+aV0yXEnNoKJ6NglLjUz0AGehUQ78WQV?= =?us-ascii?Q?7g=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: BN9PR12MB5034.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 718a967f-26b6-4dbb-a801-08d9a515ae16 X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2021 13:17:58.2386 (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: dKh0szZAaPoHstya2o2jJL2sXvDchqCeMYMDBiVe6Ieb8NPrBprKXTRBcZZDBco7afo0putImuDM1URUZLvg6Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN9PR12MB5291 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 Hello Raslan, I need send the new V3 patch for this change, Sorry for the late update. Thanks. B.R. Jonny > -----Original Message----- > From: Raslan Darawsheh > Sent: Thursday, November 11, 2021 9:00 PM > To: Jiawei(Jonny) Wang ; Slava Ovsiienko > ; Matan Azrad ; Ori Kam > ; Ori Kam ; Yongseok Koh > > Cc: dev@dpdk.org; stable@dpdk.org > Subject: RE: [PATCH v2] net/mlx5: fix the NIC egress flow mismatch in > switchdev mode >=20 > Hi, >=20 > > -----Original Message----- > > From: Jiawei(Jonny) Wang > > Sent: Friday, November 5, 2021 10:59 AM > > To: Slava Ovsiienko ; Matan Azrad > > ; Ori Kam ; Ori Kam > > ; Yongseok Koh > > Cc: dev@dpdk.org; Raslan Darawsheh ; > > stable@dpdk.org > > Subject: [PATCH v2] net/mlx5: fix the NIC egress flow mismatch in > > switchdev mode > > > > When E-Switch mode was enabled, the NIC egress flows always added the > > source vport in the matcher item, then cause the flows cannot be hit. > > This commit fixes the issue that removes the source vport as matcher > > for NIC egress flow. > > Also adding the validation that rejects the NIC egress flows on the > > representor ports. > > > > Fixes: ce777b147bf8 ("net/mlx5: fix E-Switch flow without port item") > > Cc: stable@dpdk.org >=20 > Patch applied to next-net-mlx, >=20 > Kindest regards, > Raslan Darawsheh