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 ACC0D455F3; Sat, 13 Jul 2024 13:08:55 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D4794029B; Sat, 13 Jul 2024 13:08:55 +0200 (CEST) Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam02on2075.outbound.protection.outlook.com [40.107.95.75]) by mails.dpdk.org (Postfix) with ESMTP id EE9804028A for ; Sat, 13 Jul 2024 13:08:53 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=GoFMgp66u/7ZD05zMUF1k0RAsNsz2LkFmKUWrfBd6SKnuanyaolZBaCOHMyUkdI1IYaBR5ntEbggd6C8qAAdtp3XULL0A054jbLNQGCm5s99QkZDzj0Ty9EJji4gx4PNDLCTouWqAkH86wzszIKc7597Ww1kt19HxeCWtcV4FHAcC5y4LnZIoRExOeSvELEHwZDpxEVK9z4GoMFqqiJGfJPM10+9IJ+XxEQ3Atvme6N8sRFu9izFzmfQz+myCi+peASOQG+K+IP2QRkxtdL+h5uUAhjIVRZyKtQWatdK7Gu/KYviSnEC42/QA9yq7RduSRsezm+3X4SRjo/zlgQe3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=cblr6rOJINHFs6szj03nK++krmoA2sNSqCzq9cT0LvA=; b=Uwxi81U0bf/moe/o5QlfkwmQDuhDKjHzTTE93pLOQ8F1sf8w6veWLMZwDVtoqOCHsAXFGCgQl2qs2m8G5Xiv4piEI+E32MzfsVxnvf1xov98RIZ6Pdd4qDr6JNajLqZpUCkbRG0x/PgYElqw4ICtMFLR/ZgV+COPuc/kLmVmBHlpvrD9OzYhPV/8Kw4rf2HVQS4A92hKgc3AbcDw/OmHxSxk8XVVmyFl/KCfdjBTSWemPdBfR8z8+abSTy0JzT6VQ3XW9ZWvwwKO9VSfEgtxXRmcRsSRax3uuZMijDa0k+rImOFv82p2Bd0YeUuf3YB4fAV+ZnyNRtVf2HccT+GvtQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=dpdk.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=cblr6rOJINHFs6szj03nK++krmoA2sNSqCzq9cT0LvA=; b=xTTllqu9lXTetP+cmB2KXRqYxIwS8ZrvS3yWqXvlkJDU8tk6xwD7XNrOP2m5/c8C7gCOsZBhJiDKwq5r/x1PNVfSdauCcO/hfgzcKX4CcZDhJ7grIb61haMEayK5cZF5MJr4s2JSbUS/jDeCKNs0bQZyaw0EMy+D0AAEwfH2W0A= Received: from BL0PR05CA0028.namprd05.prod.outlook.com (2603:10b6:208:91::38) by PH8PR12MB7278.namprd12.prod.outlook.com (2603:10b6:510:222::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.22; Sat, 13 Jul 2024 11:08:48 +0000 Received: from BL6PEPF0001AB51.namprd04.prod.outlook.com (2603:10b6:208:91:cafe::5d) by BL0PR05CA0028.outlook.office365.com (2603:10b6:208:91::38) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7762.23 via Frontend Transport; Sat, 13 Jul 2024 11:08:48 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB04.amd.com; pr=C Received: from SATLEXMB04.amd.com (165.204.84.17) by BL6PEPF0001AB51.mail.protection.outlook.com (10.167.242.75) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7762.17 via Frontend Transport; Sat, 13 Jul 2024 11:08:47 +0000 Received: from BLR-5CG134626B.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Sat, 13 Jul 2024 06:08:45 -0500 From: Vipin Varghese To: , , , Subject: [PATCH] doc: update AMD Linux guide Date: Sat, 13 Jul 2024 16:38:29 +0530 Message-ID: <20240713110829.793-1-vipin.varghese@amd.com> X-Mailer: git-send-email 2.41.0.windows.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.180.168.240] X-ClientProxiedBy: SATLEXMB04.amd.com (10.181.40.145) To SATLEXMB04.amd.com (10.181.40.145) X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL6PEPF0001AB51:EE_|PH8PR12MB7278:EE_ X-MS-Office365-Filtering-Correlation-Id: 224455e4-6ded-4e7c-07db-08dca32c2b25 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|376014|36860700013|82310400026|1800799024; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?pgvOBNLPYOg+TV+MNf/lKkD6B2U36uxmUOG7wus0BZ8yxHY9GLQ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rZKKIHm3wH+CNofvTW7b/Sgz6dy9LJgG7HDWiZ?= =?us-ascii?Q?Ry0MIjUjX7KKaXtdN9bThsSbXAW1+k702rA8CUH/FeXS2k/Q9H2J3NnFDM8C?= =?us-ascii?Q?eTjhJmuX9bLjEFOB+i+ujnZ5uoTEt1gPB8qZTKmmtQmE9cbPBjUZ/pcjF7tu?= =?us-ascii?Q?NCuLfd0MQs7tH0bp7rFEcpVu2IZCMd4zI+g2UaB1pR01g4zmeUwyzxQDmai8?= =?us-ascii?Q?AoBa7f4d/vGX6G5U0TzYgnO52BRxMuauNtQgBdZII1A6Myc2IyR7NRfUBFGF?= =?us-ascii?Q?7Ci0j8p5s5rsRGK2yinjOVoOFl1/UgRbdr1OTjV1CgmnNxvp9kwioi+e2T48?= =?us-ascii?Q?BobMaATFq2DJD+mMEwmL2flaSIT0OmIhxiXMK+V2oMAzOA8ac7+/K+k5aEgh?= =?us-ascii?Q?GlFxCP4rEYMJt6GEpeHSq09ViAGE+RtmP6r2HdFw4jITwvgYlIKPdmGIseIb?= =?us-ascii?Q?+XDsKz/JEGYfaYV52JOgHcPc4agzUXVSZwTozUNJ/LxXEkwzVyxsrlCczWWx?= =?us-ascii?Q?H2RmA8lPHgchsicxFENaMbGaIw0+hByX?= X-Forefront-Antispam-Report: CIP:165.204.84.17; CTRY:US; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:SATLEXMB04.amd.com; PTR:InfoDomainNonexistent; CAT:NONE; SFS:(13230040)(376014)(36860700013)(82310400026)(1800799024); DIR:OUT; SFP:1101; X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 13 Jul 2024 11:08:47.6878 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 224455e4-6ded-4e7c-07db-08dca32c2b25 X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d; Ip=[165.204.84.17]; Helo=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: BL6PEPF0001AB51.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR12MB7278 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 Introduce sections into AMD Linux getting start guide for 1. MAX LCORE 2. CPU power Signed-off-by: Vipin Varghese --- --- doc/guides/linux_gsg/amd_platform.rst | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/doc/guides/linux_gsg/amd_platform.rst b/doc/guides/linux_gsg/amd_platform.rst index c78c3bdcef..62962ff27a 100644 --- a/doc/guides/linux_gsg/amd_platform.rst +++ b/doc/guides/linux_gsg/amd_platform.rst @@ -71,3 +71,24 @@ Compiler -------- Refer to the `Compiler Flags` in tuning guide for recommended version and `-march` flags. + + +MAX LCORES +---------- + +Refer to the `Compilation` in tuning guide for allowing more threads to run as DPDK `lcores`. + + +Power +----- + +Core +~~~~ + +AMD EPYC SoC supports CPU power functions via `rte_power` API from `23.11 LTS` onwards. These are +tested and valdiated on MILAN, GENOA, BERGAMO and SIENA using Linux kernel `6.4` and above with amd_pstate +power driver. + +.. Note:: + * Power libraries are supported on Linux only. + * DPDK uncore support on Linux is work in progress. -- 2.34.1