Show a patch.

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

{
    "id": 74528,
    "url": "https://patches.dpdk.org/api/patches/74528/",
    "web_url": "https://patches.dpdk.org/patch/74528/",
    "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": "<20200721074000.30449-6-guinanx.sun@intel.com>",
    "date": "2020-07-21T07:39:57",
    "name": "[5/8] net/i40e/base: check return value of DNL admin command",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "ac2034b147829c072d41e565c3bd464d3acd16f9",
    "submitter": {
        "id": 1476,
        "url": "https://patches.dpdk.org/api/people/1476/",
        "name": "Guinan Sun",
        "email": "guinanx.sun@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/patch/74528/mbox/",
    "series": [
        {
            "id": 11193,
            "url": "https://patches.dpdk.org/api/series/11193/",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11193",
            "date": "2020-07-21T07:39:52",
            "name": "update i40e base code",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11193/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74528/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74528/checks/",
    "tags": {},
    "headers": {
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9688\"; a=\"147586162\"",
            "E=Sophos;i=\"5.75,378,1589266800\"; d=\"scan'208\";a=\"147586162\"",
            "E=Sophos;i=\"5.75,378,1589266800\"; d=\"scan'208\";a=\"301541671\""
        ],
        "IronPort-SDR": [
            "\n WauGeSUbdapB8mR6UA5O2aZqkHyUzXsHzg3+xrVdZkdR9+7c8k9IxOJh3u/WLh/aG3HCuA4+7C\n MHzRZWgUrd/g==",
            "\n aqBp31TfxbsCqpHzhgnpVd9B8hq9iYd5Wn2N9rMs+k3hIP4sCMq/lpTDR9WFcApvEVY2Trot5P\n wfTB1iL3k8mw=="
        ],
        "X-Amp-File-Uploaded": "False",
        "Precedence": "list",
        "X-Mailman-Version": "2.1.15",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "X-BeenThere": "dev@dpdk.org",
        "References": "<20200721074000.30449-1-guinanx.sun@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 5/8] net/i40e/base: check return value of DNL\n\tadmin command",
        "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 9BD4BA0526;\n\tTue, 21 Jul 2020 10:05:21 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C73251C036;\n\tTue, 21 Jul 2020 10:04:45 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id A3FF51C066\n for <dev@dpdk.org>; Tue, 21 Jul 2020 10:04:43 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Jul 2020 01:04:43 -0700",
            "from intel.sh.intel.com ([10.239.255.18])\n by orsmga002.jf.intel.com with ESMTP; 21 Jul 2020 01:04:41 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "X-Mailer": "git-send-email 2.17.1",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "X-ExtLoop1": "1",
        "Date": "Tue, 21 Jul 2020 07:39:57 +0000",
        "To": "dev@dpdk.org",
        "From": "Guinan Sun <guinanx.sun@intel.com>",
        "In-Reply-To": "<20200721074000.30449-1-guinanx.sun@intel.com>",
        "Cc": "Beilei Xing <beilei.xing@intel.com>, Jeff Guo <jia.guo@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>,\n Adam Ludkiewicz <adam.ludkiewicz@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Message-Id": "<20200721074000.30449-6-guinanx.sun@intel.com>",
        "Return-Path": "<dev-bounces@dpdk.org>"
    },
    "content": "Check return value of running DNL admin command.\n\nSigned-off-by: Adam Ludkiewicz <adam.ludkiewicz@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\n drivers/net/i40e/base/i40e_common.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c\nindex 46a0b7881..85c22849e 100644\n--- a/drivers/net/i40e/base/i40e_common.c\n+++ b/drivers/net/i40e/base/i40e_common.c\n@@ -7097,7 +7097,7 @@ enum i40e_status_code i40e_get_lpi_counters(struct i40e_hw *hw,\n \t\t\t\tI40E_AQ_RUN_PHY_ACT_DNL_OPCODE_GET_EEE_STAT,\n \t\t\t\t&cmd_status, tx_counter, rx_counter, NULL);\n \n-\t\tif (cmd_status != I40E_AQ_RUN_PHY_ACT_CMD_STAT_SUCC)\n+\t\tif (!retval && cmd_status != I40E_AQ_RUN_PHY_ACT_CMD_STAT_SUCC)\n \t\t\tretval = I40E_ERR_ADMIN_QUEUE_ERROR;\n \n \t\treturn retval;\n",
    "prefixes": [
        "5/8"
    ]
}