Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp196547rdb; Thu, 19 Oct 2023 01:22:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHKsSlFTxywVA+6DXeqEsedWa02Zq+h/B0VBlQDVgN/1G4OkmZu6Na3BrZmLGJrgYWpWnnE X-Received: by 2002:a05:6a00:2308:b0:690:422f:4f17 with SMTP id h8-20020a056a00230800b00690422f4f17mr1573150pfh.4.1697703741888; Thu, 19 Oct 2023 01:22:21 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697703741; cv=pass; d=google.com; s=arc-20160816; b=Z0yAR20Z9OClDwD4k7gObLdsbd7TpB4y5vFYRuwvo08Ypry6IqhB/BlMmc16VbDUb3 eMOqPNFeX1a7Dj3RcKi0PPU8XRm8OBw/tN0T10m8/UxXmKskPQE+BEzEG/+AuL2I+jFr uxUkhv7uh+kuUSSNN+l1GADRUUAR4L73a0m3Fm1ik2Bv73h06ttfHuUtZSuwLjjyZRpQ O6bsL6tE3cFt/s3qTz4/AdIUInkFzA1bYnGtCPbhfhCjVZO3N7Td2yOp5UGDpB86HNhH TXZkX1uSbG6WB67G6VnQGQU+N4W/u4zzDDh7SoXVFTTKa3d/6ktNENoH2IgxPUfNdwnP FMmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=+AdJIbffa/C+UCtx2rDWrPWIiq32Ep3/j507QlCH0Yw=; fh=pDs7ER/f8phits+VCchBaMIQahAL/6fywf7aFcd0LU4=; b=XuNutS9/MM0y4c9vN7Rg0/R28/vQuFAvvpx+1i+XK88Lg09Vj25wL4l0X9pfywf6hb LepFYkPcTlLvx5/SIBZ6wWp6bIqV+dYBZxK0AvnvtYMnZxancIVtkbOPPv/0MWgDT0QD wLOEV//bCyDlRtgQdxXoh0owZYR2DqT7bsajeEr+G+abcACtFS7eaNO8GFRbr+fe8vtT 65fPq2dUO9i2LbizyklVcdhc4WZ1HWs0saPu4pbXq5R8OAcAzN8iW9L+gF99wppxrzc5 5z5zhqFIIFgmZ4004TWuNu4/95SOZ/0JuD2H4CSnkcwf24XarMAH5kQLMjDMpHn/nShV KA2Q== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=U6CGFBDC; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id x129-20020a636387000000b00573f867019fsi3739763pgb.443.2023.10.19.01.22.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 01:22:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=U6CGFBDC; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 692328135411; Thu, 19 Oct 2023 01:22:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235109AbjJSIWF (ORCPT + 99 others); Thu, 19 Oct 2023 04:22:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34326 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232846AbjJSIWD (ORCPT ); Thu, 19 Oct 2023 04:22:03 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2040.outbound.protection.outlook.com [40.107.236.40]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 241B210F; Thu, 19 Oct 2023 01:22:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YOVRVijlUdLF/CwmXCtFswG0H/iopeztK6OVmwvx8EZP9ZEUZ1TWPDwqJhWu2NlcWfKLcedJI/psrIQbfFCOkaGzVbTEVWunC3sNMZpasJrOoMWhVobjJgnuFNhWi7Wm+lI+A6gRdXuEJPPubCJ2wORtMnQInxTI/+nWVyRsqKtIc6v5NC42eC555WxY8Zo2VNB8UTZHoilw9/V5GcFhWNiaZCOw5AatVH2CqZYp8XZxU5U/7SchjCOR0lpTcpe3WFQIEevm955TCX1BN1X99i1ARWYapHIAW3mpoWrLzudozJDdZDEu1Ii7x6TCVfIAp/lmVRQliuy6M9fIEB+MDg== 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=+AdJIbffa/C+UCtx2rDWrPWIiq32Ep3/j507QlCH0Yw=; b=meGejmB5HnsUpM030y7G8mgJIoSHY+fKsZtPTefpJ2Qbp3996HsvwiYg1dWdGW+3OefPKTW43fPFdfWO7O8R+ocxVS/63ZU997U6+Eni8TFA+exZLxbOawmi7CVimToxJCf/e4TbPJAQUYMumfjUuyTnBc5pQ1tyxfdzly0briTjDsbYR/84LGQO0dXKIw7D/Wh5tjdyguq8t2GQlDAj5swpLgWL2eOuG8CliaHmW8MaeduQibtl9R5dltKqzz5rKpB3J4Qr0LvkEcQ+/cPM9H9G/7pSQU81OW5UvBvg61eD4Qos2/vl29ZSBEyGD8iIRidjP8fNvVXs9Qz8wPkMvQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.118.233) smtp.rcpttodomain=ziepe.ca 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=+AdJIbffa/C+UCtx2rDWrPWIiq32Ep3/j507QlCH0Yw=; b=U6CGFBDCN8m+ppBjXUh4lg6HkuBcDr3/AI47GC8/nWbzR0/vfqjfrzA0HDYUObF+W5Li9iRxUNVkomDh+jZzNh70Nt94sPMniX7elXi89XOOhVzFJ2wGmiizwl32x5pw6CUiRosSu/JRezQqyrI+wARLLRlDJKK1hT/A7PtA5bnUCXVuUXKLDXAz8ly0f48O9ss3rooEN/c9GGc1jmgaRdNpZpSWQ7swl+uQErvojf3LYjfkVHZ8HH2KgQlV9MXWR4xBzOn8egK90BnP+wTatWUfJzmL0NL3JbU2GKAOPAgJyfTDD8y8vKXJ5Ls3Skp633hGGZJiDZbhFpc+G2daHQ== Received: from BL0PR0102CA0061.prod.exchangelabs.com (2603:10b6:208:25::38) by DS7PR12MB8291.namprd12.prod.outlook.com (2603:10b6:8:e6::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.26; Thu, 19 Oct 2023 08:21:59 +0000 Received: from BL6PEPF0001AB53.namprd02.prod.outlook.com (2603:10b6:208:25:cafe::7c) by BL0PR0102CA0061.outlook.office365.com (2603:10b6:208:25::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.25 via Frontend Transport; Thu, 19 Oct 2023 08:21:59 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.118.233) 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.118.233 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.118.233; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.118.233) by BL6PEPF0001AB53.mail.protection.outlook.com (10.167.241.5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.22 via Frontend Transport; Thu, 19 Oct 2023 08:21:58 +0000 Received: from drhqmail203.nvidia.com (10.126.190.182) by mail.nvidia.com (10.127.129.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 19 Oct 2023 01:21:45 -0700 Received: from drhqmail203.nvidia.com (10.126.190.182) by drhqmail203.nvidia.com (10.126.190.182) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 19 Oct 2023 01:21:44 -0700 Received: from vdi.nvidia.com (10.127.8.11) by mail.nvidia.com (10.126.190.182) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Thu, 19 Oct 2023 01:21:41 -0700 From: Patrisious Haddad To: , , , CC: Patrisious Haddad , , , , , , Subject: [PATCH iproute2-next 0/3] Add support to set privileged qkey parameter Date: Thu, 19 Oct 2023 11:21:35 +0300 Message-ID: <20231019082138.18889-1-phaddad@nvidia.com> X-Mailer: git-send-email 2.18.1 MIME-Version: 1.0 Content-Type: text/plain X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB53:EE_|DS7PR12MB8291:EE_ X-MS-Office365-Filtering-Correlation-Id: 0baf44fe-2266-4f43-7a3f-08dbd07c76c5 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: oV2WQfxQvE2akGjYoMYpqkmnptITXXYI6uwrAqN3GpyTRjjrC5kGvXwuXrVsv01Yh0yqhFsrIq4GGvU9xvFGMTMswE9GUD9bst7y1Vbwk3HsFH+Ct88xfeu4mI/BJQfUK3nNdrkW8N+WkydUM5+UUMSF8FfBVOmJ0J1mPu7Xm+0F/9A92miZcI8m1bk5xdBOVLppLqiDii9GE0nltckg346hvuz7NkGlo74DJXszB1lzg1Rj7otry5y6VkwZiWPYbwY8AZHuTmgmk4XWJnZQSgdcj6pYJHsikniKzV/ORcAxaOpHzwkXEH2+uECm5yThoTuy2Pglvcl4Y0oROQINmHNQ45kB+hQOS5nbacvPa2a279MRwajnTV635ia5ebq655X6eR9SXJBST+Pa87a0euPtDQcgT3A5aMtiv25KZ7umZ9X/8kNHVxzTSoGpJrH2TXBXw0p+u4OSpSm4bw1hNjGNQhoyDv/tZLWs+QILTqzBFfkgiTqZrvaBU7ruYTUXztocRtGc6BsKw0cQCB+2fHjKEEB8f9f2gVUeeATqXl6ZRhdueuK1bvIHbHl2rGizQthrWyQC2EJZNQHfy62ggp0txfmb4BCuImixCHwF0t4q0OcedtBpB54CFrjUETAvX9Z6emM1aKEGt5J8eYFgF7IJcHPkRdNP4nmVGAKqJWdeo2TEuNECMuylkKaIhaLR7OAn6FkeblusnYrKefj4Qw05AIEe9/l4TmLl3dMf/z+rYko8HGpcPgSm+wCuLzQH X-Forefront-Antispam-Report: CIP:216.228.118.233;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc7edge2.nvidia.com;CAT:NONE;SFS:(13230031)(4636009)(396003)(346002)(136003)(376002)(39860400002)(230922051799003)(451199024)(186009)(1800799009)(64100799003)(82310400011)(46966006)(40470700004)(36840700001)(40460700003)(70586007)(70206006)(110136005)(54906003)(316002)(6666004)(478600001)(8936002)(8676002)(5660300002)(36756003)(41300700001)(4326008)(4744005)(2906002)(86362001)(7696005)(47076005)(36860700001)(107886003)(2616005)(1076003)(83380400001)(7636003)(26005)(356005)(426003)(336012)(82740400003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Oct 2023 08:21:58.8357 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 0baf44fe-2266-4f43-7a3f-08dbd07c76c5 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.118.233];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB53.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR12MB8291 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 19 Oct 2023 01:22:16 -0700 (PDT) This patchset adds support to enable or disable privileged QKEY. When enabled, non-privileged users will be allowed to specify a controlled QKEY. The corresponding kernel commit is 36ce80759f8c ("RDMA/core: Add support to set privileged qkey parameter") All the information regarding the added parameter and its usage are included in the commits below and the edited man page. Patrisious Haddad (3): rdma: update uapi headers rdma: Add an option to set privileged QKEY parameter rdma: Adjust man page for rdma system set privileged_qkey command man/man8/rdma-system.8 | 32 +++++++++++--- rdma/include/uapi/rdma/rdma_netlink.h | 6 +++ rdma/sys.c | 64 ++++++++++++++++++++++++++- rdma/utils.c | 1 + 4 files changed, 96 insertions(+), 7 deletions(-) -- 2.18.1