get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 81060,
    "url": "http://patches.dpdk.org/api/patches/81060/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201016084419.439699-2-simei.su@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": "<20201016084419.439699-2-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201016084419.439699-2-simei.su@intel.com",
    "date": "2020-10-16T08:44:17",
    "name": "[v4,1/3] net/ice/base: change API from static to non-static",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "24cc20d51255bcb7fdfbb956f66b990ba35dcf9b",
    "submitter": {
        "id": 1298,
        "url": "http://patches.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@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/20201016084419.439699-2-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 13047,
            "url": "http://patches.dpdk.org/api/series/13047/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13047",
            "date": "2020-10-16T08:44:16",
            "name": "net/ice: support DCF ACL capabiltiy",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/13047/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/81060/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/81060/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 0FC19A04DB;\n\tFri, 16 Oct 2020 10:52:46 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 6939E1D90E;\n\tFri, 16 Oct 2020 10:52:22 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by dpdk.org (Postfix) with ESMTP id E38DF1D721\n for <dev@dpdk.org>; Fri, 16 Oct 2020 10:52:18 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Oct 2020 01:52:18 -0700",
            "from unknown (HELO npg-dpdk-cvl-simeisu-118d193.sh.intel.com)\n ([10.67.119.195])\n by fmsmga005.fm.intel.com with ESMTP; 16 Oct 2020 01:52:16 -0700"
        ],
        "IronPort-SDR": [
            "\n edT20PuF4kt/T7hJcQsAIgeucp8DdEOYgSFBBHR3P3J0i7sDR+MsQPVnMRosKLdfEjsyrOvMG2\n IIGWJQo8cTSQ==",
            "\n M0rHPliglBELRPlTLoeJ6lH7SXsm7Z6JpvnN0EEWXuq5oiBqw1oSn7bGM4UQB7gNzgLv/sMMgM\n 2Hi6GT4ByD4Q=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9775\"; a=\"163942914\"",
            "E=Sophos;i=\"5.77,382,1596524400\"; d=\"scan'208\";a=\"163942914\"",
            "E=Sophos;i=\"5.77,382,1596524400\"; d=\"scan'208\";a=\"522166780\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Simei Su <simei.su@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tqiming.yang@intel.com",
        "Cc": "dev@dpdk.org, haiyue.wang@intel.com, beilei.xing@intel.com,\n xuan.ding@intel.com, Simei Su <simei.su@intel.com>",
        "Date": "Fri, 16 Oct 2020 16:44:17 +0800",
        "Message-Id": "<20201016084419.439699-2-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.9.5",
        "In-Reply-To": "<20201016084419.439699-1-simei.su@intel.com>",
        "References": "<20201014085415.177872-1-simei.su@intel.com>\n <20201016084419.439699-1-simei.su@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v4 1/3] net/ice/base: change API from static to\n\tnon-static",
        "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": "This patch changes static API \"ice_flow_assoc_prof\" to non-static\nAPI in order to let it be used by other files.\n\nSigned-off-by: Simei Su <simei.su@intel.com>\n---\n drivers/net/ice/base/ice_flow.c | 2 +-\n drivers/net/ice/base/ice_flow.h | 3 +++\n 2 files changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ice/base/ice_flow.c b/drivers/net/ice/base/ice_flow.c\nindex de5dfb2..80ac0b6 100644\n--- a/drivers/net/ice/base/ice_flow.c\n+++ b/drivers/net/ice/base/ice_flow.c\n@@ -2125,7 +2125,7 @@ ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,\n  * Assumption: the caller has acquired the lock to the profile list\n  * and the software VSI handle has been validated\n  */\n-static enum ice_status\n+enum ice_status\n ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk,\n \t\t    struct ice_flow_prof *prof, u16 vsi_handle)\n {\ndiff --git a/drivers/net/ice/base/ice_flow.h b/drivers/net/ice/base/ice_flow.h\nindex 0a52409..698a230 100644\n--- a/drivers/net/ice/base/ice_flow.h\n+++ b/drivers/net/ice/base/ice_flow.h\n@@ -499,6 +499,9 @@ ice_flow_add_prof(struct ice_hw *hw, enum ice_block blk, enum ice_flow_dir dir,\n enum ice_status\n ice_flow_rem_prof(struct ice_hw *hw, enum ice_block blk, u64 prof_id);\n enum ice_status\n+ice_flow_assoc_prof(struct ice_hw *hw, enum ice_block blk,\n+\t\t    struct ice_flow_prof *prof, u16 vsi_handle);\n+enum ice_status\n ice_flow_assoc_vsig_vsi(struct ice_hw *hw, enum ice_block blk, u16 vsi_handle,\n \t\t\tu16 vsig);\n enum ice_status\n",
    "prefixes": [
        "v4",
        "1/3"
    ]
}