get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76346,
    "url": "http://patches.dpdk.org/api/patches/76346/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200903044856.61961-10-guinanx.sun@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": "<20200903044856.61961-10-guinanx.sun@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200903044856.61961-10-guinanx.sun@intel.com",
    "date": "2020-09-03T04:48:50",
    "name": "[v3,09/15] net/i40e/base: enable pipe monitor thresholds",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "44669ec66749ae88fe2a0e1a6a06d9a8f8805935",
    "submitter": {
        "id": 1476,
        "url": "http://patches.dpdk.org/api/people/1476/?format=api",
        "name": "Guinan Sun",
        "email": "guinanx.sun@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/20200903044856.61961-10-guinanx.sun@intel.com/mbox/",
    "series": [
        {
            "id": 11915,
            "url": "http://patches.dpdk.org/api/series/11915/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11915",
            "date": "2020-09-03T04:48:41",
            "name": "update i40e base code",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/11915/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/76346/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/76346/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 9055AA04D7;\n\tThu,  3 Sep 2020 06:56:51 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id EB5421C12F;\n\tThu,  3 Sep 2020 06:55:43 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by dpdk.org (Postfix) with ESMTP id 374B81C127\n for <dev@dpdk.org>; Thu,  3 Sep 2020 06:55:42 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 02 Sep 2020 21:55:41 -0700",
            "from dpdk.sh.intel.com ([10.239.255.12])\n by orsmga002.jf.intel.com with ESMTP; 02 Sep 2020 21:55:40 -0700"
        ],
        "IronPort-SDR": [
            "\n DrvQMrSiq8otnO/mIXXW5Lu9iW4eS9bmNEMUeX1DPxcT2d7ITJVsaB690NNw3bTMM8o1dch8+Y\n MEaAxByePTgQ==",
            "\n zPmAxvTNbGmei0FbvXq8/kadLC4HclOlQ3ddW4cMPXUsin7VLIpMSdEoSlJQs/TkLnhHlmfTLY\n p82ILLIxTkKQ=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9732\"; a=\"221732249\"",
            "E=Sophos;i=\"5.76,385,1592895600\"; d=\"scan'208\";a=\"221732249\"",
            "E=Sophos;i=\"5.76,385,1592895600\"; d=\"scan'208\";a=\"315349304\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Guinan Sun <guinanx.sun@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Beilei Xing <beilei.xing@intel.com>, Jeff Guo <jia.guo@intel.com>,\n Guinan Sun <guinanx.sun@intel.com>,\n Jesse Brandeburg <jesse.brandeburg@intel.com>",
        "Date": "Thu,  3 Sep 2020 04:48:50 +0000",
        "Message-Id": "<20200903044856.61961-10-guinanx.sun@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200903044856.61961-1-guinanx.sun@intel.com>",
        "References": "<20200727053451.22214-1-guinanx.sun@intel.com>\n <20200903044856.61961-1-guinanx.sun@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 09/15] net/i40e/base: enable pipe monitor\n\tthresholds",
        "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": "Enable several registers and defines for software controlled\nDCB, particularly around the receive pipe monitor configuration\nwhich is necessary to help ports achieve the right throughput\nunder load in several different configurations.\n\nSigned-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>\nSigned-off-by: Guinan Sun <guinanx.sun@intel.com>\n---\n drivers/net/i40e/base/i40e_register.h | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/i40e/base/i40e_register.h b/drivers/net/i40e/base/i40e_register.h\nindex ee4f333f9..ee443e9c9 100644\n--- a/drivers/net/i40e/base/i40e_register.h\n+++ b/drivers/net/i40e/base/i40e_register.h\n@@ -203,6 +203,9 @@\n #define I40E_VFCM_PE_ERRINFO1_RLU_ERROR_CNT_MASK  I40E_MASK(0xFF, I40E_VFCM_PE_ERRINFO1_RLU_ERROR_CNT_SHIFT)\n #define I40E_VFCM_PE_ERRINFO1_RLS_ERROR_CNT_SHIFT 24\n #define I40E_VFCM_PE_ERRINFO1_RLS_ERROR_CNT_MASK  I40E_MASK(0xFF, I40E_VFCM_PE_ERRINFO1_RLS_ERROR_CNT_SHIFT)\n+#define I40E_PRT_SWR_PM_THR                 0x0026CD00 /* Reset: CORER */\n+#define I40E_PRT_SWR_PM_THR_THRESHOLD_SHIFT 0\n+#define I40E_PRT_SWR_PM_THR_THRESHOLD_MASK  I40E_MASK(0xFF, I40E_PRT_SWR_PM_THR_THRESHOLD_SHIFT)\n #define I40E_GLDCB_GENC              0x00083044 /* Reset: CORER */\n #define I40E_GLDCB_GENC_PCIRTT_SHIFT 0\n #define I40E_GLDCB_GENC_PCIRTT_MASK  I40E_MASK(0xFFFF, I40E_GLDCB_GENC_PCIRTT_SHIFT)\n",
    "prefixes": [
        "v3",
        "09/15"
    ]
}