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 982AEA0547; Thu, 28 Oct 2021 15:59:17 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5C55A41140; Thu, 28 Oct 2021 15:59:17 +0200 (CEST) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2058.outbound.protection.outlook.com [40.107.223.58]) by mails.dpdk.org (Postfix) with ESMTP id AD7874111A for ; Thu, 28 Oct 2021 15:59:15 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MEdeggr45Z9q2L0QSZEXw4yp3lw+DHNt5/uIU1TJuyQ+y5w+fXKHpidmBDsiRrfQ3Q3Yhyret7Xdf5I3VfYo9YEeDgWpC6vOobZOM8zURSODZ8vaEzlJatAqH5hSjxBkPTR9fX3TtF040Ws/UaEL59+jkMLlFqyTjanhRddqXd69O11oE8d8lWA9OcCWkL2g8686q11TmNtdBQuC/yV7oNxrDyLbR1hEV5Yh6yeCzgASVyinLlx/DWuUzHCmLCyrljelfe8uzJK4x+m8uwYuXx56HO6QOES72y13XS+5ZQhk7Jd6sVV16vJz3HLXfOiZuDzKxY0xaQIkjMvfRGeQjg== 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=qwa61z0QJ5cAXG1NNG5P089oeU4cHKur0gtj+IRHslk=; b=jZAv5GbT9Q6muKjVeQ2mYfXClpBsSUHaVtvWOnVUCvUdZLmFCogTKMUZOldyD0A7NeRgd4p6kzU0UAiHWK3GFMsy1T6+i/9pJoKZt3dOaGRk1of/LA00Y//iLm0bBBX0mOVHy77drRsvQM26+OFqBz7LLpiJb5NqL4oople8kSmmN5rOREKj1IbUI2+txSaLSbW2Yf9sHYFrhHVPaJsaPAgmJRRu2QvJKXxJoH6+jPfFXCqKEX1/6NutaZHfprnGLbZgtqpog/4QURoxwzLU7fSYQjyOX+ZVHASsSJkiLksyqZsxPW7mZU8nhYZKsT8hAtUE2x9dqdkk1ALduoc/Ow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.112.34) smtp.rcpttodomain=dpdk.org smtp.mailfrom=nvidia.com; dmarc=pass (p=quarantine sp=quarantine 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=qwa61z0QJ5cAXG1NNG5P089oeU4cHKur0gtj+IRHslk=; b=ODzaKif3tJfu1pvKd31nWGd26m9PVYTPxVzGL6Qq8hkg+L+w1zPT437wGtE0GSzO5CmCt3ugvRuUOKCBj4zNCYN6+/UkA0JI7hLUSlog2KtIpXBDOv8HYZSlxG60K0rwnHp0l8eKyLFo9itatJJ5fEEovMomwuzctNNohCJ/6NoPF2Yzl8GtjfUT1neQOJ82LROGV3avbz47+gp/Bru3K+dKPigpEJLids1H2ZwZ1V+79Gte15QRYD2iuz2LqlPLLAI/jLLq7CvtFTT8dw6nBJIGzWGjHAD/VV+TFYiTb16PBHDujaN17GQ3nsIOCN36m4z3MyGpxQmkk8Ow9QK0kQ== Received: from DM5PR19CA0049.namprd19.prod.outlook.com (2603:10b6:3:116::11) by DM4PR12MB5184.namprd12.prod.outlook.com (2603:10b6:5:397::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4628.18; Thu, 28 Oct 2021 13:59:14 +0000 Received: from DM6NAM11FT024.eop-nam11.prod.protection.outlook.com (2603:10b6:3:116:cafe::8a) by DM5PR19CA0049.outlook.office365.com (2603:10b6:3:116::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4649.15 via Frontend Transport; Thu, 28 Oct 2021 13:59:14 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.112.34) smtp.mailfrom=nvidia.com; dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.112.34 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.112.34; helo=mail.nvidia.com; Received: from mail.nvidia.com (216.228.112.34) by DM6NAM11FT024.mail.protection.outlook.com (10.13.172.159) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.4649.14 via Frontend Transport; Thu, 28 Oct 2021 13:59:13 +0000 Received: from nvidia.com (172.20.187.5) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Thu, 28 Oct 2021 13:59:12 +0000 From: Raja Zidane To: CC: Matan Azrad Date: Thu, 28 Oct 2021 13:58:48 +0000 Message-ID: <20211028135850.6633-1-rzidane@nvidia.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [172.20.187.5] X-ClientProxiedBy: HQMAIL101.nvidia.com (172.20.187.10) To HQMAIL107.nvidia.com (172.20.187.13) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a2fed13-8cd0-43be-2646-08d99a1b2000 X-MS-TrafficTypeDiagnostic: DM4PR12MB5184: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: vGWDQHPfRt2MOn9SOrzi2ko6XR16x9zpsHGV0HaRjZm4Uxq5dVVYC9cGziOJyE4U7aVMt/ClhOnEe7ZT94YpRQJWkf8e9UlY/8XgLY8XzQFEVcktcwibGFDUPOgqdcX9YI9Lmx0nL4kFd/wyFTv7zxBok9xeG1x6Ja2rT6+op7OTLMd28lNNRtWrQAujISLESESV6BXyL3xDE8f8qwvaDyqz/F23Hsy4h+EwOgUKcK4RoRTVaw7F4rbZyk6VqFvo4O06oiZFghf0ToeAcI1c8uUO40qOmUzpdLjRqbMct0y7xYhZ6ArHiI85vnXfNxREIC72hfpKtnOxVJPTXpOFYd0gHzcMkAgxYL66LBX//i7v15BpgiDAQ0JCn4mMQJcDJRyiUMbs8kSSQOysWnXnmkjKisJr2FJY5yc4Cvaiaf1JV+w0mTPweLRbal5MaJurwEoZgpllcomriU9sAL+evCOt6YCcuy43A/cev5//Va8tuE+xBjBL9BaKZFjXPMzJCmA9py0cU/cdWEHNBOrZd2zJ4+nnma4g2O9InAWCzCKk3LJ5pYvc8V+w+esx7XfbrtZPTiaX/Qvw7WbaOUv905kwRrCeQytDJYGYAyZtoFmEZsLBU4P3INvCkmXoZ0lb1ZlrR1Cuu8z/3b1/lZ5zXV4qocaBwESr0D0groqN6NMB7WR7vP/eUYeD9HqNgcT3+uxXit7C4u/sZ1a/JySzoA== X-Forefront-Antispam-Report: CIP:216.228.112.34; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:schybrid03.nvidia.com; CAT:NONE; SFS:(4636009)(46966006)(36840700001)(7696005)(2906002)(6666004)(26005)(36860700001)(8936002)(82310400003)(6286002)(83380400001)(70586007)(7636003)(336012)(70206006)(4326008)(47076005)(4744005)(36906005)(508600001)(36756003)(1076003)(316002)(16526019)(86362001)(8676002)(5660300002)(107886003)(2616005)(426003)(6916009)(55016002)(186003)(356005); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Oct 2021 13:59:13.9312 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a2fed13-8cd0-43be-2646-08d99a1b2000 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[216.228.112.34]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DM6NAM11FT024.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR12MB5184 Subject: [dpdk-dev] [PATCH 0/2] fix MMO QP usage 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 Sender: "dev" 0x20 reserved bytes were missed in the HCA cap PRM structure before the newly added fields for MMO QP capabilities, that caused reading MMO QP caps incorrectly. The QP extension valid bit was not set in the QP creation for MMO configuration. That caused the QP not to be connected to the GGA MMO engines, and any MMO WQE job got CQE with an error. Raja Zidane (2): common/mlx5: fix HCA cap PRM alignment common/mlx5: fix MMO configuration in QP drivers/common/mlx5/mlx5_devx_cmds.c | 2 ++ drivers/common/mlx5/mlx5_prm.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) -- 2.17.1