Show a patch.

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

{
    "id": 74589,
    "url": "https://patches.dpdk.org/api/patches/74589/",
    "web_url": "https://patches.dpdk.org/patch/74589/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<20200721182242.5366-4-stephen@networkplumber.org>",
    "date": "2020-07-21T18:22:37",
    "name": "[v4,3/8] app/proc-info: hide EAL info messages",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "deb4ad8b98950e97ab7fc8f13cbd44b00bdb806e",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/patch/74589/mbox/",
    "series": [
        {
            "id": 11222,
            "url": "https://patches.dpdk.org/api/series/11222/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11222",
            "date": "2020-07-21T18:22:34",
            "name": "app/proc-info enhancements",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/11222/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74589/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74589/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "X-Gm-Message-State": "AOAM533ce/3PlVhCzP8EJhX/5koeW2dpXGZSQgzGeB23JP5BnF+NDK4U\n NSWqtE5o7ckalmb1o2hUYAxsYBoxTAq35Q==",
        "X-Google-Smtp-Source": "\n ABdhPJzUmoLKnFCl4gLfwHo+6KFf3fZ+IrMkodMNz368mQePBq5pZCEVcBxjFPEFmMzfzd0ZuBzPzA==",
        "List-Post": "<mailto:dev@dpdk.org>",
        "MIME-Version": "1.0",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200506193741.24117-1-stephen@networkplumber.org>\n <20200721182242.5366-1-stephen@networkplumber.org>",
        "Subject": "[dpdk-dev] [PATCH v4 3/8] app/proc-info: hide EAL info messages",
        "Sender": "\"dev\" <dev-bounces@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 AA337A0526;\n\tTue, 21 Jul 2020 20:23:22 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 5FED61C0AD;\n\tTue, 21 Jul 2020 20:23:02 +0200 (CEST)",
            "from mail-pf1-f195.google.com (mail-pf1-f195.google.com\n [209.85.210.195]) by dpdk.org (Postfix) with ESMTP id 3F61D1C037\n for <dev@dpdk.org>; Tue, 21 Jul 2020 20:22:57 +0200 (CEST)",
            "by mail-pf1-f195.google.com with SMTP id s26so11117459pfm.4\n for <dev@dpdk.org>; Tue, 21 Jul 2020 11:22:57 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n by smtp.gmail.com with ESMTPSA id 76sm21434031pfu.139.2020.07.21.11.22.54\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 21 Jul 2020 11:22:54 -0700 (PDT)"
        ],
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "X-Mailer": "git-send-email 2.27.0",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=/1V6xYLK+ALnDYRVtd4wKn0htZPkeHIvu9qpotfK7So=;\n b=atX7dBi6fLiejuKb3Wu27rrhyd5RlJe+pe5y1TV0Avm9knMDhw6aDTqZWH09YGzX4/\n DhWN/v6/DOeFCTWQdG2uRN2Jor/fmnqiNoVuZ32uLm+CvIE1q+sVZYFds1RKh0mLmjz1\n HNe79gHTqDXlh/Dhy9lphct0ybWbl/vakTDhPlAGWoFFNUe+Od/WDBkPixnx9cB0ahb0\n 2K5FCxhiKtiu6oN0cwD3EFYVgMlatgQjrHtzLlkgaPZnvezVSojrP4s2ndtzzu8bx/b5\n 1cC9KLI3vyPJHc/ihj7r2NJO06G1tVpyVFOKftR52IlUnamg/HLx00tuiuHlRv+TsUzV\n UZVg==",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=/1V6xYLK+ALnDYRVtd4wKn0htZPkeHIvu9qpotfK7So=;\n b=1gAOiH975hWVK8uLSrDnInFvyTeJ90lviqRYJuryNTRAecIc82W577Ch/DgpSQow3l\n WAVE4HrRQnSHxo6AKX6DaEJHNoGDpG3nr9E9diE8FUwL4k8IvYoEiFEcWrnc/+tbfCqh\n mWMgeoKwtsFukjpg7GEC6Qjw7uiwuT40eKTBCwWIT8pgBZIazXM4KSSOfMjvONfP6VL2\n ji9qUmVLXO8OvKuIW3npR+9Gqsyu7Agok05qv/gdIqkbZUaXDG4iW74JOpgYaNxCLsTL\n 4kCOn0/KLBZHqbI4L2HVgKl1uC6ERQsOnBt0t3ywxaFb/VcdQNoFw1lJ2UO55cGqEAvg\n uzmg==",
        "Date": "Tue, 21 Jul 2020 11:22:37 -0700",
        "Content-Transfer-Encoding": "8bit",
        "X-Received": "by 2002:a65:4c0b:: with SMTP id\n u11mr24123331pgq.383.1595355775835;\n Tue, 21 Jul 2020 11:22:55 -0700 (PDT)",
        "To": "dev@dpdk.org",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "In-Reply-To": "<20200721182242.5366-1-stephen@networkplumber.org>",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Hemant Agrawal <hemant.agrawal@nxp.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200721182242.5366-4-stephen@networkplumber.org>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "The DPDK EAL info messages at the start of a diagnostic application\nare not helpful to end user. Suppress them by setting log-level\nby default.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nAcked-by: Hemant Agrawal <hemant.agrawal@nxp.com>\n---\n app/proc-info/main.c | 10 ++++++----\n 1 file changed, 6 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/app/proc-info/main.c b/app/proc-info/main.c\nindex 049818bad51f..e4914191bef9 100644\n--- a/app/proc-info/main.c\n+++ b/app/proc-info/main.c\n@@ -1239,7 +1239,8 @@ main(int argc, char **argv)\n \tchar c_flag[] = \"-c1\";\n \tchar n_flag[] = \"-n4\";\n \tchar mp_flag[] = \"--proc-type=secondary\";\n-\tchar *argp[argc + 3];\n+\tchar log_flag[] = \"--log-level=6\";\n+\tchar *argp[argc + 4];\n \tuint16_t nb_ports;\n \n \t/* preparse app arguments */\n@@ -1253,18 +1254,19 @@ main(int argc, char **argv)\n \targp[1] = c_flag;\n \targp[2] = n_flag;\n \targp[3] = mp_flag;\n+\targp[4] = log_flag;\n \n \tfor (i = 1; i < argc; i++)\n-\t\targp[i + 3] = argv[i];\n+\t\targp[i + 4] = argv[i];\n \n-\targc += 3;\n+\targc += 4;\n \n \tret = rte_eal_init(argc, argp);\n \tif (ret < 0)\n \t\trte_panic(\"Cannot init EAL\\n\");\n \n \targc -= ret;\n-\targv += (ret - 3);\n+\targv += ret - 4;\n \n \tif (!rte_eal_primary_proc_alive(NULL))\n \t\trte_exit(EXIT_FAILURE, \"No primary DPDK process is running.\\n\");\n",
    "prefixes": [
        "v4",
        "3/8"
    ]
}