From patchwork Tue May 4 12:42:27 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 92727 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 80DA4A0562; Tue, 4 May 2021 14:42:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE17740147; Tue, 4 May 2021 14:42:51 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 5F69E40141 for ; Tue, 4 May 2021 14:42:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620132169; 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=JkHA0yjLO5pfiGeXF0l4kQS6RSSO8vi7S6bl+JEmbrA=; b=cMIAPeVnG6Bpm4C+zxApP+2sqb+xbEd3vXkuoEAH0G+kuIwqlmKSV7RMJO0JikfUsXhg5B mU+EC0AdUsSFstBmNV269e1YhsVV+Ii8tFUIdWreWDh4kbKMUZsYDJhA+uWrcQbsqGsO07 GhfHNtRk7yRV+MRUtrrykU2EJ5OEAxA= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-501-r_l5pSoLN7GHoaw0CX1S9g-1; Tue, 04 May 2021 08:42:45 -0400 X-MC-Unique: r_l5pSoLN7GHoaw0CX1S9g-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 31064803F46; Tue, 4 May 2021 12:42:43 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.99]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5866C90BD; Tue, 4 May 2021 12:42:37 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, Jerin Jacob , Ruifeng Wang , Jan Viktorin , Bruce Richardson , =?utf-8?q?Juraj_Linke=C5=A1?= , Honnappa Nagarahalli , Pavan Nikhilesh , Viacheslav Ovsiienko , Liron Himi , Nithin Dabilpuram , Lijun Ou , Chengchang Tang Date: Tue, 4 May 2021 14:42:27 +0200 Message-Id: <20210504124227.15033-1-david.marchand@redhat.com> In-Reply-To: <20210429070751.6065-1-david.marchand@redhat.com> References: <20210429070751.6065-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH v2] doc: fix Arm socs list 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" Keep the list of socs in a single place and include it so that the documentation won't get outdated. Fixes: 8f5ea6a464ac ("config/arm: fix implementer and its SoCs") Fixes: 1b4c86a721c9 ("config/arm: add Marvell CN10K") Fixes: 7cf32a22b240 ("config/arm: add Hisilicon kunpeng") Signed-off-by: David Marchand Reviewed-by: Jerin Jacob Reviewed-by: Ruifeng Wang --- Changes since v1: - made use of an anonymous string literal instead of comments, - dropped the #guide_doc tag, --- config/arm/meson.build | 21 +++++++++++++++++++ .../linux_gsg/cross_build_dpdk_for_arm64.rst | 18 +++++----------- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/config/arm/meson.build b/config/arm/meson.build index 22cd81319c..65f7ac672d 100644 --- a/config/arm/meson.build +++ b/config/arm/meson.build @@ -321,6 +321,27 @@ soc_thunderxt88 = { 'part_number': '0xa1' } +''' +Start of socs list +generic: Generic un-optimized build for all aarch64 machines. +armada: Marvell ARMADA +bluefield: NVIDIA BlueField +cn10k: Marvell OCTEON 10 +dpaa: NXP DPAA +emag: Ampere eMAG +graviton2: AWS Graviton2 +kunpeng920: HiSilicon Kunpeng 920 +kunpeng930: HiSilicon Kunpeng 930 +n1sdp: Arm Neoverse N1SDP +n2: Arm Neoverse N2 +octeontx2: Marvell OCTEON TX2 +stingray: Broadcom Stingray +thunderx2: Marvell ThunderX2 T99 +thunderxt88: Marvell ThunderX T88 +End of socs list +''' +# The string above is included in the documentation, keep it in sync with the +# socs list below. socs = { 'generic': soc_generic, 'armada': soc_armada, diff --git a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst index 3857cdefe9..274e793d7f 100644 --- a/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst +++ b/doc/guides/linux_gsg/cross_build_dpdk_for_arm64.rst @@ -197,19 +197,11 @@ option:: meson soc_build -Dplatform= -Substitute with one of the supported SoCs:: - - generic: Generic un-optimized build for all aarch64 machines. - armada: Marvell ARMADA - bluefield: NVIDIA BlueField - dpaa: NXP DPAA - emag: Ampere eMAG - graviton2: AWS Graviton2 - n1sdp: Arm Neoverse N1SDP - octeontx2: Marvell OCTEON TX2 - stingray: Broadcom Stingray - thunderx2: Marvell ThunderX2 T99 - thunderxt88: Marvell ThunderX T88 +Substitute with one of the supported SoCs + +.. literalinclude:: ../../../config/arm/meson.build + :start-after: Start of socs list + :end-before: End of socs list These SoCs are also used in cross files, e.g.::