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 EC43642EDA for ; Fri, 21 Jul 2023 15:35:38 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D7A7B42D40; Fri, 21 Jul 2023 15:35:38 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 16FEB40DDC for ; Fri, 21 Jul 2023 15:35:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1689946537; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cUk/92iqtd9YDxJRei2aHyjgXmOC8rH2WtOEaHu3Ny0=; b=C/UbiRVF1E67HAUKOkXp5mYCORQXw/EHR5RlQTkkuuLQo5qXmTPSi31FJW0HrfsNswb8Gu LMYqj7Q327cubFU5v28QI4TAySK8v9ySuiNFEDVZB68mI7IcQLtT7xMDOBJjPjp/BDIAPc /bkwi0ucESfIQKwMVyV+fl/j2FIVu8Y= Received: from mimecast-mx02.redhat.com (66.187.233.73 [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-400-IacT8D1RO3Kjo43Rdt7t0g-1; Fri, 21 Jul 2023 09:35:36 -0400 X-MC-Unique: IacT8D1RO3Kjo43Rdt7t0g-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com [10.11.54.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id ED99C1C041A1; Fri, 21 Jul 2023 13:35:35 +0000 (UTC) Received: from rh.redhat.com (unknown [10.39.192.15]) by smtp.corp.redhat.com (Postfix) with ESMTP id E349D140E949; Fri, 21 Jul 2023 13:35:34 +0000 (UTC) From: Kevin Traynor To: Junfeng Guo Cc: Jingjing Wu , dpdk stable Subject: patch 'doc: update BIOS settings and supported HW for NTB' has been queued to stable release 21.11.5 Date: Fri, 21 Jul 2023 14:35:06 +0100 Message-ID: <20230721133509.348959-11-ktraynor@redhat.com> In-Reply-To: <20230721133509.348959-1-ktraynor@redhat.com> References: <20230721133509.348959-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.7 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Hi, FYI, your patch has been queued to stable release 21.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/25/23. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable/commit/f6a2ff27686d5c629ed85c9a7df8913a3f239975 Thanks. Kevin --- >From f6a2ff27686d5c629ed85c9a7df8913a3f239975 Mon Sep 17 00:00:00 2001 From: Junfeng Guo Date: Mon, 3 Jul 2023 17:24:34 +0800 Subject: [PATCH] doc: update BIOS settings and supported HW for NTB [ upstream commit 00e57b0e550b7df2047e6d0bde8965c7ae17d203 ] Update BIOS settings and supported platform list for Intel NTB. Fixes: f5057be340e4 ("raw/ntb: support Intel Ice Lake") Signed-off-by: Junfeng Guo Acked-by: Jingjing Wu --- doc/guides/rawdevs/ntb.rst | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/doc/guides/rawdevs/ntb.rst b/doc/guides/rawdevs/ntb.rst index 2bb115d13f..f8befc6594 100644 --- a/doc/guides/rawdevs/ntb.rst +++ b/doc/guides/rawdevs/ntb.rst @@ -2,4 +2,6 @@ Copyright(c) 2018 Intel Corporation. +.. include:: + NTB Rawdev Driver ================= @@ -18,17 +20,21 @@ BIOS setting on Intel Xeon -------------------------- -Intel Non-transparent Bridge needs special BIOS setting. The reference for -Skylake is https://www.intel.com/content/dam/support/us/en/documents/server-products/Intel_Xeon_Processor_Scalable_Family_BIOS_User_Guide.pdf - -- Set the needed PCIe port as NTB to NTB mode on both hosts. -- Enable NTB bars and set bar size of bar 23 and bar 45 as 12-29 (4K-512M) - on both hosts (for Ice Lake, bar size can be set as 12-51, namely 4K-128PB). - Note that bar size on both hosts should be the same. -- Disable split bars for both hosts. -- Set crosslink control override as DSD/USP on one host, USD/DSP on - another host. -- Disable PCIe PII SSC (Spread Spectrum Clocking) for both hosts. This - is a hardware requirement. +Intel Non-transparent Bridge (NTB) needs special BIOS settings on both systems. +Note that for 4th Generation Intel\ |reg| Xeon\ |reg| Scalable Processors, +option ``Port Subsystem Mode`` should be changed from ``Gen5`` to ``Gen4 Only``, +then reboot. +- Set ``Non-Transparent Bridge PCIe Port Definition`` for needed PCIe ports + as ``NTB to NTB`` mode, on both hosts. +- Set ``Enable NTB BARs`` as ``Enabled``, on both hosts. +- Set ``Enable SPLIT BARs`` as ``Disabled``, on both hosts. +- Set ``Imbar1 Size``, ``Imbar2 Size``, ``Embar1 Size`` and ``Embar2 Size``, + as 12-29 (i.e., 4K-512M) for 2nd Generation Intel\ |reg| Xeon\ |reg| Scalable Processors; + as 12-51 (i.e., 4K-128PB) for 3rd and 4th Generation Intel\ |reg| Xeon\ |reg| Scalable Processors. + Note that those bar sizes on both hosts should be the same. +- Set ``Crosslink Control override`` as ``DSD/USP`` on one host, + ``USD/DSP`` on another host. +- Set ``PCIe PLL SSC (Spread Spectrum Clocking)`` as ``Disabled``, on both hosts. + This is a hardware requirement when using Re-timer Cards. Device Setup @@ -146,3 +152,7 @@ Limitation ---------- -- This PMD only supports Intel Skylake and Ice Lake platforms. +This PMD is only supported on Intel Xeon Platforms: + +- 4th Generation Intel® Xeon® Scalable Processors. +- 3rd Generation Intel® Xeon® Scalable Processors. +- 2nd Generation Intel® Xeon® Scalable Processors. -- 2.41.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2023-07-21 14:33:59.277928071 +0100 +++ 0011-doc-update-BIOS-settings-and-supported-HW-for-NTB.patch 2023-07-21 14:33:59.028253303 +0100 @@ -1 +1 @@ -From 00e57b0e550b7df2047e6d0bde8965c7ae17d203 Mon Sep 17 00:00:00 2001 +From f6a2ff27686d5c629ed85c9a7df8913a3f239975 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 00e57b0e550b7df2047e6d0bde8965c7ae17d203 ] + @@ -9 +10,0 @@ -Cc: stable@dpdk.org