get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 127000,
    "url": "http://patchwork.dpdk.org/api/patches/127000/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20230518151638.1207021-7-qiming.yang@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": "<20230518151638.1207021-7-qiming.yang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230518151638.1207021-7-qiming.yang@intel.com",
    "date": "2023-05-18T15:16:24",
    "name": "[v2,06/20] net/ice/base: add missing AQ flag to AQ command",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "3ba921b20169f1a8d76bfe31a25bfa6502e71372",
    "submitter": {
        "id": 522,
        "url": "http://patchwork.dpdk.org/api/people/522/?format=api",
        "name": "Qiming Yang",
        "email": "qiming.yang@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/20230518151638.1207021-7-qiming.yang@intel.com/mbox/",
    "series": [
        {
            "id": 28063,
            "url": "http://patchwork.dpdk.org/api/series/28063/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=28063",
            "date": "2023-05-18T15:16:18",
            "name": "net/ice/base: code update",
            "version": 2,
            "mbox": "http://patchwork.dpdk.org/series/28063/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/127000/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/127000/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 4F4E842AF1;\n\tThu, 18 May 2023 17:35:10 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B570842D4B;\n\tThu, 18 May 2023 17:34:31 +0200 (CEST)",
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n by mails.dpdk.org (Postfix) with ESMTP id 9220F42D44\n for <dev@dpdk.org>; Thu, 18 May 2023 17:34:30 +0200 (CEST)",
            "from fmsmga007.fm.intel.com ([10.253.24.52])\n by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 May 2023 08:34:30 -0700",
            "from dpdk-qiming3.sh.intel.com ([10.67.111.4])\n by fmsmga007.fm.intel.com with ESMTP; 18 May 2023 08:34: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=1684424070; x=1715960070;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=hN6Fu8K+AMWDvv/cKpPmtPBcgZ6U0WjcmXofsz80eY4=;\n b=dXQed6zxbztG+cFZY9lYcsDPKgcPWIyRBg5nwbaioH8AEXV2ic7DZiPo\n 4QQod3ZJFkgkkvZQzzS2Bahvcp+kXLZn+Yp8Nnd0TXJhLIMlEN8Ij4YmN\n JD8dR9G1nXWtg5FbjXpWDITdul1Z0jKJSPYjSoRne9l+Eos9WbZzqcWyt\n UZlGNy9WPmZViI+8KwceKHz8HgzGfmWvMH4vj41XhgoohLcoUti1aiCfs\n IYSKc91M9gq/Ccc1oD273EZQ3ze2A4cBPeZO5kA+XGppM4qO39ss5x/75\n UTJHalwkE5tsaTyhxDeQOzGxXqcKO8DNbZ4xHXVQcYeMehWmzygB1O3dy A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10714\"; a=\"341527662\"",
            "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"341527662\"",
            "E=McAfee;i=\"6600,9927,10714\"; a=\"705235082\"",
            "E=Sophos;i=\"5.99,285,1677571200\"; d=\"scan'208\";a=\"705235082\""
        ],
        "X-ExtLoop1": "1",
        "From": "Qiming Yang <qiming.yang@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "qi.z.zhang@intel.com, Qiming Yang <qiming.yang@intel.com>,\n Eric Joyner <eric.joyner@intel.com>",
        "Subject": "[PATCH v2 06/20] net/ice/base: add missing AQ flag to AQ command",
        "Date": "Thu, 18 May 2023 15:16:24 +0000",
        "Message-Id": "<20230518151638.1207021-7-qiming.yang@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230518151638.1207021-1-qiming.yang@intel.com>",
        "References": "<20230427062001.478032-1-qiming.yang@intel.com>\n <20230518151638.1207021-1-qiming.yang@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": "The RD flag needs to be set when virtual port rules are added since the\nFW needs to read the additional buffer with the mirror rule parameters.\n\nSigned-off-by: Eric Joyner <eric.joyner@intel.com>\nSigned-off-by: Qiming Yang <qiming.yang@intel.com>\n---\n drivers/net/ice/base/ice_switch.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/ice/base/ice_switch.c b/drivers/net/ice/base/ice_switch.c\nindex c71861a36d..f201c287fc 100644\n--- a/drivers/net/ice/base/ice_switch.c\n+++ b/drivers/net/ice/base/ice_switch.c\n@@ -3134,6 +3134,8 @@ ice_aq_add_update_mir_rule(struct ice_hw *hw, u16 rule_type, u16 dest_vsi,\n \t\t\telse /* remove VSI from mirror rule */\n \t\t\t\tmr_list[i] = CPU_TO_LE16(id);\n \t\t}\n+\n+\t\tdesc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);\n \t}\n \n \tcmd = &desc.params.add_update_rule;\n",
    "prefixes": [
        "v2",
        "06/20"
    ]
}