get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 87177,
    "url": "https://patches.dpdk.org/api/patches/87177/?format=api",
    "web_url": "https://patches.dpdk.org/project/dts/patch/20210125084414.8503-2-yufengx.mo@intel.com/",
    "project": {
        "id": 3,
        "url": "https://patches.dpdk.org/api/projects/3/?format=api",
        "name": "DTS",
        "link_name": "dts",
        "list_id": "dts.dpdk.org",
        "list_email": "dts@dpdk.org",
        "web_url": "",
        "scm_url": "git://dpdk.org/tools/dts",
        "webscm_url": "http://git.dpdk.org/tools/dts/",
        "list_archive_url": "https://inbox.dpdk.org/dts",
        "list_archive_url_format": "https://inbox.dpdk.org/dts/{}",
        "commit_url_format": ""
    },
    "msgid": "<20210125084414.8503-2-yufengx.mo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dts/20210125084414.8503-2-yufengx.mo@intel.com",
    "date": "2021-01-25T08:43:48",
    "name": "[V1,01/27] framework/pktgen: return trex tx stats",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "d6f99fe0fbec8a635b36679dc553f5246a3989a9",
    "submitter": {
        "id": 1342,
        "url": "https://patches.dpdk.org/api/people/1342/?format=api",
        "name": "Yufen.Mo",
        "email": "yufengx.mo@intel.com"
    },
    "delegate": {
        "id": 23642,
        "url": "https://patches.dpdk.org/api/users/23642/?format=api",
        "username": "lijuantu",
        "first_name": "LIjuan",
        "last_name": "Tu",
        "email": "lijuan.tu@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dts/patch/20210125084414.8503-2-yufengx.mo@intel.com/mbox/",
    "series": [
        {
            "id": 14926,
            "url": "https://patches.dpdk.org/api/series/14926/?format=api",
            "web_url": "https://patches.dpdk.org/project/dts/list/?series=14926",
            "date": "2021-01-25T08:43:47",
            "name": "dts: enable IxNetwork and enhance perf testing",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/14926/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/87177/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/87177/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dts-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 562ADA0A0B;\n\tMon, 25 Jan 2021 09:51:32 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id D9DC7140DC6;\n\tMon, 25 Jan 2021 09:51:31 +0100 (CET)",
            "from mga06.intel.com (mga06.intel.com [134.134.136.31])\n by mails.dpdk.org (Postfix) with ESMTP id 64361140DAC\n for <dts@dpdk.org>; Mon, 25 Jan 2021 09:51:30 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 25 Jan 2021 00:51:28 -0800",
            "from dpdk-moyufen06.sh.intel.com ([10.67.116.208])\n by fmsmga001.fm.intel.com with ESMTP; 25 Jan 2021 00:51:27 -0800"
        ],
        "IronPort-SDR": [
            "\n IbEbvDqZX/lvnmUDUsuvPmpcsTeZBfMmlXZLDgoGBBkKO65yYvMyTJKyEfkSaGt3DWEVcvUJgv\n EUpNa1HHnq0g==",
            "\n 4sHUcz88Ab/W1D/r4DecR/+DAfyqJNGFyoI7WWPAtmoRFtIHF/7MeJj4V3dbh/TYFTqJxvIIDN\n 6rLnaraQowpw=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9874\"; a=\"241224369\"",
            "E=Sophos;i=\"5.79,373,1602572400\"; d=\"scan'208\";a=\"241224369\"",
            "E=Sophos;i=\"5.79,373,1602572400\"; d=\"scan'208\";a=\"471978335\""
        ],
        "X-ExtLoop1": "1",
        "From": "yufengmx <yufengx.mo@intel.com>",
        "To": "dts@dpdk.org,\n\tlijuan.tu@intel.com",
        "Cc": "yufengmx <yufengx.mo@intel.com>",
        "Date": "Mon, 25 Jan 2021 16:43:48 +0800",
        "Message-Id": "<20210125084414.8503-2-yufengx.mo@intel.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<20210125084414.8503-1-yufengx.mo@intel.com>",
        "References": "<20210125084414.8503-1-yufengx.mo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dts] [PATCH V1 01/27] framework/pktgen: return trex tx stats",
        "X-BeenThere": "dts@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "test suite reviews and discussions <dts.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dts>,\n <mailto:dts-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dts/>",
        "List-Post": "<mailto:dts@dpdk.org>",
        "List-Help": "<mailto:dts-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dts>,\n <mailto:dts-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dts-bounces@dpdk.org",
        "Sender": "\"dts\" <dts-bounces@dpdk.org>"
    },
    "content": "support return tx_pps and tx_bps from pktgen.measure_throughput for trex.\n\nSigned-off-by: yufengmx <yufengx.mo@intel.com>\n---\n framework/pktgen_trex.py | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/framework/pktgen_trex.py b/framework/pktgen_trex.py\nindex 8da0c849..c0b13428 100644\n--- a/framework/pktgen_trex.py\n+++ b/framework/pktgen_trex.py\n@@ -1,6 +1,6 @@\n # BSD LICENSE\n #\n-# Copyright(c) 2010-2019 Intel Corporation. All rights reserved.\n+# Copyright(c) 2010-2021 Intel Corporation. All rights reserved.\n # All rights reserved.\n #\n # Redistribution and use in source and binary forms, with or without\n@@ -696,7 +696,7 @@ class TrexPacketGenerator(PacketGenerator):\n         self.logger.debug(pformat(port_stats))\n         self.logger.debug(os.linesep.join(msg))\n \n-        return rx_bps, rx_pps\n+        return (tx_bps, rx_bps), (tx_pps, rx_pps)\n \n     def _loss_rate_stats(self, stream, stats):\n         # tx packet\n",
    "prefixes": [
        "V1",
        "01/27"
    ]
}