get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52902,
    "url": "https://patches.dpdk.org/api/patches/52902/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1555566747-72489-1-git-send-email-beilei.xing@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<1555566747-72489-1-git-send-email-beilei.xing@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1555566747-72489-1-git-send-email-beilei.xing@intel.com",
    "date": "2019-04-18T05:52:27",
    "name": "net/i40e: fix print of not supported admin queue msg",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "cedf0d620d61620375d9f67b7e34ec39c9555afa",
    "submitter": {
        "id": 410,
        "url": "https://patches.dpdk.org/api/people/410/?format=api",
        "name": "Xing, Beilei",
        "email": "beilei.xing@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1555566747-72489-1-git-send-email-beilei.xing@intel.com/mbox/",
    "series": [
        {
            "id": 4368,
            "url": "https://patches.dpdk.org/api/series/4368/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=4368",
            "date": "2019-04-18T05:52:27",
            "name": "net/i40e: fix print of not supported admin queue msg",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/4368/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/52902/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/52902/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id C6EED1B944;\n\tThu, 18 Apr 2019 07:51:34 +0200 (CEST)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n\tby dpdk.org (Postfix) with ESMTP id 7AC581B93D;\n\tThu, 18 Apr 2019 07:51:33 +0200 (CEST)",
            "from orsmga003.jf.intel.com ([10.7.209.27])\n\tby orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t17 Apr 2019 22:51:30 -0700",
            "from unknown (HELO dpdk9.sh.intel.com) ([10.67.118.52])\n\tby orsmga003.jf.intel.com with ESMTP; 17 Apr 2019 22:51:31 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.60,364,1549958400\"; d=\"scan'208\";a=\"143688616\"",
        "From": "Beilei Xing <beilei.xing@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tstable@dpdk.org",
        "Date": "Thu, 18 Apr 2019 13:52:27 +0800",
        "Message-Id": "<1555566747-72489-1-git-send-email-beilei.xing@intel.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "Subject": "[dpdk-dev] [PATCH] net/i40e: fix print of not supported admin queue\n\tmsg",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "When launch testpmd with VF and quit testpmd, there'll\nbe lots of messages \"i40evf_handle_aq_msg(): Request 0\nis not supported yet\", which are triggered during VF\nreset and VF needn't do anything. So cancel alarm handler\nbefore VF reset to ignore the admin queue messages.\n\nFixes: e0e6a7f2154e (\"net/i40e: cancel alarm handler at the end of closure\")\nCc: stable@dpdk.org\n\nSigned-off-by: Beilei Xing <beilei.xing@intel.com>\n---\n drivers/net/i40e/i40e_ethdev_vf.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e/i40e_ethdev_vf.c\nindex 87c45f2..a348972 100644\n--- a/drivers/net/i40e/i40e_ethdev_vf.c\n+++ b/drivers/net/i40e/i40e_ethdev_vf.c\n@@ -2324,11 +2324,11 @@ i40evf_dev_close(struct rte_eth_dev *dev)\n \t */\n \ti40evf_dev_promiscuous_disable(dev);\n \ti40evf_dev_allmulticast_disable(dev);\n+\trte_eal_alarm_cancel(i40evf_dev_alarm_handler, dev);\n \n \ti40evf_reset_vf(dev);\n \ti40e_shutdown_adminq(hw);\n \ti40evf_disable_irq0(hw);\n-\trte_eal_alarm_cancel(i40evf_dev_alarm_handler, dev);\n \thw->adapter_closed = 1;\n }\n \n",
    "prefixes": []
}