get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56866,
    "url": "https://patches.dpdk.org/api/patches/56866/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20190722110148.101656-9-jasvinder.singh@intel.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20190722110148.101656-9-jasvinder.singh@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190722110148.101656-9-jasvinder.singh@intel.com",
    "date": "2019-07-22T11:01:45",
    "name": "[v7,08/11] test_sched: modify tests for config flexibility",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "21b253ffdeaf808fab3ef2222acca6b9852c4e00",
    "submitter": {
        "id": 285,
        "url": "https://patches.dpdk.org/api/people/285/?format=api",
        "name": "Jasvinder Singh",
        "email": "jasvinder.singh@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20190722110148.101656-9-jasvinder.singh@intel.com/mbox/",
    "series": [
        {
            "id": 5641,
            "url": "https://patches.dpdk.org/api/series/5641/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5641",
            "date": "2019-07-22T11:01:37",
            "name": "sched: feature enhancements",
            "version": 7,
            "mbox": "https://patches.dpdk.org/series/5641/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56866/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/56866/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id E75E31BF4D;\n\tMon, 22 Jul 2019 13:02:15 +0200 (CEST)",
            "from mga12.intel.com (mga12.intel.com [192.55.52.136])\n\tby dpdk.org (Postfix) with ESMTP id 64D3E1BF0C\n\tfor <dev@dpdk.org>; Mon, 22 Jul 2019 13:01:51 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga106.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t22 Jul 2019 04:01:51 -0700",
            "from silpixa00381635.ir.intel.com (HELO\n\tsilpixa00381635.ger.corp.intel.com) ([10.237.223.4])\n\tby fmsmga008.fm.intel.com with ESMTP; 22 Jul 2019 04:01:50 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.64,294,1559545200\"; d=\"scan'208\";a=\"169221039\"",
        "From": "Jasvinder Singh <jasvinder.singh@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "cristian.dumitrescu@intel.com, Abraham Tovar <abrahamx.tovar@intel.com>, \n\tLukasz Krakowiak <lukaszx.krakowiak@intel.com>",
        "Date": "Mon, 22 Jul 2019 12:01:45 +0100",
        "Message-Id": "<20190722110148.101656-9-jasvinder.singh@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20190722110148.101656-1-jasvinder.singh@intel.com>",
        "References": "<20190719141825.101844-2-jasvinder.singh@intel.com>\n\t<20190722110148.101656-1-jasvinder.singh@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v7 08/11] test_sched: modify tests for config\n\tflexibility",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "update unit tests for configuration flexibility of pipe traffic\nclasses and queues size.\n\nSigned-off-by: Jasvinder Singh <jasvinder.singh@intel.com>\nSigned-off-by: Abraham Tovar <abrahamx.tovar@intel.com>\nSigned-off-by: Lukasz Krakowiak <lukaszx.krakowiak@intel.com>\n---\n app/test/test_sched.c | 13 +++++++++----\n 1 file changed, 9 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/app/test/test_sched.c b/app/test/test_sched.c\nindex 36fa2d425..afe0b0765 100644\n--- a/app/test/test_sched.c\n+++ b/app/test/test_sched.c\n@@ -20,14 +20,16 @@\n #define SUBPORT         0\n #define PIPE            1\n #define TC              2\n-#define QUEUE           3\n+#define QUEUE           0\n \n static struct rte_sched_subport_params subport_param[] = {\n \t{\n \t\t.tb_rate = 1250000000,\n \t\t.tb_size = 1000000,\n \n-\t\t.tc_rate = {1250000000, 1250000000, 1250000000, 1250000000},\n+\t\t.tc_rate = {1250000000, 1250000000, 1250000000, 1250000000,\n+\t\t\t1250000000, 1250000000, 1250000000, 1250000000, 1250000000,\n+\t\t\t1250000000, 1250000000, 1250000000, 1250000000},\n \t\t.tc_period = 10,\n \t},\n };\n@@ -37,8 +39,10 @@ static struct rte_sched_pipe_params pipe_profile[] = {\n \t\t.tb_rate = 305175,\n \t\t.tb_size = 1000000,\n \n-\t\t.tc_rate = {305175, 305175, 305175, 305175},\n+\t\t.tc_rate = {305175, 305175, 305175, 305175, 305175, 305175,\n+\t\t\t305175, 305175, 305175, 305175, 305175, 305175, 305175},\n \t\t.tc_period = 40,\n+\t\t.tc_ov_weight = 1,\n \n \t\t.wrr_weights = {1, 1, 1, 1},\n \t},\n@@ -51,9 +55,10 @@ static struct rte_sched_port_params port_param = {\n \t.frame_overhead = RTE_SCHED_FRAME_OVERHEAD_DEFAULT,\n \t.n_subports_per_port = 1,\n \t.n_pipes_per_subport = 1024,\n-\t.qsize = {32, 32, 32, 32},\n+\t.qsize = {32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32},\n \t.pipe_profiles = pipe_profile,\n \t.n_pipe_profiles = 1,\n+\t.n_max_pipe_profiles = 1,\n };\n \n #define NB_MBUF          32\n",
    "prefixes": [
        "v7",
        "08/11"
    ]
}