get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 1137038,
    "url": "http://patchwork.ozlabs.org/api/patches/1137038/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190725085541.55104-13-anthony.l.nguyen@intel.com/",
    "project": {
        "id": 46,
        "url": "http://patchwork.ozlabs.org/api/projects/46/?format=api",
        "name": "Intel Wired Ethernet development",
        "link_name": "intel-wired-lan",
        "list_id": "intel-wired-lan.osuosl.org",
        "list_email": "intel-wired-lan@osuosl.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": "",
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20190725085541.55104-13-anthony.l.nguyen@intel.com>",
    "list_archive_url": null,
    "date": "2019-07-25T08:55:39",
    "name": "[S23,v4,13/15] ice: Move VF resources definition to SR-IOV specific file",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "cb9a03d17924acba1a22840fa8553e885bbe38b8",
    "submitter": {
        "id": 68875,
        "url": "http://patchwork.ozlabs.org/api/people/68875/?format=api",
        "name": "Tony Nguyen",
        "email": "anthony.l.nguyen@intel.com"
    },
    "delegate": {
        "id": 68,
        "url": "http://patchwork.ozlabs.org/api/users/68/?format=api",
        "username": "jtkirshe",
        "first_name": "Jeff",
        "last_name": "Kirsher",
        "email": "jeffrey.t.kirsher@intel.com"
    },
    "mbox": "http://patchwork.ozlabs.org/project/intel-wired-lan/patch/20190725085541.55104-13-anthony.l.nguyen@intel.com/mbox/",
    "series": [
        {
            "id": 121506,
            "url": "http://patchwork.ozlabs.org/api/series/121506/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/intel-wired-lan/list/?series=121506",
            "date": "2019-07-25T08:55:36",
            "name": "[S23,v4,01/15] ice: Implement ethtool ops for channels",
            "version": 4,
            "mbox": "http://patchwork.ozlabs.org/series/121506/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/1137038/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/1137038/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<intel-wired-lan-bounces@osuosl.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@bilbo.ozlabs.org",
            "intel-wired-lan@lists.osuosl.org"
        ],
        "Authentication-Results": [
            "ozlabs.org;\n\tspf=pass (mailfrom) smtp.mailfrom=osuosl.org\n\t(client-ip=140.211.166.138; helo=whitealder.osuosl.org;\n\tenvelope-from=intel-wired-lan-bounces@osuosl.org;\n\treceiver=<UNKNOWN>)",
            "ozlabs.org;\n\tdmarc=fail (p=none dis=none) header.from=intel.com"
        ],
        "Received": [
            "from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 45vfG948qlz9sNm\n\tfor <incoming@patchwork.ozlabs.org>;\n\tFri, 26 Jul 2019 03:24:17 +1000 (AEST)",
            "from localhost (localhost [127.0.0.1])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 5FFBB86C59;\n\tThu, 25 Jul 2019 17:24:15 +0000 (UTC)",
            "from whitealder.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id DbXgb4W-Zflj; Thu, 25 Jul 2019 17:24:11 +0000 (UTC)",
            "from ash.osuosl.org (ash.osuosl.org [140.211.166.34])\n\tby whitealder.osuosl.org (Postfix) with ESMTP id 9F1A786DAD;\n\tThu, 25 Jul 2019 17:24:08 +0000 (UTC)",
            "from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136])\n\tby ash.osuosl.org (Postfix) with ESMTP id 3E6CC1BF312\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 25 Jul 2019 17:24:03 +0000 (UTC)",
            "from localhost (localhost [127.0.0.1])\n\tby silver.osuosl.org (Postfix) with ESMTP id 3A7B62044E\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 25 Jul 2019 17:24:03 +0000 (UTC)",
            "from silver.osuosl.org ([127.0.0.1])\n\tby localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024)\n\twith ESMTP id DNeDPAHpgQC2 for <intel-wired-lan@lists.osuosl.org>;\n\tThu, 25 Jul 2019 17:23:59 +0000 (UTC)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby silver.osuosl.org (Postfix) with ESMTPS id AB4C522640\n\tfor <intel-wired-lan@lists.osuosl.org>;\n\tThu, 25 Jul 2019 17:23:58 +0000 (UTC)",
            "from orsmga007.jf.intel.com ([10.7.209.58])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t25 Jul 2019 10:23:56 -0700",
            "from unknown (HELO localhost.jf.intel.com) ([10.166.244.174])\n\tby orsmga007.jf.intel.com with ESMTP; 25 Jul 2019 10:23:56 -0700"
        ],
        "X-Virus-Scanned": [
            "amavisd-new at osuosl.org",
            "amavisd-new at osuosl.org"
        ],
        "X-Greylist": "domain auto-whitelisted by SQLgrey-1.7.6",
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.64,307,1559545200\"; d=\"scan'208\";a=\"160973714\"",
        "From": "Tony Nguyen <anthony.l.nguyen@intel.com>",
        "To": "intel-wired-lan@lists.osuosl.org",
        "Date": "Thu, 25 Jul 2019 01:55:39 -0700",
        "Message-Id": "<20190725085541.55104-13-anthony.l.nguyen@intel.com>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190725085541.55104-1-anthony.l.nguyen@intel.com>",
        "References": "<20190725085541.55104-1-anthony.l.nguyen@intel.com>",
        "MIME-Version": "1.0",
        "Subject": "[Intel-wired-lan] [PATCH S23 v4 13/15] ice: Move VF resources\n\tdefinition to SR-IOV specific file",
        "X-BeenThere": "intel-wired-lan@osuosl.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "Intel Wired Ethernet Linux Kernel Driver Development\n\t<intel-wired-lan.osuosl.org>",
        "List-Unsubscribe": "<https://lists.osuosl.org/mailman/options/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.osuosl.org/pipermail/intel-wired-lan/>",
        "List-Post": "<mailto:intel-wired-lan@osuosl.org>",
        "List-Help": "<mailto:intel-wired-lan-request@osuosl.org?subject=help>",
        "List-Subscribe": "<https://lists.osuosl.org/mailman/listinfo/intel-wired-lan>, \n\t<mailto:intel-wired-lan-request@osuosl.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Errors-To": "intel-wired-lan-bounces@osuosl.org",
        "Sender": "\"Intel-wired-lan\" <intel-wired-lan-bounces@osuosl.org>"
    },
    "content": "From: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>\n\nIn order to use some of the VF resources definition in the SR-IOV specific\nvirtchnl header file, this patch moves applicable code to\nice_virtchnl_pf.h file accordingly... and they should have been defined in\nthe destination file originally.\n\nSigned-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>\n---\n drivers/net/ethernet/intel/ice/ice.h             | 10 ----------\n drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h | 13 +++++++++++++\n 2 files changed, 13 insertions(+), 10 deletions(-)",
    "diff": "diff --git a/drivers/net/ethernet/intel/ice/ice.h b/drivers/net/ethernet/intel/ice/ice.h\nindex 36a8ee873ae1..8398dd45a8a2 100644\n--- a/drivers/net/ethernet/intel/ice/ice.h\n+++ b/drivers/net/ethernet/intel/ice/ice.h\n@@ -87,16 +87,6 @@ extern const char ice_drv_ver[];\n #define ICE_RES_MISC_VEC_ID\t(ICE_RES_VALID_BIT - 1)\n #define ICE_INVAL_Q_INDEX\t0xffff\n #define ICE_INVAL_VFID\t\t256\n-#define ICE_MAX_VF_COUNT\t256\n-#define ICE_MAX_QS_PER_VF\t\t256\n-#define ICE_MIN_QS_PER_VF\t\t1\n-#define ICE_DFLT_QS_PER_VF\t\t4\n-#define ICE_NONQ_VECS_VF\t\t1\n-#define ICE_MAX_SCATTER_QS_PER_VF\t16\n-#define ICE_MAX_BASE_QS_PER_VF\t\t16\n-#define ICE_MAX_INTR_PER_VF\t\t65\n-#define ICE_MIN_INTR_PER_VF\t\t(ICE_MIN_QS_PER_VF + 1)\n-#define ICE_DFLT_INTR_PER_VF\t\t(ICE_DFLT_QS_PER_VF + 1)\n \n #define ICE_MAX_RESET_WAIT\t\t20\n \ndiff --git a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\nindex 79bb47f73879..4d94853f119a 100644\n--- a/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\n+++ b/drivers/net/ethernet/intel/ice/ice_virtchnl_pf.h\n@@ -26,6 +26,19 @@\n #define ICE_PCI_CIAD_WAIT_COUNT\t\t100\n #define ICE_PCI_CIAD_WAIT_DELAY_US\t1\n \n+/* VF resources default values and limitation */\n+#define ICE_MAX_VF_COUNT\t\t256\n+#define ICE_MAX_QS_PER_VF\t\t256\n+#define ICE_MIN_QS_PER_VF\t\t1\n+#define ICE_DFLT_QS_PER_VF\t\t4\n+#define ICE_NONQ_VECS_VF\t\t1\n+#define ICE_MAX_SCATTER_QS_PER_VF\t16\n+#define ICE_MAX_BASE_QS_PER_VF\t\t16\n+#define ICE_MAX_INTR_PER_VF\t\t65\n+#define ICE_MAX_POLICY_INTR_PER_VF\t33\n+#define ICE_MIN_INTR_PER_VF\t\t(ICE_MIN_QS_PER_VF + 1)\n+#define ICE_DFLT_INTR_PER_VF\t\t(ICE_DFLT_QS_PER_VF + 1)\n+\n /* Specific VF states */\n enum ice_vf_states {\n \tICE_VF_STATE_INIT = 0,\n",
    "prefixes": [
        "S23",
        "v4",
        "13/15"
    ]
}