get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109050,
    "url": "https://patches.dpdk.org/api/patches/109050/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220401022343.19877-1-ting.xu@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": "<20220401022343.19877-1-ting.xu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220401022343.19877-1-ting.xu@intel.com",
    "date": "2022-04-01T02:23:43",
    "name": "[v1] net/ice: fix not support VXLAN RSS hash in raw flow",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "fa2a0dece0a02565851ee1cf74a2635a36600b68",
    "submitter": {
        "id": 1363,
        "url": "https://patches.dpdk.org/api/people/1363/?format=api",
        "name": "Xu, Ting",
        "email": "ting.xu@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "https://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220401022343.19877-1-ting.xu@intel.com/mbox/",
    "series": [
        {
            "id": 22307,
            "url": "https://patches.dpdk.org/api/series/22307/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22307",
            "date": "2022-04-01T02:23:43",
            "name": "[v1] net/ice: fix not support VXLAN RSS hash in raw flow",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/22307/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/109050/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/109050/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 AA6B1A0503;\n\tFri,  1 Apr 2022 04:22:49 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5704A4067E;\n\tFri,  1 Apr 2022 04:22:49 +0200 (CEST)",
            "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id D56C64014F;\n Fri,  1 Apr 2022 04:22:47 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Mar 2022 19:22:46 -0700",
            "from dpdk-xuting-second.sh.intel.com ([10.67.116.150])\n by orsmga006.jf.intel.com with ESMTP; 31 Mar 2022 19:22:44 -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=1648779768; x=1680315768;\n h=from:to:cc:subject:date:message-id;\n bh=ZJpoBVRDrjw9WvTpmsuGZ8pVi0Ki0NVxxyOwKsnJDqM=;\n b=JaNLPs8pgCP2xfkrSb/d+skHVePoe0NizVGOnZXoEM6mMfb5YOdZPodz\n Cr3EXt38EN7M4tr338sPK9BBe7XGoxlMi+GEKZk0NrDuI6DLOII1Eo6m3\n a6bP3ObfTrBGUgxUGM45PP1boj3OJNYLd/C0XLDC9cDrGi1sAWwm57D49\n 1bwPVO6jo/QeG2rGWOaFwfRJesZ8PG0DTq3yOwi8QfBJ3oc1RbYdWLOgz\n K57IGUqAfqYXrqCccj/+ecchTT6v0D+tbNOKCo6yj2VITyhQVZwU3P+pV\n cUIcI0Bm+gZK/f2W8vHUyFY0QkAirt+aC2Pw18i68U9zqQAKFRhIkY699 Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10303\"; a=\"258853617\"",
            "E=Sophos;i=\"5.90,225,1643702400\"; d=\"scan'208\";a=\"258853617\"",
            "E=Sophos;i=\"5.90,225,1643702400\"; d=\"scan'208\";a=\"522602199\""
        ],
        "X-ExtLoop1": "1",
        "From": "Ting Xu <ting.xu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com, qiming.yang@intel.com, junfeng.guo@intel.com,\n Ting Xu <ting.xu@intel.com>, stable@dpdk.org",
        "Subject": "[PATCH v1] net/ice: fix not support VXLAN RSS hash in raw flow",
        "Date": "Fri,  1 Apr 2022 10:23:43 +0800",
        "Message-Id": "<20220401022343.19877-1-ting.xu@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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": "When creating raw flow RSS hash rule for VXLAN tunnel type, a step to set\nVXLAN tunnel config is missed. This patch adds this set to support VXLAN\nin RSS hash with raw pattern.\n\nFixes: 1b9c68120a1c (\"net/ice: enable protocol agnostic flow offloading in RSS\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ting Xu <ting.xu@intel.com>\n---\n drivers/net/ice/ice_hash.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c\nindex afbb357fa3..6b338dc3e1 100644\n--- a/drivers/net/ice/ice_hash.c\n+++ b/drivers/net/ice/ice_hash.c\n@@ -656,6 +656,7 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad,\n \tstruct ice_parser *psr;\n \tuint8_t *pkt_buf, *msk_buf;\n \tuint8_t spec_len, pkt_len;\n+\tuint16_t udp_port = 0;\n \tuint8_t tmp_val = 0;\n \tuint8_t tmp_c = 0;\n \tint i, j;\n@@ -715,6 +716,10 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad,\n \n \tif (ice_parser_create(&ad->hw, &psr))\n \t\treturn -rte_errno;\n+\n+\tif (ice_get_open_tunnel_port(&ad->hw, TNL_VXLAN, &udp_port))\n+\t\tice_parser_vxlan_tunnel_set(psr, udp_port, true);\n+\n \tif (ice_parser_run(psr, pkt_buf, pkt_len, &rslt))\n \t\treturn -rte_errno;\n \tice_parser_destroy(psr);\n",
    "prefixes": [
        "v1"
    ]
}