get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 46103,
    "url": "https://patches.dpdk.org/api/patches/46103/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20181004184408.86902-1-ferruh.yigit@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": "<20181004184408.86902-1-ferruh.yigit@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20181004184408.86902-1-ferruh.yigit@intel.com",
    "date": "2018-10-04T18:44:08",
    "name": "app/testpmd: clarify flow types in port info",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7042e08d0fdc9655427d3af27fe068d4508b4bec",
    "submitter": {
        "id": 324,
        "url": "https://patches.dpdk.org/api/people/324/?format=api",
        "name": "Ferruh Yigit",
        "email": "ferruh.yigit@intel.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20181004184408.86902-1-ferruh.yigit@intel.com/mbox/",
    "series": [
        {
            "id": 1702,
            "url": "https://patches.dpdk.org/api/series/1702/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=1702",
            "date": "2018-10-04T18:44:08",
            "name": "app/testpmd: clarify flow types in port info",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/1702/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/46103/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/46103/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 E76301B4F9;\n\tThu,  4 Oct 2018 19:46:43 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 44B471B4F8\n\tfor <dev@dpdk.org>; Thu,  4 Oct 2018 19:46:41 +0200 (CEST)",
            "from orsmga002.jf.intel.com ([10.7.209.21])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t04 Oct 2018 10:46:41 -0700",
            "from silpixa00399752.ir.intel.com (HELO\n\tsilpixa00399752.ger.corp.intel.com) ([10.237.222.212])\n\tby orsmga002.jf.intel.com with ESMTP; 04 Oct 2018 10:44:28 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.54,340,1534834800\"; d=\"scan'208\";a=\"97458293\"",
        "From": "Ferruh Yigit <ferruh.yigit@intel.com>",
        "To": "Wenzhuo Lu <wenzhuo.lu@intel.com>, Jingjing Wu <jingjing.wu@intel.com>, \n\tBernard Iremonger <bernard.iremonger@intel.com>",
        "Cc": "dev@dpdk.org,\n\tFerruh Yigit <ferruh.yigit@intel.com>",
        "Date": "Thu,  4 Oct 2018 19:44:08 +0100",
        "Message-Id": "<20181004184408.86902-1-ferruh.yigit@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "Subject": "[dpdk-dev] [PATCH] app/testpmd: clarify flow types in port info",
        "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": "In \"show port info #\" cmd output, \"Supported flow types:\" part is\nnot clear what flow types are listed.\n\nThose are flow types that hash calculation offload supported by NIC.\nUpdated command output as \"Supported RSS offload flow types:\"\n\nSigned-off-by: Ferruh Yigit <ferruh.yigit@intel.com>\n---\n app/test-pmd/config.c | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c\nindex 009c92c7a..c6311d819 100644\n--- a/app/test-pmd/config.c\n+++ b/app/test-pmd/config.c\n@@ -461,12 +461,12 @@ port_infos_display(portid_t port_id)\n \tif (dev_info.reta_size > 0)\n \t\tprintf(\"Redirection table size: %u\\n\", dev_info.reta_size);\n \tif (!dev_info.flow_type_rss_offloads)\n-\t\tprintf(\"No flow type is supported.\\n\");\n+\t\tprintf(\"No RSS offload flow type is supported.\\n\");\n \telse {\n \t\tuint16_t i;\n \t\tchar *p;\n \n-\t\tprintf(\"Supported flow types:\\n\");\n+\t\tprintf(\"Supported RSS offload flow types:\\n\");\n \t\tfor (i = RTE_ETH_FLOW_UNKNOWN + 1;\n \t\t     i < sizeof(dev_info.flow_type_rss_offloads) * CHAR_BIT; i++) {\n \t\t\tif (!(dev_info.flow_type_rss_offloads & (1ULL << i)))\n",
    "prefixes": []
}