get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 119261,
    "url": "https://patches.dpdk.org/api/patches/119261/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221028095531.678682-2-megha.ajmera@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": "<20221028095531.678682-2-megha.ajmera@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221028095531.678682-2-megha.ajmera@intel.com",
    "date": "2022-10-28T09:55:30",
    "name": "[v6,2/3] sched: fix number of subport profiles",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a1693611e5293eceb210181b28ca3b82d0904bca",
    "submitter": {
        "id": 2494,
        "url": "https://patches.dpdk.org/api/people/2494/?format=api",
        "name": "Ajmera, Megha",
        "email": "megha.ajmera@intel.com"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221028095531.678682-2-megha.ajmera@intel.com/mbox/",
    "series": [
        {
            "id": 25475,
            "url": "https://patches.dpdk.org/api/series/25475/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=25475",
            "date": "2022-10-28T09:55:29",
            "name": "[v6,1/3] sched: fix subport profile ID",
            "version": 6,
            "mbox": "https://patches.dpdk.org/series/25475/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/119261/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/119261/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 4632FA0542;\n\tFri, 28 Oct 2022 11:58:51 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D2E7A40A80;\n\tFri, 28 Oct 2022 11:58:50 +0200 (CEST)",
            "from mga06.intel.com (mga06b.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 3318440693;\n Fri, 28 Oct 2022 11:58:46 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 28 Oct 2022 02:58:45 -0700",
            "from unknown (HELO localhost.localdomain) ([10.190.213.60])\n by fmsmga002.fm.intel.com with ESMTP; 28 Oct 2022 02:58:43 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1666951126; x=1698487126;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=vOy+JwaM+BVeewaR6VQ9tmYbSmVJQ7Rn5+pBwmvjd48=;\n b=aij38NvECSKJ6IeLiT7jQpGYPyXQhqMy+a5RUKu1bueP7HsDLHJttXuP\n A1POZzrbUYDLXCmJW6doiugnqZLt8USG+jf5TLY4MGIRIfolISqLpGnl0\n ewi3ZjiahLbq78cvSZOCyomSLYzIL2MEunxJ0kpR1zbwvs3uAeAwbR8Yo\n UijB2cfc3DJ2zkwHcgXNZ2ajz31woI8lPhfF0QsoO9WzZRVH34A+v1now\n L5hqSKdz6L6qjE6qO5GEgYiAgUooClb7sQ2KzNNc0vUE01QCGh+2fUSoc\n 03oETvmEGAN5kZTxrzUf/GdpKl+0OvuEBfTyOXCHLJwAYwbMJEq03zDJA Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10513\"; a=\"370523285\"",
            "E=Sophos;i=\"5.95,220,1661842800\"; d=\"scan'208\";a=\"370523285\"",
            "E=McAfee;i=\"6500,9779,10513\"; a=\"738051308\"",
            "E=Sophos;i=\"5.95,220,1661842800\"; d=\"scan'208\";a=\"738051308\""
        ],
        "X-ExtLoop1": "1",
        "From": "Megha Ajmera <megha.ajmera@intel.com>",
        "To": "dev@dpdk.org, jasvinder.singh@intel.com, cristian.dumitrescu@intel.com,\n stephen@networkplumber.org",
        "Cc": "stable@dpdk.org",
        "Subject": "[PATCH v6 2/3] sched: fix number of subport profiles",
        "Date": "Fri, 28 Oct 2022 09:55:30 +0000",
        "Message-Id": "<20221028095531.678682-2-megha.ajmera@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20221028095531.678682-1-megha.ajmera@intel.com>",
        "References": "<20221006190038.431828-1-megha.ajmera@intel.com>\n <20221028095531.678682-1-megha.ajmera@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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"
    },
    "content": "Removed unused subport field from profile.cfg\nCorrectly using subport profile id in subport config load.\n\nFixes: 802d214dc880 (\"examples/qos_sched: update subport rate dynamically\")\nCc: stable@dpdk.org\n\nSigned-off-by: Megha Ajmera <megha.ajmera@intel.com>\nAcked-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\n---\n examples/qos_sched/cfg_file.c  | 2 +-\n examples/qos_sched/profile.cfg | 2 --\n 2 files changed, 1 insertion(+), 3 deletions(-)",
    "diff": "diff --git a/examples/qos_sched/cfg_file.c b/examples/qos_sched/cfg_file.c\nindex 3d5d75fcf0..ca871d3287 100644\n--- a/examples/qos_sched/cfg_file.c\n+++ b/examples/qos_sched/cfg_file.c\n@@ -157,7 +157,7 @@ cfg_load_subport_profile(struct rte_cfgfile *cfg,\n \n \tprofiles = rte_cfgfile_num_sections(cfg, \"subport profile\",\n \t\t\t\t\t   sizeof(\"subport profile\") - 1);\n-\tsubport_params[0].n_pipe_profiles = profiles;\n+\tport_params.n_subport_profiles = profiles;\n \n \tfor (i = 0; i < profiles; i++) {\n \t\tchar sec_name[32];\ndiff --git a/examples/qos_sched/profile.cfg b/examples/qos_sched/profile.cfg\nindex c9ec187c93..e8de101b6c 100644\n--- a/examples/qos_sched/profile.cfg\n+++ b/examples/qos_sched/profile.cfg\n@@ -26,8 +26,6 @@ number of subports per port = 1\n number of pipes per subport = 4096\n queue sizes = 64 64 64 64 64 64 64 64 64 64 64 64 64\n \n-subport 0-8 = 0                ; These subports are configured with subport profile 0\n-\n [subport profile 0]\n tb rate = 1250000000           ; Bytes per second\n tb size = 1000000              ; Bytes\n",
    "prefixes": [
        "v6",
        "2/3"
    ]
}