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 18BF241D6F; Sat, 25 Feb 2023 21:19:04 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 64FEB410F6; Sat, 25 Feb 2023 21:19:03 +0100 (CET) Received: from NAM11-CO1-obe.outbound.protection.outlook.com (mail-co1nam11on2040.outbound.protection.outlook.com [40.107.220.40]) by mails.dpdk.org (Postfix) with ESMTP id 89EAE40DDA; Sat, 25 Feb 2023 21:19:01 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fqOWOvFNRYRNpIHoWypyN9Dwj8IxD5QRZt3yW6JLXjb5DyFUjRpS/hzevuNCKp0uObZOn0/rbT6yHxhUfMnc+FRLVtvepfwvhxGzyEhhEqhm1S0gPjZCuRuV5nYi3k4QhUqYA3/abzMdNSh/bnDXi/UA4u8csD6nbu/WO+iCqsXtxle41FAApF3bS2lC/rtuLDUhI2aRV//K56zRmUf2rrYuXyTtZCHSRGT+LmAM73NxPEkVyMJdK0Ix+GfJFNfwEUgB58CtYYjd6JkkzEvtqFXAbUSG0lT1NisJYWrsU93B23jWiqSu0bcAnu5KHFdNimjTNDPDDJy33Ir4KCSFSw== 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=a+DgNu7r29z/omp4LejblZZwrf6OInUwqnl3vFCANP8=; b=GIIe9asOerH1J6xijQQoSmDzjV4mBAXRPn6g6O50LvTaAegk9HihDky4iWf45ZlQMZAfZmlofa5+hDjoOdDKGHnWjd8Wg4vLx2NX87ZQte2Ajf3adI7Q7YBNUFY/d2vnqchJ+LeW3Muk+K93uzPGJZxgc2QTw60w9ByCNIJxMUkUfqPLexNFcR3pGf1K/jqzWk+74R6ipz9acGXVddSiY65681pjPqsRoXCoHU040IdZRvRnQnnRpvM/TxOfbsBtxm1A3KkWryt1Rn4BOcGTN4tfFgxYdtZ+ogcU9Eoz8QQZhEuVAhYenihIU2PvZu7x4DdHO/NT+lmTNDUj6HVIyw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); 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=a+DgNu7r29z/omp4LejblZZwrf6OInUwqnl3vFCANP8=; b=DIp2WWGCW+/fBJKfZV5u+T86h+kvAI/OIHocJB5iuxLE59kwpAUucM5aMXq2OmDLhNliErUO+ESegcmA/GtPZZIeWyP3jV4WXNhRVVuwlzqfvBL5QGZuvAC+O+i10/fvda8oxKWGZfRYMO+wloq3aIXP6HHveLBj/sDjEvAmtcfP0GUDHylknQw5FzF2Qzo9+1F80VIceL3KTLoY3T29q6ThRW4v9t1W9EGwTqJ7bntrW14NbTTvCCx3ZdMBUULWNaXPD5iWvRhD3WzajRF8Wa3WGNosoBfEw0mTt4dhiWQ08QrIj8/GUHbFWjU+qnRF7KFBKDdvbSoVIaNnHL2qcA== Received: from DM6PR04CA0011.namprd04.prod.outlook.com (2603:10b6:5:334::16) by BL1PR12MB5875.namprd12.prod.outlook.com (2603:10b6:208:397::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25; Sat, 25 Feb 2023 20:18:59 +0000 Received: from DS1PEPF0000E643.namprd02.prod.outlook.com (2603:10b6:5:334:cafe::e5) by DM6PR04CA0011.outlook.office365.com (2603:10b6:5:334::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.25 via Frontend Transport; Sat, 25 Feb 2023 20:18:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.161) by DS1PEPF0000E643.mail.protection.outlook.com (10.167.17.197) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.12 via Frontend Transport; Sat, 25 Feb 2023 20:18:59 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sat, 25 Feb 2023 12:18:45 -0800 Received: from nvidia.com (10.126.230.37) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Sat, 25 Feb 2023 12:18:44 -0800 From: Dariusz Sosnowski To: Matan Azrad , Viacheslav Ovsiienko CC: , , Ori Kam Subject: [PATCH 0/2] net/mlx5: fix representor matching Date: Sat, 25 Feb 2023 20:18:08 +0000 Message-ID: <20230225201810.10838-1-dsosnowski@nvidia.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.126.230.37] X-ClientProxiedBy: rnnvmail203.nvidia.com (10.129.68.9) To rnnvmail201.nvidia.com (10.129.68.8) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0000E643:EE_|BL1PR12MB5875:EE_ X-MS-Office365-Filtering-Correlation-Id: aa09b758-6401-4056-f5ef-08db176d874c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WuyGWre2+nkcZN4EX4MHGeDRJH8YWpTFnBGT56UKhWbFBL4u/GbWQda7VMRKnn0BOqPJ/fL5Ys/hGDU4+GSWuyYkZPA6bDGAMqJmWYrJfmlUdpoIxMKBwMBv3QEZ4jnRa8zecIrc2AjsD3/XlH4DXowI8nG5OPwSvwFLU/JyMrvW6UGhOb9KKDMdMSOw18MyvaNM21ypWVVmpXDnEqk5r62AlsfIIXlEMqIe6uR+MjjhcKDbawwPfdKyC1jLrFrCbadcf4Tjy3ebBPCLdnju6/C5htXXFEfevaEBsZJaMXc7WuFF7YPFJOq25FSkzdiOFPl6qQWEPR6WZqIyYeFbTUgmx4Rh++Sa1QrjyiALGYKSo/DY5kcXMKQZmuf+3nYe6a+i0dXV2LK4TAIfAg5D3rUDPdoOiO3tcPNGtWK+cfXurXMdRwGt1uKhO2oPaYsvO8R1XJbxfYulGr2VHhFUI90PCLWTGpsPH0NqUWLKZ2yaCBDea8/fpsTfjwLg7hXXTcIPpdfok08phprJdZrX/jHg16QWyY7+VPnfEmgd2ctv+vjRcy1W/9UsUbAE7EP7iBIcKLEj4tySLLYzLumaqbxNaqZDzphDtQ8mv8Ho68C38J2GDnI4ZIDjCylpGrHqlDatdNXZPKyg32AcULsIV/6V0vA+QUyncEbf3H6jZI0fpGajnCjPN5bKKepLCQHhvi3hQc7TQSX0XpZzD1xnKQ== X-Forefront-Antispam-Report: CIP:216.228.117.161; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:dc6edge2.nvidia.com; CAT:NONE; SFS:(13230025)(4636009)(136003)(376002)(39860400002)(346002)(396003)(451199018)(36840700001)(40470700004)(46966006)(2906002)(83380400001)(82310400005)(426003)(47076005)(336012)(4744005)(5660300002)(54906003)(8676002)(36756003)(2616005)(8936002)(40480700001)(70586007)(70206006)(26005)(186003)(1076003)(55016003)(36860700001)(86362001)(16526019)(6286002)(450100002)(316002)(4326008)(6636002)(356005)(110136005)(478600001)(7636003)(7696005)(82740400003)(41300700001)(40460700003)(107886003)(6666004); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 Feb 2023 20:18:59.0179 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aa09b758-6401-4056-f5ef-08db176d874c X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.117.161]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0000E643.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL1PR12MB5875 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch series addresses a few issues with representor matching mode available in mlx5 PMD: - First patch fixes an issue with internal flow group index translation occurring when both extended metadata mode and representor matching was enabled. - Second patch fixes an issue with isolated mode occurring when representor matching was disabled. Dariusz Sosnowski (2): net/mlx5: fix egress group translation in HWS net/mlx5: fix isolated mode when repr matching is disabled doc/guides/nics/mlx5.rst | 3 +++ drivers/net/mlx5/linux/mlx5_os.c | 16 ++++++++++++++++ drivers/net/mlx5/mlx5_flow.c | 4 ++++ drivers/net/mlx5/mlx5_flow_hw.c | 14 +++++++++----- 4 files changed, 32 insertions(+), 5 deletions(-) -- 2.25.1