get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/72274/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 72274,
    "url": "http://patches.dpdk.org/api/patches/72274/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1593186965-17954-2-git-send-email-hkalra@marvell.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<1593186965-17954-2-git-send-email-hkalra@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1593186965-17954-2-git-send-email-hkalra@marvell.com",
    "date": "2020-06-26T15:56:05",
    "name": "[2/2] doc: update octeontx platform guide",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5b78716e1b7af772126bca073e0f1b6f17b523d6",
    "submitter": {
        "id": 1182,
        "url": "http://patches.dpdk.org/api/people/1182/?format=api",
        "name": "Harman Kalra",
        "email": "hkalra@marvell.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1593186965-17954-2-git-send-email-hkalra@marvell.com/mbox/",
    "series": [
        {
            "id": 10638,
            "url": "http://patches.dpdk.org/api/series/10638/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=10638",
            "date": "2020-06-26T15:56:04",
            "name": "[1/2] doc: update octeontx2 platform guide",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/10638/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/72274/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/72274/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E7CF4A051C;\n\tFri, 26 Jun 2020 17:56:42 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 369301C0C1;\n\tFri, 26 Jun 2020 17:56:41 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 595061BFB3\n for <dev@dpdk.org>; Fri, 26 Jun 2020 17:56:39 +0200 (CEST)",
            "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 05QFuJW8014561; Fri, 26 Jun 2020 08:56:38 -0700",
            "from sc-exch04.marvell.com ([199.233.58.184])\n by mx0b-0016f401.pphosted.com with ESMTP id 31wa37j5am-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 26 Jun 2020 08:56:38 -0700",
            "from SC-EXCH02.marvell.com (10.93.176.82) by SC-EXCH04.marvell.com\n (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 26 Jun\n 2020 08:56:37 -0700",
            "from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.176)\n by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id\n 15.0.1497.2 via Frontend Transport; Fri, 26 Jun 2020 08:56:36 -0700",
            "from MWHPR18MB1070.namprd18.prod.outlook.com (2603:10b6:300:a5::11)\n by MW3PR18MB3531.namprd18.prod.outlook.com (2603:10b6:303:2d::17)\n with Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.21; Fri, 26 Jun\n 2020 15:56:35 +0000",
            "from MWHPR18MB1070.namprd18.prod.outlook.com\n ([fe80::e895:bdac:e157:2ed2]) by MWHPR18MB1070.namprd18.prod.outlook.com\n ([fe80::e895:bdac:e157:2ed2%11]) with mapi id 15.20.3131.025; Fri, 26 Jun\n 2020 15:56:35 +0000",
            "from hkarlara-OptiPlex-3046.marvell.com (115.113.156.2) by\n PN1PR0101CA0003.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c00:e::13) with\n Microsoft SMTP Server (version=TLS1_2,\n cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.3131.20 via Frontend\n Transport; Fri, 26 Jun 2020 15:56:33 +0000"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : content-type :\n content-transfer-encoding : mime-version; s=pfpt0818;\n bh=h+Wr2bZqWZlAAaMU6iR9GDzHn0iI99azy8TQavZaolU=;\n b=s4zsMhxzK64ORxMADn6R7HvWmUAbfImUaNrZzTMQ00cyuq1p1KShLs9ifmBbJ7UCo0XH\n G8mygcTB5vIjIBammMbyfs3UVHq2A6De4M8CAbGN1pnzbPlkBxB4D/dE6+LhkbHCd23l\n Pohalllrpwaks9qdS96Z8LA8wlbehG9YdnK/hlGMJxhD70e7UISU78wTAo7A6mXpR5tz\n lrXf/vTNNKW5428U8ZU0J8g9vE8u4W6trUd/J/pQKnkFgqM1q8KWyetQQFTh1Fh/m0L/\n yqjARj68+ZTxwqJ2e/TOTDrFP7ft8gIGaxsr2xfT/KVPPVKw6LWmfvj/DCB7Xfr85Ksr NA==",
            "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=h+Wr2bZqWZlAAaMU6iR9GDzHn0iI99azy8TQavZaolU=;\n b=nNmLwI4NnKuhcV+dWm2ObcL0bR6mTRDV54v//0qmcoiSHM4O7zGiPQpQMfP1DSHK/qnG/6nrug9CFXYg/RmgO1CEh5dzIS0camJOJfX0uWTGAYiz1ABwVxEze84ygA7AIO4wzaGbu0QuoJrvfVFqvQ6cGGYQ0CGjSt4SETnv7qY="
        ],
        "ARC-Seal": "i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;\n b=mBgHa8KNTXehf+bXr3gp0CBCdwXWiQozWje40/eaWhRsPKOmaZ7EzE14z1JqUwzAd2bpLkO6li+DrnDAwHaiot5njDvb5nbtz+mX0NdHjTI8l2tIYP70u8EjZqQ0uTL+M4iBb8ADRLJ1IUVeV/ZY5hCMGVqZ5EoHSBL38ftKrCp6Uy31bnbQ6hXW8Wks/+d6CKzezS2i1WgKFr90/Z+KjmMFNFngSfj00ULqf27nmO6i8mroOE1eKwtIaCCZArdeZts3cBWnGE/jD5Kt71lBroSUo3kwxWJhMKg/gjLOrxUt3WbnQkjeQNT3cyxPekvcQoImK4jSOmmlT/Fa3TjleQ==",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;\n s=arcselector9901;\n h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;\n bh=h+Wr2bZqWZlAAaMU6iR9GDzHn0iI99azy8TQavZaolU=;\n b=OLTvkNA/GwNqTDyUIENVOVfYFc2fNpmG7lVRNX9A2dI818F4eJ4+LHr4qUnbbuoUhpDm6MJre1hbign95ZEEeihpZYQPOgW10Q/5Sg9l2ie6XIj71Y2UqcZ2hQO6jN/J4MRLpAQexnn47Lm4WNcsK/i1nF8WFBmeIs6goLXjAx0lZa32N7egyLU1IGo0MsoqCooXqdAhbSl6CQfa9nmQ27uqV6X9470C3GxU5mhqKxu1SeX7glqS+4ZCLdNGQPHaikw6oqhzEmhbnvENoIkZhpAi4s38EfnR12sGthK00WM1LFXpIn328byDtpEQRQ6WU6s0wUlFkMBYOY7AB7anXw==",
        "ARC-Authentication-Results": "i=1; mx.microsoft.com 1; spf=pass\n smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com;\n dkim=pass header.d=marvell.com; arc=none",
        "Authentication-Results": "intel.com; dkim=none (message not signed)\n header.d=none;intel.com; dmarc=none action=none header.from=marvell.com;",
        "From": "Harman Kalra <hkalra@marvell.com>",
        "To": "John McNamara <john.mcnamara@intel.com>, Marko Kovacevic\n <marko.kovacevic@intel.com>",
        "CC": "<dev@dpdk.org>, Harman Kalra <hkalra@marvell.com>",
        "Date": "Fri, 26 Jun 2020 21:26:05 +0530",
        "Message-ID": "<1593186965-17954-2-git-send-email-hkalra@marvell.com>",
        "X-Mailer": [
            "git-send-email 2.7.4",
            "git-send-email 2.7.4"
        ],
        "In-Reply-To": "<1593186965-17954-1-git-send-email-hkalra@marvell.com>",
        "References": "<1593186965-17954-1-git-send-email-hkalra@marvell.com>",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-ClientProxiedBy": "PN1PR0101CA0003.INDPRD01.PROD.OUTLOOK.COM\n (2603:1096:c00:e::13) To MWHPR18MB1070.namprd18.prod.outlook.com\n (2603:10b6:300:a5::11)",
        "MIME-Version": "1.0",
        "X-MS-Exchange-MessageSentRepresentingType": "1",
        "X-Originating-IP": "[115.113.156.2]",
        "X-MS-PublicTrafficType": "Email",
        "X-MS-Office365-Filtering-Correlation-Id": "64ab93d4-e146-41d1-26e2-08d819e98095",
        "X-MS-TrafficTypeDiagnostic": "MW3PR18MB3531:",
        "X-MS-Exchange-Transport-Forked": "True",
        "X-Microsoft-Antispam-PRVS": "\n <MW3PR18MB35310B9277D3E3A91F620B13C5930@MW3PR18MB3531.namprd18.prod.outlook.com>",
        "X-MS-Oob-TLC-OOBClassifiers": "OLM:9508;",
        "X-Forefront-PRVS": "0446F0FCE1",
        "X-MS-Exchange-SenderADCheck": "1",
        "X-Microsoft-Antispam": "BCL:0;",
        "X-Microsoft-Antispam-Message-Info": "\n hbVbFvMOv7Hds7MVpm3CHYr0PJeXnOWGqErICUvMEQAu72IqaxRW0mFQUblDrFA4vsWNQwzVwJM4h2HGowHtTgxvmINbuGW8qu70BERA45Ykjr7Ih3D6z7B03/qL1sqbfa+G+laKznwQ5KeVrsXwdfTSmWs5CTSgcC5cZWJH0ncdYY4U4lMUUiWhsTcgRieoIRVY5y6yfAFpfEZu0rXZYAR4t/3x71FAObqYMsRyjOZRnfCbJCjdFrEoTn2TVQ5ooryYLaR5PU6K5FrYtIU071TnEDIxbHmsTWuUDqKxiRILuL8u3idS2iuWnpHhCdUrMaDcZH6H3YKYcpuve06/Bp7rHO2iFvCJp07BFrRND0XU5n1DGcFhhb81HE7d0RdGAyKyQy7H4+m/zIf4iRmgEw==",
        "X-Forefront-Antispam-Report": "CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;\n IPV:NLI; SFV:NSPM; H:MWHPR18MB1070.namprd18.prod.outlook.com; PTR:; CAT:NONE;\n SFTY:;\n SFS:(4636009)(39850400004)(396003)(366004)(346002)(376002)(136003)(6666004)(83380400001)(36756003)(107886003)(966005)(478600001)(86362001)(26005)(16526019)(66556008)(186003)(52116002)(66476007)(55236004)(7696005)(66946007)(2616005)(4326008)(8936002)(2906002)(956004)(110136005)(6486002)(316002)(8676002)(5660300002);\n DIR:OUT; SFP:1101;",
        "X-MS-Exchange-AntiSpam-MessageData": "\n aNcOnw9IuqjYWH6+L+NH7/iqX6HM7C9QCR8EMWi+KYRKQZMpleCCM03LZgJNazrqHM+kFIANOTP0cHLs90IIhtEjiejKn8sJ/m35Uni1GRs4wTFQLTeNEB1jLRaza25IfSiSL9vpGSmIL5kGybfIWxUEoshf4ijQMP3vvxDUY1JpalFO4kl3uV6kRbbxuOyQnStaRQFw1dspcT3gUSjA4wlxNRnoMATE4X2d05+M+FSzn7pRj8EJEmz19PXyr+OiQyZUoe7OxdKx9MBsCehqASN/ptViZAvBwyPMBquucAFrbA5zALs5tqC78Z9Tt4k65Px9G4OknT/BdIwLQvHr2cwRZ30ejqjXW8tBA17HEuI+CniH8tZypSRCOWGs+Yg9p0yyAp+veL+RhV4WoRdYa21xlCjVlWGiTd1+WzzTzftOJ5971UnDVyqG1zQN0ogfWTtWtM0cQs8N4NnYU0Mo2gpqr7dgxeo03PFIwrnZGEM=",
        "X-MS-Exchange-CrossTenant-Network-Message-Id": "\n 64ab93d4-e146-41d1-26e2-08d819e98095",
        "X-MS-Exchange-CrossTenant-AuthSource": "MWHPR18MB1070.namprd18.prod.outlook.com",
        "X-MS-Exchange-CrossTenant-AuthAs": "Internal",
        "X-MS-Exchange-CrossTenant-OriginalArrivalTime": "26 Jun 2020 15:56:35.3035 (UTC)",
        "X-MS-Exchange-CrossTenant-FromEntityHeader": "Hosted",
        "X-MS-Exchange-CrossTenant-Id": "70e1fb47-1155-421d-87fc-2e58f638b6e0",
        "X-MS-Exchange-CrossTenant-MailboxType": "HOSTED",
        "X-MS-Exchange-CrossTenant-UserPrincipalName": "\n B4Lj/LSInnFWG+9Vwukhn0SGe/jiPzV+Qy+vPO62A+3dgSXVDXi+GGQZuzpRY//9e3NXwPMmu81P6g5SKdqiRQ==",
        "X-MS-Exchange-Transport-CrossTenantHeadersStamped": "MW3PR18MB3531",
        "X-OriginatorOrg": "marvell.com",
        "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.216, 18.0.687\n definitions=2020-06-26_08:2020-06-26,\n 2020-06-26 signatures=0",
        "Subject": "[dpdk-dev] [PATCH 2/2] doc: update octeontx platform guide",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Removing make build instructions from the platform guide\nas building DPDK sources using 'make' will be deprecated\nin future releases.\n\nSigned-off-by: Harman Kalra <hkalra@marvell.com>\n---\n doc/guides/platform/octeontx.rst | 52 ++++++++++++++------------------\n 1 file changed, 22 insertions(+), 30 deletions(-)",
    "diff": "diff --git a/doc/guides/platform/octeontx.rst b/doc/guides/platform/octeontx.rst\nindex 7d1cb647d..57129552e 100644\n--- a/doc/guides/platform/octeontx.rst\n+++ b/doc/guides/platform/octeontx.rst\n@@ -95,18 +95,16 @@ drivers can be compiled with the following steps,\n .. code-block:: console\n \n         cd <dpdk directory>\n-        make config T=arm64-thunderx-linux-gcc\n-        make\n+        meson build\n+        ninja -C build\n \n The example applications can be compiled using the following:\n \n .. code-block:: console\n \n         cd <dpdk directory>\n-        export RTE_SDK=$PWD\n-        export RTE_TARGET=build\n-        cd examples/<application>\n-        make\n+        meson build -Dexamples=<application>\n+        ninja -C build\n \n Cross Compilation\n ~~~~~~~~~~~~~~~~~\n@@ -115,47 +113,41 @@ The DPDK applications can be cross-compiled on any x86 based platform. The\n OCTEON TX SDK need to be installed on the build system. The SDK package will\n provide the required toolchain etc.\n \n-Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for further steps on\n-compilation. The 'host' & 'CC' to be used in the commands would change,\n-in addition to the paths to which libnuma related files have to be\n-copied.\n+Refer to :doc:`../linux_gsg/cross_build_dpdk_for_arm64` for generic arm64 details.\n \n The following steps can be used to perform cross-compilation with OCTEON TX\n SDK 6.2.0 patch 3:\n \n+meson build\n+^^^^^^^^^^^\n+\n .. code-block:: console\n \n         cd <sdk_install_dir>\n         source env-setup\n \n-        git clone https://github.com/numactl/numactl.git\n-        cd numactl\n-        git checkout v2.0.11 -b v2.0.11\n-        ./autogen.sh\n-        autoconf -i\n-        ./configure --host=aarch64-thunderx-linux CC=aarch64-thunderx-linux-gnu-gcc --prefix=<numa install dir>\n-        make install\n-\n-The above steps will prepare build system with numa additions. Now this build system can be used\n-to build applications for **OCTEON TX** :sup:`®` platforms.\n+The above steps will prepare build system with required toolchain. Now this build\n+system can be used to build applications for **OCTEON TX** :sup:`®` platforms.\n \n .. code-block:: console\n \n         cd <dpdk directory>\n-        export RTE_SDK=$PWD\n-        export RTE_KERNELDIR=$THUNDER_ROOT/linux/kernel/linux\n-        make config T=arm64-thunderx-linux-gcc\n-        make -j CROSS=aarch64-thunderx-linux-gnu- CONFIG_RTE_KNI_KMOD=n CONFIG_RTE_EAL_IGB_UIO=n EXTRA_CFLAGS=\"-isystem <numa_install_dir>/include\" EXTRA_LDFLAGS=\"-L<numa_install_dir>/lib -lnuma\"\n-\n-If NUMA support is not required, it can be disabled as explained in\n-:doc:`../linux_gsg/cross_build_dpdk_for_arm64`.\n+        meson build --cross-file config/arm/arm64_thunderx_linux_gcc\n+        ninja -C build\n \n-Following steps could be used in that case.\n+The example applications can be compiled using the following:\n \n .. code-block:: console\n \n-        make config T=arm64-thunderx-linux-gcc\n-        make CROSS=aarch64-thunderx-linux-gnu-\n+        cd <dpdk directory>\n+        meson build --cross-file config/arm/arm64_thunderx_linux_gcc -Dexamples=<application>\n+        ninja -C build\n+\n+.. note::\n \n+   By default, meson cross compilation uses ``aarch64-linux-gnu-gcc`` toolchain,\n+   if OCTEON TX SDK 6.2.0 patch 3 is available then it can be used by\n+   overriding the c, cpp, ar, strip ``binaries`` attributes to respective thunderx\n+   toolchain binaries in ``config/arm/arm64_thunderx_linux_gcc`` file.\n \n SDK and related information can be obtained from: `Cavium support site <https://support.cavium.com/>`_.\n",
    "prefixes": [
        "2/2"
    ]
}