get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 74629,
    "url": "https://patches.dpdk.org/api/patches/74629/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20200723161152.7791-1-maox.jiang@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": "<20200723161152.7791-1-maox.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200723161152.7791-1-maox.jiang@intel.com",
    "date": "2020-07-23T16:11:52",
    "name": "[v4,2/2] net/i40e: fix fdir allocating msix resource error",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "2c6437b262c821b1b59c09be5df7caea51523302",
    "submitter": {
        "id": 1630,
        "url": "https://patches.dpdk.org/api/people/1630/?format=api",
        "name": "Jiang Mao",
        "email": "maox.jiang@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/20200723161152.7791-1-maox.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 11244,
            "url": "https://patches.dpdk.org/api/series/11244/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11244",
            "date": "2020-07-23T16:11:52",
            "name": null,
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/11244/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/74629/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/74629/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 ABBC6A0526;\n\tThu, 23 Jul 2020 06:36:32 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 8D4CA1BFDB;\n\tThu, 23 Jul 2020 06:36:32 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by dpdk.org (Postfix) with ESMTP id 31946199BC;\n Thu, 23 Jul 2020 06:36:29 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Jul 2020 21:36:28 -0700",
            "from dut85.sh.intel.com (HELO localhost.localdomain)\n ([10.240.183.157])\n by orsmga002.jf.intel.com with ESMTP; 22 Jul 2020 21:36:26 -0700"
        ],
        "IronPort-SDR": [
            "\n dRJ1qmoHIT9NMZH5NfsLXHQW6cwD8U4h8lY2tbwG4p4MMBUlWZL+ChZZXh5vSNWBINeR92yq42\n OZFeDXYhPqtw==",
            "\n tU8l5s1fYO4ML3OISIYGcWefTMsPltS1MShYdQpoJaaSYR9PbJ+HWvYGPaSMyJC3HE76/1lyRC\n DUnd7Lpv3jOg=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9690\"; a=\"151773833\"",
            "E=Sophos;i=\"5.75,385,1589266800\"; d=\"scan'208\";a=\"151773833\"",
            "E=Sophos;i=\"5.75,385,1589266800\"; d=\"scan'208\";a=\"302178915\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Jiang Mao <maox.jiang@intel.com>",
        "To": "qi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org,\n\tstable@dpdk.org,\n\tJiang Mao <maox.jiang@intel.com>",
        "Date": "Fri, 24 Jul 2020 00:11:52 +0800",
        "Message-Id": "<20200723161152.7791-1-maox.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200722175738.32490-2-maox.jiang@intel.com>",
        "References": "<20200722175738.32490-2-maox.jiang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 2/2] net/i40e: fix fdir allocating msix\n\tresource error",
        "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": "Fdir allocating msix resource is not strictly necessary, if no\nresource left, jump the error.\n\nFixes: 4861cde461 (i40e: new poll mode driver)\nCc: stable@dpdk.org\n\nSigned-off-by: Jiang Mao <maox.jiang@intel.com>\n---\nV3: Move type I40E_VSI_FDIR branch into !I40E_VSI_SRIOV branch.\nV4: Rebase this patch.\n---\n drivers/net/i40e/i40e_ethdev.c | 10 +++++++---\n 1 file changed, 7 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c\nindex 0c32e451c5..f9a8e7132f 100644\n--- a/drivers/net/i40e/i40e_ethdev.c\n+++ b/drivers/net/i40e/i40e_ethdev.c\n@@ -5839,10 +5839,14 @@ i40e_vsi_setup(struct i40e_pf *pf,\n \t\tret = i40e_res_pool_alloc(&pf->msix_pool, 1);\n \t\tif (ret < 0) {\n \t\t\tPMD_DRV_LOG(ERR, \"VSI %d get heap failed %d\", vsi->seid, ret);\n-\t\t\tgoto fail_queue_alloc;\n+\t\t\tif (type != I40E_VSI_FDIR)\n+\t\t\t\tgoto fail_queue_alloc;\n+\t\t\tvsi->msix_intr = 0;\n+\t\t\tvsi->nb_msix = 0;\n+\t\t} else {\n+\t\t\tvsi->msix_intr = ret;\n+\t\t\tvsi->nb_msix = 1;\n \t\t}\n-\t\tvsi->msix_intr = ret;\n-\t\tvsi->nb_msix = 1;\n \t} else {\n \t\tvsi->msix_intr = 0;\n \t\tvsi->nb_msix = 0;\n",
    "prefixes": [
        "v4",
        "2/2"
    ]
}