get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 43600,
    "url": "https://patches.dpdk.org/api/patches/43600/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1533569056-90492-1-git-send-email-cristian.dumitrescu@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": "<1533569056-90492-1-git-send-email-cristian.dumitrescu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1533569056-90492-1-git-send-email-cristian.dumitrescu@intel.com",
    "date": "2018-08-06T15:24:16",
    "name": "[v2] examples/ip_pipeline: fix RSS",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "0ab2e1e20af08ea69ef9dc4a4b69a709208ccf29",
    "submitter": {
        "id": 19,
        "url": "https://patches.dpdk.org/api/people/19/?format=api",
        "name": "Cristian Dumitrescu",
        "email": "cristian.dumitrescu@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/1533569056-90492-1-git-send-email-cristian.dumitrescu@intel.com/mbox/",
    "series": [
        {
            "id": 917,
            "url": "https://patches.dpdk.org/api/series/917/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=917",
            "date": "2018-08-06T15:24:16",
            "name": "[v2] examples/ip_pipeline: fix RSS",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/917/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/43600/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/43600/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 2A8571B1EC;\n\tMon,  6 Aug 2018 17:24:28 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id B93A41B1EC\n\tfor <dev@dpdk.org>; Mon,  6 Aug 2018 17:24:26 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t06 Aug 2018 08:24:25 -0700",
            "from silpixa00382658.ir.intel.com ([10.237.223.29])\n\tby fmsmga004.fm.intel.com with ESMTP; 06 Aug 2018 08:24:24 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.51,452,1526367600\"; d=\"scan'208\";a=\"77919437\"",
        "From": "Cristian Dumitrescu <cristian.dumitrescu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net",
        "Date": "Mon,  6 Aug 2018 16:24:16 +0100",
        "Message-Id": "<1533569056-90492-1-git-send-email-cristian.dumitrescu@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH v2] examples/ip_pipeline: fix RSS",
        "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": "After adding RSS hash offload checks, flags that are not supported by\nthe current device result in RSS configuration failing as opposed to\nunsupported flags being silently discarded. This fix is making sure\nthat only device supported flags are passed to RSS configuration.\n\nFixes: aa1a6d87f15d (\"ethdev: force RSS offload rules again\")\n\nSigned-off-by: Cristian Dumitrescu <cristian.dumitrescu@intel.com>\nAcked-by: Fan Zhang <roy.fan.zhang@intel.com>\nAcked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>\nTested-by: Peng, Yuan <yuan.peng@intel.com>\n---\n examples/ip_pipeline/link.c | 9 +++------\n 1 file changed, 3 insertions(+), 6 deletions(-)",
    "diff": "diff --git a/examples/ip_pipeline/link.c b/examples/ip_pipeline/link.c\nindex 2ccfea4..392a890 100644\n--- a/examples/ip_pipeline/link.c\n+++ b/examples/ip_pipeline/link.c\n@@ -158,12 +158,9 @@ link_create(const char *name, struct link_params *params)\n \tmemcpy(&port_conf, &port_conf_default, sizeof(port_conf));\n \tif (rss) {\n \t\tport_conf.rxmode.mq_mode = ETH_MQ_RX_RSS;\n-\t\tif (port_info.flow_type_rss_offloads & ETH_RSS_IPV4)\n-\t\t\tport_conf.rx_adv_conf.rss_conf.rss_hf |=\n-\t\t\t\tETH_RSS_IPV4;\n-\t\tif (port_info.flow_type_rss_offloads & ETH_RSS_IPV6)\n-\t\t\tport_conf.rx_adv_conf.rss_conf.rss_hf |=\n-\t\t\t\tETH_RSS_IPV6;\n+\t\tport_conf.rx_adv_conf.rss_conf.rss_hf =\n+\t\t\t(ETH_RSS_IP | ETH_RSS_TCP | ETH_RSS_UDP) &\n+\t\t\tport_info.flow_type_rss_offloads;\n \t}\n \n \tcpu_id = (uint32_t) rte_eth_dev_socket_id(port_id);\n",
    "prefixes": [
        "v2"
    ]
}