get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84079,
    "url": "http://patches.dpdk.org/api/patches/84079/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201113004642.17115-3-stevex.yang@intel.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": "<20201113004642.17115-3-stevex.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201113004642.17115-3-stevex.yang@intel.com",
    "date": "2020-11-13T00:46:42",
    "name": "[v3,2/2] net/iavf: fix the RSS error when VF port closed",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ca1ee996183766fa5b702a5e0adabd9b2a3a8e31",
    "submitter": {
        "id": 1883,
        "url": "http://patches.dpdk.org/api/people/1883/?format=api",
        "name": "Steve Yang",
        "email": "stevex.yang@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201113004642.17115-3-stevex.yang@intel.com/mbox/",
    "series": [
        {
            "id": 13855,
            "url": "http://patches.dpdk.org/api/series/13855/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13855",
            "date": "2020-11-13T00:46:41",
            "name": "[v3,1/2] net/iavf: fix reset VF doesn't notify PF to reset",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/13855/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84079/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84079/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 C42A7A0545;\n\tFri, 13 Nov 2020 01:48:51 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 9D8645B30;\n\tFri, 13 Nov 2020 01:48:27 +0100 (CET)",
            "from mga18.intel.com (mga18.intel.com [134.134.136.126])\n by dpdk.org (Postfix) with ESMTP id A961456A3\n for <dev@dpdk.org>; Fri, 13 Nov 2020 01:48:23 +0100 (CET)",
            "from orsmga005.jf.intel.com ([10.7.209.41])\n by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Nov 2020 16:48:22 -0800",
            "from intel-npg-odc-srv01.cd.intel.com ([10.240.178.136])\n by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 12 Nov 2020 16:48:20 -0800"
        ],
        "IronPort-SDR": [
            "\n bLxm66A0PC/w9T/yeC7xmZBm1dQbU1JqfDbmRz3ckrzuCJ9WP7Egk4G49Zvvj4uyXLor7dU369\n nLWNWEd5hRJw==",
            "\n R5qyaFAAd1I8poMRv4G/ocz7YbxVB8CXR6CwwiVul65dN2WCdPktMilPm4+reol8T6P8UCPsJ+\n 399fBBQ/ymUA=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9803\"; a=\"158183654\"",
            "E=Sophos;i=\"5.77,473,1596524400\"; d=\"scan'208\";a=\"158183654\"",
            "E=Sophos;i=\"5.77,473,1596524400\"; d=\"scan'208\";a=\"542465756\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "From": "Steve Yang <stevex.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qiming.yang@intel.com, beilei.xing@intel.com, jingjing.wu@intel.com,\n qi.z.zhang@intel.com, Steve Yang <stevex.yang@intel.com>",
        "Date": "Fri, 13 Nov 2020 00:46:42 +0000",
        "Message-Id": "<20201113004642.17115-3-stevex.yang@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20201113004642.17115-1-stevex.yang@intel.com>",
        "References": "<20201109065136.26807-1-stevex.yang@intel.com>\n <20201113004642.17115-1-stevex.yang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 2/2] net/iavf: fix the RSS error when VF port\n\tclosed",
        "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": "Check the VF RSS offload flag and ignore relative operation when\niavf hash uninit to avoid reset/close error.\n\nFixes: 7be10c3004be (\"net/iavf: add RSS configuration for VF\")\n\nSigned-off-by: Steve Yang <stevex.yang@intel.com>\n---\n drivers/net/iavf/iavf_hash.c | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c\nindex 8a5a6bb5a4..c4c73e6644 100644\n--- a/drivers/net/iavf/iavf_hash.c\n+++ b/drivers/net/iavf/iavf_hash.c\n@@ -1093,6 +1093,12 @@ iavf_hash_uninit(struct iavf_adapter *ad)\n \tif (vf->vf_reset)\n \t\treturn;\n \n+\tif (!vf->vf_res)\n+\t\treturn;\n+\n+\tif (!(vf->vf_res->vf_cap_flags & VIRTCHNL_VF_OFFLOAD_ADV_RSS_PF))\n+\t\treturn;\n+\n \tif (iavf_hash_default_set(ad, false))\n \t\tPMD_DRV_LOG(ERR, \"fail to delete default RSS\");\n \n",
    "prefixes": [
        "v3",
        "2/2"
    ]
}