get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66485,
    "url": "http://patches.dpdk.org/api/patches/66485/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200310065029.40966-6-haiyue.wang@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": "<20200310065029.40966-6-haiyue.wang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200310065029.40966-6-haiyue.wang@intel.com",
    "date": "2020-03-10T06:50:27",
    "name": "[v2,5/7] net/ice: export the DDP definition symbols",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "1fb78adb213360123df5335c179cb63e6ea6d12b",
    "submitter": {
        "id": 1044,
        "url": "http://patches.dpdk.org/api/people/1044/?format=api",
        "name": "Wang, Haiyue",
        "email": "haiyue.wang@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/20200310065029.40966-6-haiyue.wang@intel.com/mbox/",
    "series": [
        {
            "id": 8859,
            "url": "http://patches.dpdk.org/api/series/8859/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8859",
            "date": "2020-03-10T06:50:22",
            "name": "add Intel DCF PMD support",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/8859/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66485/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/66485/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 8A7E1A0563;\n\tTue, 10 Mar 2020 07:59:15 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id B08D91C038;\n\tTue, 10 Mar 2020 07:58:31 +0100 (CET)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n by dpdk.org (Postfix) with ESMTP id CD9451C01B\n for <dev@dpdk.org>; Tue, 10 Mar 2020 07:58:29 +0100 (CET)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n by fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n 09 Mar 2020 23:58:28 -0700",
            "from npg-dpdk-haiyue-1.sh.intel.com ([10.67.119.213])\n by orsmga001.jf.intel.com with ESMTP; 09 Mar 2020 23:58:26 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.70,518,1574150400\"; d=\"scan'208\";a=\"321693968\"",
        "From": "Haiyue Wang <haiyue.wang@intel.com>",
        "To": "dev@dpdk.org, xiaolong.ye@intel.com, qi.z.zhang@intel.com,\n qiming.yang@intel.com, beilei.xing@intel.com",
        "Cc": "wei.zhao1@intel.com,\n\tHaiyue Wang <haiyue.wang@intel.com>",
        "Date": "Tue, 10 Mar 2020 14:50:27 +0800",
        "Message-Id": "<20200310065029.40966-6-haiyue.wang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20200310065029.40966-1-haiyue.wang@intel.com>",
        "References": "<20200309141437.11800-1-haiyue.wang@intel.com>\n <20200310065029.40966-1-haiyue.wang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v2 5/7] net/ice: export the DDP definition symbols",
        "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": "A new DCF PMD will be introduced, which runs on Intel VF hardware, and\nit is a pure software design to control the advance functionality (such\nas switch, ACL) for rest of the VFs.\n\nThe DCF (Device Config Function) feature shares the core functions of\nthe ICE PMD, like it needs to export the DDP definition symbols for the\nnew DCF PMD use.\n\nSigned-off-by: Haiyue Wang <haiyue.wang@intel.com>\nAcked-by: Xiaolong Ye <xiaolong.ye@intel.com>\n---\n drivers/net/ice/ice_ethdev.c | 9 +--------\n drivers/net/ice/ice_ethdev.h | 8 ++++++++\n 2 files changed, 9 insertions(+), 8 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_ethdev.c b/drivers/net/ice/ice_ethdev.c\nindex b42deb0bc..8b9d211b0 100644\n--- a/drivers/net/ice/ice_ethdev.c\n+++ b/drivers/net/ice/ice_ethdev.c\n@@ -67,15 +67,8 @@ static struct proto_xtr_ol_flag ice_proto_xtr_ol_flag_params[] = {\n \n #define ICE_DFLT_OUTER_TAG_TYPE ICE_AQ_VSI_OUTER_TAG_VLAN_9100\n \n-/* DDP package search path */\n-#define ICE_PKG_FILE_DEFAULT \"/lib/firmware/intel/ice/ddp/ice.pkg\"\n-#define ICE_PKG_FILE_UPDATES \"/lib/firmware/updates/intel/ice/ddp/ice.pkg\"\n-#define ICE_PKG_FILE_SEARCH_PATH_DEFAULT \"/lib/firmware/intel/ice/ddp/\"\n-#define ICE_PKG_FILE_SEARCH_PATH_UPDATES \"/lib/firmware/updates/intel/ice/ddp/\"\n-\n #define ICE_OS_DEFAULT_PKG_NAME\t\t\"ICE OS Default Package\"\n #define ICE_COMMS_PKG_NAME\t\t\t\"ICE COMMS Package\"\n-#define ICE_MAX_PKG_FILENAME_SIZE   256\n #define ICE_MAX_RES_DESC_NUM        1024\n \n int ice_logtype_init;\n@@ -1833,7 +1826,7 @@ ice_pkg_file_search_path(struct rte_pci_device *pci_dev, char *pkg_file)\n \treturn 0;\n }\n \n-static enum ice_pkg_type\n+enum ice_pkg_type\n ice_load_pkg_type(struct ice_hw *hw)\n {\n \tenum ice_pkg_type package_type;\ndiff --git a/drivers/net/ice/ice_ethdev.h b/drivers/net/ice/ice_ethdev.h\nindex da557a254..7b94a3c3e 100644\n--- a/drivers/net/ice/ice_ethdev.h\n+++ b/drivers/net/ice/ice_ethdev.h\n@@ -42,6 +42,13 @@\n \n #define ICE_MAX_PKT_TYPE  1024\n \n+/* DDP package search path */\n+#define ICE_PKG_FILE_DEFAULT \"/lib/firmware/intel/ice/ddp/ice.pkg\"\n+#define ICE_PKG_FILE_UPDATES \"/lib/firmware/updates/intel/ice/ddp/ice.pkg\"\n+#define ICE_PKG_FILE_SEARCH_PATH_DEFAULT \"/lib/firmware/intel/ice/ddp/\"\n+#define ICE_PKG_FILE_SEARCH_PATH_UPDATES \"/lib/firmware/updates/intel/ice/ddp/\"\n+#define ICE_MAX_PKG_FILENAME_SIZE   256\n+\n /**\n  * vlan_id is a 12 bit number.\n  * The VFTA array is actually a 4096 bit array, 128 of 32bit elements.\n@@ -457,6 +464,7 @@ struct ice_vsi_vlan_pvid_info {\n #define ICE_PF_TO_ETH_DEV(pf) \\\n \t(((struct ice_pf *)pf)->adapter->eth_dev)\n \n+enum ice_pkg_type ice_load_pkg_type(struct ice_hw *hw);\n struct ice_vsi *\n ice_setup_vsi(struct ice_pf *pf, enum ice_vsi_type type);\n int\n",
    "prefixes": [
        "v2",
        "5/7"
    ]
}