get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128724,
    "url": "http://patchwork.dpdk.org/api/patches/128724/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230615051717.2906443-2-junfeng.guo@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20230615051717.2906443-2-junfeng.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230615051717.2906443-2-junfeng.guo@intel.com",
    "date": "2023-06-15T05:17:16",
    "name": "[1/2] net/ice: fix variable type in pattern parsing for raw flow",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b41c4855efd6ece88d7a46a02b1c151ada858087",
    "submitter": {
        "id": 1785,
        "url": "http://patchwork.dpdk.org/api/people/1785/?format=api",
        "name": "Junfeng Guo",
        "email": "junfeng.guo@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patchwork.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20230615051717.2906443-2-junfeng.guo@intel.com/mbox/",
    "series": [
        {
            "id": 28524,
            "url": "http://patchwork.dpdk.org/api/series/28524/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28524",
            "date": "2023-06-15T05:17:15",
            "name": "fix variable type in pattern parsing for raw flow",
            "version": 1,
            "mbox": "http://patchwork.dpdk.org/series/28524/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/128724/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128724/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 0889642CC0;\n\tThu, 15 Jun 2023 07:17:36 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 87F54427F2;\n\tThu, 15 Jun 2023 07:17:31 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 6753B40DDA;\n Thu, 15 Jun 2023 07:17:29 +0200 (CEST)",
            "from fmsmga005.fm.intel.com ([10.253.24.32])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 14 Jun 2023 22:17:28 -0700",
            "from dpdk-jf-ntb-v2.sh.intel.com ([10.67.119.19])\n by fmsmga005.fm.intel.com with ESMTP; 14 Jun 2023 22:17:27 -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=1686806249; x=1718342249;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=tyJWIH+bhyCO8CmL4tBvlHLpYA8x34z9skOYE0c9lxY=;\n b=X6iW/rfYzFfmg/gRnIrK+arlRlwM8ZJV3qqK1vtljYEGolF2ktfO6ULJ\n b27m5vnEtOVjJYjbsgloxTcH90OMicAT/5dfxK5DeUM0ixHI2vFzFfTUd\n WpIsoxL3htKTsIS0XhtRRVXir+t6obchtuNJ0swgQHSt5Uhp8asUcT4bE\n u+aiH4bQlOYCLUOCfUnHHQwGyiOyQch5Og0svVHDwPxg0ry/10NhDlIGM\n eJ5DEwNVstTbsUpr3I8I6Ywuycra2ysN0DaxLJyZHgxi6r8NLUazwruAF\n ghOMpkbYBjx6UQLcmnnuvHmln60lYKkZaK8MTckB0NU1MWv934j5I/GNY A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10741\"; a=\"348482460\"",
            "E=Sophos;i=\"6.00,244,1681196400\"; d=\"scan'208\";a=\"348482460\"",
            "E=McAfee;i=\"6600,9927,10741\"; a=\"1042491884\"",
            "E=Sophos;i=\"6.00,244,1681196400\"; d=\"scan'208\";a=\"1042491884\""
        ],
        "X-ExtLoop1": "1",
        "From": "Junfeng Guo <junfeng.guo@intel.com>",
        "To": "qi.z.zhang@intel.com,\n\tqiming.yang@intel.com",
        "Cc": "dev@dpdk.org, stable@dpdk.org, ting.xu@intel.com,\n Junfeng Guo <junfeng.guo@intel.com>",
        "Subject": "[PATCH 1/2] net/ice: fix variable type in pattern parsing for raw\n flow",
        "Date": "Thu, 15 Jun 2023 13:17:16 +0800",
        "Message-Id": "<20230615051717.2906443-2-junfeng.guo@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230615051717.2906443-1-junfeng.guo@intel.com>",
        "References": "<20230615051717.2906443-1-junfeng.guo@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "In current pattern parsing function for protocol agnostic flow\noffloading (raw flow), some of the variables of packet length are\ndefined as uint8_t, which are too small for some large-size packets,\nsuch as srv6 (Segment Routing over IPv6 dataplane) type. Change the\ntype to uint16_t.\n\nFixes: 25be39cc1760 (\"net/ice: enable protocol agnostic flow offloading in FDIR\")\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>\nSigned-off-by: Junfeng Guo <junfeng.guo@intel.com>\n---\n drivers/net/ice/ice_fdir_filter.c | 2 +-\n drivers/net/ice/ice_hash.c        | 2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/ice/ice_fdir_filter.c b/drivers/net/ice/ice_fdir_filter.c\nindex 480b369af8..e8842bc242 100644\n--- a/drivers/net/ice/ice_fdir_filter.c\n+++ b/drivers/net/ice/ice_fdir_filter.c\n@@ -1876,7 +1876,7 @@ ice_fdir_parse_pattern(__rte_unused struct ice_adapter *ad,\n \t\t\t\t(uint8_t *)(uintptr_t)raw_mask->pattern;\n \t\t\tuint8_t *tmp_spec, *tmp_mask;\n \t\t\tuint16_t tmp_val = 0;\n-\t\t\tuint8_t pkt_len = 0;\n+\t\t\tuint16_t pkt_len = 0;\n \t\t\tuint8_t tmp = 0;\n \t\t\tint i, j;\n \ndiff --git a/drivers/net/ice/ice_hash.c b/drivers/net/ice/ice_hash.c\nindex f35727856e..52646e9408 100644\n--- a/drivers/net/ice/ice_hash.c\n+++ b/drivers/net/ice/ice_hash.c\n@@ -653,8 +653,8 @@ ice_hash_parse_raw_pattern(struct ice_adapter *ad,\n \tconst struct rte_flow_item_raw *raw_spec, *raw_mask;\n \tstruct ice_parser_profile prof;\n \tstruct ice_parser_result rslt;\n+\tuint16_t spec_len, pkt_len;\n \tuint8_t *pkt_buf, *msk_buf;\n-\tuint8_t spec_len, pkt_len;\n \tuint8_t tmp_val = 0;\n \tuint8_t tmp_c = 0;\n \tint i, j;\n",
    "prefixes": [
        "1/2"
    ]
}