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 68545A0C4B for ; Thu, 11 Nov 2021 13:59:54 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5DBA041154; Thu, 11 Nov 2021 13:59:54 +0100 (CET) Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12on2049.outbound.protection.outlook.com [40.107.244.49]) by mails.dpdk.org (Postfix) with ESMTP id 892F8410E5; Thu, 11 Nov 2021 13:59:52 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LmX0v1HnaHUq5k6S5ElvKybHfzbZor3fvxEtn5zqxwfAOJuLDnjo427QAMCsmkJ1+YH9y+yZHa4W9vVcukg0WEwPoc83HIAlQ0c5Mn+S937lQgQ8alaqntFN/0EVX0QfCyHdFpgYes/Vagd/uLb6fpPQzKZSt5DhsN6zlwoTM8CXnsTwJmatqJphcrbD48Y85kofLJ4lvBmoEBqRJ8rZ9wWViVrEHa5ALnp1wo7G4qFjyDDGJWk4yUzODE3PbkacVR+zHKBq5KyQFHWhr3R9XMKxt1sLf74ZdM/0Czi/0rzIG/9eUYscRy6JercJizKhfWu8I+8jhOJWPTr0HsNcmw== 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=7h3V89ARPFLyr7ASHWF0js3umCUvVu780ucXY89zRhs=; b=YOzEG7gFc0i1dt5P5vvQKX/GVNMsUWwjJiR+8mMHMMKOQiOx3y8H0uQY03qwh6D/THIofJ862Zc9AGyIgWmUsC90MM+YYrMWcY5cjsihZhTf2qRjQcacxIcK8wBWXtykki7NA5XhtRrnIFeOQSZ4JQi7vODIgOIab0hmzedOEHr7ydEubhnzv+na+dd0AM4t0UDyvnlSRA/hp5Ia09L8RT+Pl5zg4asL9nX3dk7ue9XvFAkwDgBOS5xpkAVE2QLx0IOidS6+v/kvH0VbLwNVOiNfNgmD/vdLOPlUSaxv4KD0DEMh6VcFeXI8teLni2ETDPcGhk3iPGtLlQYKLZptVA== 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=7h3V89ARPFLyr7ASHWF0js3umCUvVu780ucXY89zRhs=; b=VQQEXTMp1Q8l8+FQsoakprraSANhKzQPxtp5wbAbY3atcVco0e5l/Jqf9BrvgckFH3Zq4EMJdSb1WLSsvxgQc6JnuMNS8Zhl9HQImGJY28646XRl5UfExXnKJ3fBpaDSlpzhq8au5l+bmVqEgsGkReNXvdXFdcDeaHwtxHWZtOQqzQT4hWVSg7MDw5tFVt/YfU90gRbU2u1Uh5c2GfdoRKGcLCAicdZKTeWwyWMh9xgjpYv5pIkssxJfoguFk/ytfDkg5O4ZoNL7KMPL+Hy9/InyZpRmEMt3/cjatOXDctnkUTaHjoCAbnC9m1PuoGqhbaJIFvYB0rZPq2WBdJu7Zw== Received: from DM4PR12MB5312.namprd12.prod.outlook.com (2603:10b6:5:39d::20) by DM6PR12MB5536.namprd12.prod.outlook.com (2603:10b6:5:1ba::20) 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 12:59:51 +0000 Received: from DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4]) by DM4PR12MB5312.namprd12.prod.outlook.com ([fe80::7cf5:9d34:fc6b:b4a4%7]) with mapi id 15.20.4669.016; Thu, 11 Nov 2021 12:59:51 +0000 From: Raslan Darawsheh 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 Thread-Topic: [PATCH v2] net/mlx5: fix the NIC egress flow mismatch in switchdev mode Thread-Index: AQHX0iN2CiQEFeFhyU6e1NTsSHY81Kv+U6RA Date: Thu, 11 Nov 2021 12:59:50 +0000 Message-ID: References: <20211105084051.20159-1-jiaweiw@nvidia.com> <20211105085910.40212-1-jiaweiw@nvidia.com> In-Reply-To: <20211105085910.40212-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: c6b52937-1b36-4a91-7338-08d9a513262a x-ms-traffictypediagnostic: DM6PR12MB5536: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:475; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: w42ffOsyE8oZyUNQ77VlXg0I58IEW2MAVBlAoitOEx4OfNz+VEEpnYWPsCZWqEFdQMyxaT15wnaqdlYN+K8MZRWNJDPdwlQDqyjWP55IjbXMwm3nR0rl5Z7iHT04JZWpuZwcaURICm1sIQQUMXYsiZaU2X6fqK8PuelQgtYxoFFF5j4mzjP2jKprZg22VuzBpmkPF3vn9g4JbwKa11M30qtUO3Ts3MSAZzQyodBC6DlY5FCuIJANhT66Piu5aLVW+0N+ZaMcVfEPPtDHQw352KVjKZgAAzx7iahFc3zMBhY0JLcQ0k8Na1SgIDEnsoP5UJGc2C5njiaXE4Z2HWA+ok5HcSVL1i6WXwuzBAd79h28GYm4dCv0Sc4/ddYEosLiGCP/fucxwiM54CMCZmLGxeX0XLtGz+6JFdC1TaMoaJCik/ivVRDUWtPXBHF1B3q/Ip+XrBGRas/q32+u8lTh/7Zltjq7B0nU6WvkAOA9Y5xeY27Okc2+iv8QbDDWc3MxVCKdG4aHuMxYMlN1YwgtIEsH4xgTgROM1pchz+LAu9f1tLRcIYTts7HrCLOUTcgsCCe6XPLtrs5KMfj5Bp6f2arwN7JPDnCOtLQxSl40/Oi6ZD1R9ncnvCZ4W4l259GSu7YdNA30T1BQkeIfpILU+KEoHSRferoQ+mGSl91brQ+czEEtHprmMmGxQbihvoJhhz+bVQ2GWLA79Ipvuqaebw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM4PR12MB5312.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(86362001)(8936002)(110136005)(26005)(66946007)(66556008)(122000001)(64756008)(71200400001)(8676002)(66446008)(76116006)(38100700002)(83380400001)(66476007)(53546011)(6506007)(5660300002)(55016002)(2906002)(7696005)(38070700005)(52536014)(186003)(33656002)(450100002)(9686003)(4326008)(4744005)(316002)(508600001)(54906003); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?PeFmpJLelH6JCpBtApU6lYTMKXb8zZrrsZ/CxQn0QBeLsrhsTnGoy6IL2kOO?= =?us-ascii?Q?og4m7tZwv/zosEgJ/0Ir6leQyUC4wMjsy7u6KvUbFXC14hHKBnnSFsLQtW0M?= =?us-ascii?Q?m4Q+qfbC9L7FJYrYhEEmaP1sFAt5PnvFTas5fn41evNp4gGNtQtryaxrL2v9?= =?us-ascii?Q?SxStFLbWJf4NqRv01iICHcEgkK9/D3lrBRmNZ0wsp+sUi1cPuY5vXrJ6V+1F?= =?us-ascii?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xLDAsr87qY0?= =?us-ascii?Q?uteaxS7RKmpkxxu34VhZM/2c9noH8jQip9R3MXN+AkbsRAYsSTlkhtWmcHOD?= =?us-ascii?Q?z99O+zA8KLntpsbI3gmWgWefDz7twEuR8QHnu2jI8NGmAR+Oop1g2sBSn6OQ?= =?us-ascii?Q?yaxIC36aH2hocWZeKghJzA8tyYNVHSw1rdg/poNbkLAmu/NZkijIOf1mWHU7?= =?us-ascii?Q?hCBZHzOXapwKTIe6ogDC993AT6EPSLPnnedbBYd+ycnAck/eGxyMLrfZ+Ld7?= =?us-ascii?Q?Sd7FK43rKYbcFnZAKg3qaFM1VyfiFLprDn505KBEmlWXU8ORTihJdccP6NKP?= =?us-ascii?Q?tTu8OgB1J/kpcMcfKe9B4TI8HGo571Of4CDv9sP92s3ksVRNB0cl0XPUKkQb?= =?us-ascii?Q?8Js6vWvNL5tvESTgPqAKQcuBvz0qa5IutqtYT25YjXyN+wY73DNckD2KHRz5?= =?us-ascii?Q?cs/k0Gl42aGWOn6iA4LyGAk4D/uGe1eGk7p8tkG+MhMfDnCU8Skgn9pjRzpm?= =?us-ascii?Q?ygf6bpS7WAhOzO28Wk1aNjw=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: DM4PR12MB5312.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6b52937-1b36-4a91-7338-08d9a513262a X-MS-Exchange-CrossTenant-originalarrivaltime: 11 Nov 2021 12:59:51.1430 (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: o5rUt9GymuTmWx58yrREJHs6yIDWs5p3leJoCcZDPuicbS2pgeogkprWBijtNBKpuEWihfT3hssd5LAr1W+rrw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB5536 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: 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 switchd= ev > mode >=20 > 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. >=20 > Fixes: ce777b147bf8 ("net/mlx5: fix E-Switch flow without port item") > Cc: stable@dpdk.org Patch applied to next-net-mlx, Kindest regards, Raslan Darawsheh