get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 34949,
    "url": "http://patches.dpdk.org/api/patches/34949/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20180205084820.5387-1-yanglong.wu@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": "<20180205084820.5387-1-yanglong.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180205084820.5387-1-yanglong.wu@intel.com",
    "date": "2018-02-05T08:48:20",
    "name": "[dpdk-dev,v3] app/testpmd: fix port DCB configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "03e1579ffe21b5d94f34ecb3caa9ed4b45cfe41a",
    "submitter": {
        "id": 879,
        "url": "http://patches.dpdk.org/api/people/879/?format=api",
        "name": "Yanglong Wu",
        "email": "yanglong.wu@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20180205084820.5387-1-yanglong.wu@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/34949/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/34949/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 8EECF1B29B;\n\tMon,  5 Feb 2018 09:51:47 +0100 (CET)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id 977941B1C1\n\tfor <dev@dpdk.org>; Mon,  5 Feb 2018 09:51:46 +0100 (CET)",
            "from fmsmga003.fm.intel.com ([10.253.24.29])\n\tby orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t05 Feb 2018 00:51:45 -0800",
            "from wuyanglong.sh.intel.com ([10.67.110.174])\n\tby FMSMGA003.fm.intel.com with ESMTP; 05 Feb 2018 00:51:44 -0800"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.46,464,1511856000\"; d=\"scan'208\";a=\"24894492\"",
        "From": "Yanglong Wu <yanglong.wu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "shahafs@mellanox.com, wenzhuo.lu@intel.com,\n\tYanglong Wu <yanglong.wu@intel.com>",
        "Date": "Mon,  5 Feb 2018 16:48:20 +0800",
        "Message-Id": "<20180205084820.5387-1-yanglong.wu@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20180205023357.104418-1-yanglong.wu@intel.com>",
        "References": "<20180205023357.104418-1-yanglong.wu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3] app/testpmd: fix port DCB configuration",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "The port_conf for the DCB configuration should\ninherit the same configuration of the port.\n\nFix:0074d02fc(\"app/testpmd: convert to new Rx offloads API\")\nSigned-off-by: Yanglong Wu <yanglong.wu@intel.com>\n---\nv2:\nchanging patch accoding to review\n---\nv3:\nchanging patch accoding to comments\n---\n app/test-pmd/testpmd.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 5dc8ccac5..da1d9bd3a 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -2324,6 +2324,9 @@ init_port_dcb_config(portid_t pid,\n \t/* Enter DCB configuration status */\n \tdcb_config = 1;\n \n+\tport_conf.rxmode = rte_port->dev_conf.rxmode;\n+\tport_conf.txmode = rte_port->dev_conf.txmode;\n+\n \t/*set configuration of DCB in vt mode and DCB in non-vt mode*/\n \tretval = get_eth_dcb_conf(&port_conf, dcb_mode, num_tcs, pfc_en);\n \tif (retval < 0)\n",
    "prefixes": [
        "dpdk-dev",
        "v3"
    ]
}