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 6BC66A0093; Fri, 17 Jun 2022 13:25:20 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D0BD40F19; Fri, 17 Jun 2022 13:25:20 +0200 (CEST) Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2064.outbound.protection.outlook.com [40.107.94.64]) by mails.dpdk.org (Postfix) with ESMTP id A8E3440698 for ; Fri, 17 Jun 2022 13:25:18 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m4eQG4IQzMdYsxw5dhr7k9uQ0ZEkai2OO7fNgPzMld/h4+EzDChuQsBQr1gHvZ2Lb+G7U6AeazyvJwAf4OLymzy2kWh0HyT0H0Yooyv5UKzP4rJIZvT0kbNhRwTsqIv+cdbLgekI739+1RHV95ppsI5Rf01a2e0Mx3FagVb8mM7wYrJ4KshBym+Vfcezfv3n1WkDaA8sBcJzYQvNdAMwizIOd53iCVz6+ZcwNNULw+daPbL1/pST9drLSmUncB4Gvpv0dhOSWg53MhTaVwK20MPl8p4CiPuF6S5fg2cQE8yVoQZUCp0be78tmamMqOfvJmx+4a/HbcitUJf8Va/OSw== 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=Z7C2S97CvZIK0t2bZ0RYU2FWPGN/SqDd2/Gb5PXiOoU=; b=cCAMq1vy2O1gBDSL7Itblcq7qVhUzgwxCoS5Wn2NIABDbHQwq1FfpdpQZmx5C3mVCWga0QV+rWMwbg4tGp5TpCcfhSCb6a1P3plnGJjIQJVcjgEkl0ZBho5aKdFny+yyM0Ljez5l6/kc0UdOYMtPT/Rh6kylpgPrGXoNeMJndoEky5oF9knfW5FV/i/b2TcHTxBIBUQe587nr/xSbnwlniq9EBgHMIBcqhbTtM6rvm9dGkQWe7US1NCAqDFTmYAiCzcQx8i/lG7kFSYgRC390qhSbGN8B/lkUMZ/xTL0SJsLnypBbO6H6DDHgCj/DlM3aMxsg9gckoHRPdTWJPrJOQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 12.22.5.235) 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=Z7C2S97CvZIK0t2bZ0RYU2FWPGN/SqDd2/Gb5PXiOoU=; b=OAuN6smhQlvHESZMAmwEv7u5Zduyq1h2VHMw4cMWKokNEMhPYSdpPnvhSau0w/bfmVnSPMVrIes0ya4GoQj6ZLwK+ffolqWnEP9AVTUiWuv3F/TZjx7V4sVXmwMDy2EsjQ0onOmvjrbkIZ7WbYfpqe248eNQ05Mqi405u2Fsw4KK7E6MaciIDuzCNoMN4/jnBDSKssGy65QCyzo84NVd697YF1Go/5V69NGGOxZSE7/VlR5kUdcvkhJRsAC8w4PVaRH3+77mVi2X0L5W9StAH7B0gAuSt58ckhaE+Az94DLZG+d7MmDwVPHvaj+1bh4dX0FzJUGnj7wJzGrqSalbFg== Received: from BN6PR2001CA0016.namprd20.prod.outlook.com (2603:10b6:404:b4::26) by DM5PR1201MB0059.namprd12.prod.outlook.com (2603:10b6:4:54::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5353.15; Fri, 17 Jun 2022 11:25:15 +0000 Received: from BN8NAM11FT059.eop-nam11.prod.protection.outlook.com (2603:10b6:404:b4:cafe::15) by BN6PR2001CA0016.outlook.office365.com (2603:10b6:404:b4::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5332.13 via Frontend Transport; Fri, 17 Jun 2022 11:25:15 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 12.22.5.235) 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 12.22.5.235 as permitted sender) receiver=protection.outlook.com; client-ip=12.22.5.235; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (12.22.5.235) by BN8NAM11FT059.mail.protection.outlook.com (10.13.177.120) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.5353.14 via Frontend Transport; Fri, 17 Jun 2022 11:25:15 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by DRHQMAIL107.nvidia.com (10.27.9.16) with Microsoft SMTP Server (TLS) id 15.0.1497.32; Fri, 17 Jun 2022 11:25:14 +0000 Received: from rnnvmail205.nvidia.com (10.129.68.10) 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.22; Fri, 17 Jun 2022 04:25:13 -0700 Received: from nvidia.com (10.127.8.11) by mail.nvidia.com (10.129.68.10) with Microsoft SMTP Server id 15.2.986.22 via Frontend Transport; Fri, 17 Jun 2022 04:25:13 -0700 From: Dmitry Kozlyuk To: Subject: [PATCH v2 0/4] Improve documentation for running as non-root Date: Fri, 17 Jun 2022 14:25:04 +0300 Message-ID: <20220617112508.3823291-1-dkozlyuk@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220607234949.2311884-1-dkozlyuk@nvidia.com> References: <20220607234949.2311884-1-dkozlyuk@nvidia.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4a1bb77f-ea13-4904-a70c-08da50540d31 X-MS-TrafficTypeDiagnostic: DM5PR1201MB0059:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1kswxb+HWglXiJZfIzeYKOLGNyg0jcOFBZvkCY2GghKjgYCoIu8Qw/Hvr5o95zssi2wbUTQbBSVdm/vgmmU0lEyJRnd++D/Er7l3cJs3ehMUorZyv9a9M29khW2YYCglW5G9fZc3Wx1uyLS/YPdhuyRZXBQyUjPDflE3C6gQDnoa1KDN0sM+x4N/Hq46bAvBrYXiiXJshlzCz8h/PvDfy6Fi30wPD6cZUf/ZDE6RfaoNydudrOBfyxjbX6z23+QqsS3ehlLBN9D+zDalK9eb+gtY0LgIH5Bw+Kn1XgD3EdVENxQIBcv/zYzGn0H2b0CDzLiqATFmCdoPMArQ0PsfFHryGs7v3TS/WkpUaKiO+YmmwztkBhpY2Lhn3q+Cm2zv9UP08rCV9wx3C+vbgyk5OCqVfO77WrtvRALMEzkRww+pXCKAfuORk1WD27jVbODy9SAp0l65COKp/NfWMu4q5YP8gHEQigKcozrJtfFWZStz+g+kJAA+uARW2/71PSFxqZpkmQwHDtm0mtSdPG4LtmfpM3G7rDS+38VOFJvDbMeMb9brXq6Qw8ElOOBHYTZgnJ6jO+CrL5JAn4p3Knh/TKkSC2C/FxSwvK06N1vGKkCVssKIxMBKkaDceZKN+abyUrzOParGRIGgj4nqRLxyzUmy+/q+Czp+eeabSVgKtThAnbZNNPGZW1chZVeHb1z9BOQI1ZI/Fe2MlXkrx2+jyw== X-Forefront-Antispam-Report: CIP:12.22.5.235; CTRY:US; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:mail.nvidia.com; PTR:InfoNoRecords; CAT:NONE; SFS:(13230016)(4636009)(36840700001)(46966006)(40470700004)(36756003)(6666004)(82310400005)(316002)(4744005)(498600001)(8936002)(55016003)(6916009)(70586007)(70206006)(8676002)(5660300002)(2906002)(7696005)(1076003)(356005)(86362001)(426003)(47076005)(186003)(26005)(2616005)(36860700001)(81166007)(6286002)(336012)(83380400001)(40460700003)(36900700001); DIR:OUT; SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2022 11:25:15.3460 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4a1bb77f-ea13-4904-a70c-08da50540d31 X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a; Ip=[12.22.5.235]; Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BN8NAM11FT059.eop-nam11.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0059 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 v1: Address comments by Stephen Hemminger: - Use hugetlbfs options instead of chown. - Suggest using OS or container runtime where possible. - Improve wording. Add SYS_RAWIO requirement for legacy virtio. Explain SYS_RAWIO requirement for MLX5 PMD. Dmitry Kozlyuk (4): usertools: add option to select hugetlbfs directory usertools: add option to change mount point owner doc: give specific instructions for running as non-root doc: update instructions for running as non-root for MLX5 doc/guides/linux_gsg/enable_func.rst | 67 +++++++++++++++++-- doc/guides/platform/mlx5.rst | 31 +++++---- .../prog_guide/env_abstraction_layer.rst | 2 + usertools/dpdk-hugepages.py | 20 +++++- 4 files changed, 98 insertions(+), 22 deletions(-) -- 2.25.1