get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 128725,
    "url": "http://patchwork.dpdk.org/api/patches/128725/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230615051717.2906443-3-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-3-junfeng.guo@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230615051717.2906443-3-junfeng.guo@intel.com",
    "date": "2023-06-15T05:17:17",
    "name": "[2/2] net/iavf: fix variable type in pattern parsing for raw flow",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3db3574d1840a8018bb48d9317a61df350e6a344",
    "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-3-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/128725/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/128725/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 45B2342CC0;\n\tThu, 15 Jun 2023 07:17:43 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EA29542D1D;\n\tThu, 15 Jun 2023 07:17:32 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 234C541101;\n Thu, 15 Jun 2023 07:17:30 +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:30 -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:29 -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=1686806251; x=1718342251;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=136H3QVIn5MfUiTD98lboLhVoCuvDjyP+sp5QL8fjBM=;\n b=WfvUHr2+hoisJEoU43qcdZkqzenrp2NvGYGlxoLJlw9Y1hSKlVeyLJ/k\n BJvVVOxMyzQRhFimX+JQ9sze81V5UsiX6Ksk5LOYQ2ik+N8YG0j3bNgYY\n +S7rgf1POBuHY8XLcbW6gwABF6u11O2tgpQ8ephq25Npl0rUtDDdhLXOK\n XVU+hCBu077Ugc9EIRv4T0sUC6Zo1e71DwHHZrY8jXCuZlzmo7/5oRUvy\n VXl2YMdSO3xvGAxQThXQrYX+9rNylPgHoyEWRtiPVoprFqkuGoA+tpA59\n 0AqnHLwzT8VzyFq8Dj9q8NDTYKo0Vb+MeaYXs7+tQxIzBTt7P+eqjNX8L Q==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10741\"; a=\"348482462\"",
            "E=Sophos;i=\"6.00,244,1681196400\"; d=\"scan'208\";a=\"348482462\"",
            "E=McAfee;i=\"6600,9927,10741\"; a=\"1042491889\"",
            "E=Sophos;i=\"6.00,244,1681196400\"; d=\"scan'208\";a=\"1042491889\""
        ],
        "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 2/2] net/iavf: fix variable type in pattern parsing for raw\n flow",
        "Date": "Thu, 15 Jun 2023 13:17:17 +0800",
        "Message-Id": "<20230615051717.2906443-3-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: bc0e85586eaf (\"net/iavf: support VF RSS flow rule with raw pattern\")\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/iavf/iavf_hash.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/iavf/iavf_hash.c b/drivers/net/iavf/iavf_hash.c\nindex ae6fb38594..cf4d677101 100644\n--- a/drivers/net/iavf/iavf_hash.c\n+++ b/drivers/net/iavf/iavf_hash.c\n@@ -886,8 +886,8 @@ iavf_hash_parse_raw_pattern(const struct rte_flow_item *item,\n \t\t\tstruct iavf_rss_meta *meta)\n {\n \tconst struct rte_flow_item_raw *raw_spec, *raw_mask;\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": [
        "2/2"
    ]
}