get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 63529,
    "url": "http://patches.dpdk.org/api/patches/63529/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20191203070318.39620-8-qi.z.zhang@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": "<20191203070318.39620-8-qi.z.zhang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20191203070318.39620-8-qi.z.zhang@intel.com",
    "date": "2019-12-03T07:03:08",
    "name": "[07/17] net/iavf/base: rename functions",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "96f645a27114927dad9d40ad7556bdbf3d77dcc5",
    "submitter": {
        "id": 504,
        "url": "http://patches.dpdk.org/api/people/504/?format=api",
        "name": "Qi Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "delegate": {
        "id": 31221,
        "url": "http://patches.dpdk.org/api/users/31221/?format=api",
        "username": "yexl",
        "first_name": "xiaolong",
        "last_name": "ye",
        "email": "xiaolong.ye@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20191203070318.39620-8-qi.z.zhang@intel.com/mbox/",
    "series": [
        {
            "id": 7716,
            "url": "http://patches.dpdk.org/api/series/7716/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7716",
            "date": "2019-12-03T07:03:01",
            "name": "iavf base code update",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/7716/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/63529/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/63529/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 616B6A04B5;\n\tTue,  3 Dec 2019 08:01:36 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 7BE8E1BF78;\n\tTue,  3 Dec 2019 08:00:32 +0100 (CET)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 63D501BF70\n for <dev@dpdk.org>; Tue,  3 Dec 2019 08:00:26 +0100 (CET)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 02 Dec 2019 23:00:26 -0800",
            "from dpdk51.sh.intel.com ([10.67.110.245])\n by fmsmga005.fm.intel.com with ESMTP; 02 Dec 2019 23:00:24 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.69,272,1571727600\"; d=\"scan'208\";a=\"410729700\"",
        "From": "Qi Zhang <qi.z.zhang@intel.com>",
        "To": "xiaolong.ye@intel.com",
        "Cc": "haiyue.wang@intel.com, dev@dpdk.org, Qi Zhang <qi.z.zhang@intel.com>,\n Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>",
        "Date": "Tue,  3 Dec 2019 15:03:08 +0800",
        "Message-Id": "<20191203070318.39620-8-qi.z.zhang@intel.com>",
        "X-Mailer": "git-send-email 2.13.6",
        "In-Reply-To": "<20191203070318.39620-1-qi.z.zhang@intel.com>",
        "References": "<20191203070318.39620-1-qi.z.zhang@intel.com>",
        "Subject": "[dpdk-dev] [PATCH 07/17] net/iavf/base: rename functions",
        "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": "Rename iavf_parse_hw_config to iavf_vf_parse_hw_config.\nRename iavf_reset to iavf_vf_reset.\n\nSigned-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>\nSigned-off-by: Qi Zhang <qi.z.zhang@intel.com>\n---\n drivers/net/iavf/base/iavf_common.c    | 8 ++++----\n drivers/net/iavf/base/iavf_prototype.h | 4 ++--\n drivers/net/iavf/iavf_vchnl.c          | 2 +-\n 3 files changed, 7 insertions(+), 7 deletions(-)",
    "diff": "diff --git a/drivers/net/iavf/base/iavf_common.c b/drivers/net/iavf/base/iavf_common.c\nindex 53e877732..b6e875440 100644\n--- a/drivers/net/iavf/base/iavf_common.c\n+++ b/drivers/net/iavf/base/iavf_common.c\n@@ -955,14 +955,14 @@ enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,\n }\n \n /**\n- * iavf_parse_hw_config\n+ * iavf_vf_parse_hw_config\n  * @hw: pointer to the hardware structure\n  * @msg: pointer to the virtual channel VF resource structure\n  *\n  * Given a VF resource message from the PF, populate the hw struct\n  * with appropriate information.\n  **/\n-void iavf_parse_hw_config(struct iavf_hw *hw,\n+void iavf_vf_parse_hw_config(struct iavf_hw *hw,\n \t\t\t     struct virtchnl_vf_resource *msg)\n {\n \tstruct virtchnl_vsi_resource *vsi_res;\n@@ -991,14 +991,14 @@ void iavf_parse_hw_config(struct iavf_hw *hw,\n }\n \n /**\n- * iavf_reset\n+ * iavf_vf_reset\n  * @hw: pointer to the hardware structure\n  *\n  * Send a VF_RESET message to the PF. Does not wait for response from PF\n  * as none will be forthcoming. Immediately after calling this function,\n  * the admin queue should be shut down and (optionally) reinitialized.\n  **/\n-enum iavf_status iavf_reset(struct iavf_hw *hw)\n+enum iavf_status iavf_vf_reset(struct iavf_hw *hw)\n {\n \treturn iavf_aq_send_msg_to_pf(hw, VIRTCHNL_OP_RESET_VF,\n \t\t\t\t      IAVF_SUCCESS, NULL, 0, NULL);\ndiff --git a/drivers/net/iavf/base/iavf_prototype.h b/drivers/net/iavf/base/iavf_prototype.h\nindex 5b61b43d9..36b5a17f8 100644\n--- a/drivers/net/iavf/base/iavf_prototype.h\n+++ b/drivers/net/iavf/base/iavf_prototype.h\n@@ -76,9 +76,9 @@ void iavf_acquire_spinlock(struct iavf_spinlock *sp);\n void iavf_release_spinlock(struct iavf_spinlock *sp);\n void iavf_destroy_spinlock(struct iavf_spinlock *sp);\n \n-void iavf_parse_hw_config(struct iavf_hw *hw,\n+void iavf_vf_parse_hw_config(struct iavf_hw *hw,\n \t\t\t     struct virtchnl_vf_resource *msg);\n-enum iavf_status iavf_reset(struct iavf_hw *hw);\n+enum iavf_status iavf_vf_reset(struct iavf_hw *hw);\n enum iavf_status iavf_aq_send_msg_to_pf(struct iavf_hw *hw,\n \t\t\t\tenum virtchnl_ops v_opcode,\n \t\t\t\tenum iavf_status v_retval,\ndiff --git a/drivers/net/iavf/iavf_vchnl.c b/drivers/net/iavf/iavf_vchnl.c\nindex 4320a7f91..bf87ab611 100644\n--- a/drivers/net/iavf/iavf_vchnl.c\n+++ b/drivers/net/iavf/iavf_vchnl.c\n@@ -363,7 +363,7 @@ iavf_get_vf_resource(struct iavf_adapter *adapter)\n \trte_memcpy(vf->vf_res, args.out_buffer,\n \t\t   RTE_MIN(args.out_size, len));\n \t/* parse  VF config message back from PF*/\n-\tiavf_parse_hw_config(hw, vf->vf_res);\n+\tiavf_vf_parse_hw_config(hw, vf->vf_res);\n \tfor (i = 0; i < vf->vf_res->num_vsis; i++) {\n \t\tif (vf->vf_res->vsi_res[i].vsi_type == VIRTCHNL_VSI_SRIOV)\n \t\t\tvf->vsi_res = &vf->vf_res->vsi_res[i];\n",
    "prefixes": [
        "07/17"
    ]
}