get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 131522,
    "url": "http://patches.dpdk.org/api/patches/131522/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230918021130.192982-7-simei.su@intel.com/",
    "project": {
        "id": 1,
        "url": "http://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": "<20230918021130.192982-7-simei.su@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20230918021130.192982-7-simei.su@intel.com",
    "date": "2023-09-18T02:11:18",
    "name": "[v4,06/18] common/idpf/base: add some adi specific fields",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "132433b8292e29f7f909052c203be92fcbb767eb",
    "submitter": {
        "id": 1298,
        "url": "http://patches.dpdk.org/api/people/1298/?format=api",
        "name": "Simei Su",
        "email": "simei.su@intel.com"
    },
    "delegate": {
        "id": 1540,
        "url": "http://patches.dpdk.org/api/users/1540/?format=api",
        "username": "qzhan15",
        "first_name": "Qi",
        "last_name": "Zhang",
        "email": "qi.z.zhang@intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230918021130.192982-7-simei.su@intel.com/mbox/",
    "series": [
        {
            "id": 29530,
            "url": "http://patches.dpdk.org/api/series/29530/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29530",
            "date": "2023-09-18T02:11:12",
            "name": "update idpf base code",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/29530/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/131522/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/131522/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 0B008425C9;\n\tMon, 18 Sep 2023 04:12:29 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B5958402F2;\n\tMon, 18 Sep 2023 04:12:25 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [192.55.52.151])\n by mails.dpdk.org (Postfix) with ESMTP id 796C640263\n for <dev@dpdk.org>; Mon, 18 Sep 2023 04:12:23 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 17 Sep 2023 19:11:20 -0700",
            "from dpdk-simei-icelake.sh.intel.com ([10.67.110.167])\n by fmsmga004.fm.intel.com with ESMTP; 17 Sep 2023 19:11:18 -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=1695003143; x=1726539143;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=aPeD85phfc9xloKPkE1ohod3OOySwNo8f/yUim68Xts=;\n b=m1Gu29Vl45CqRm8YewwLvST3DIJpfmAPxgR4ZgcZKIXMaLz5LP6YUUfO\n 8F0OXvIjE+wTmgzZ5c+GpnFFurGdCufoLXatyhXEsFlvfyfqJzBHIuuOR\n Uc12jjrPhvFSUbXlyXM9NbsG1eBsmwCRG81KatLgg3wMCTI9jdLWVyeBm\n T4flZGoYbh/eIdd8APu9Z0z8/pR8s6AaAz/TW7DrAUM2ZQ1yDULW99NlQ\n B5r5AcHEVB8v9Kf59TGpnwF9gNM182riAjYtEfFiYIrsMOCFOZAVb1kaz\n RP+yiotb1mZoCezbCOzavLDk/bI3RhK+CkiKB5P86jZoxP/EBSrt+jA5m w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10836\"; a=\"359801674\"",
            "E=Sophos;i=\"6.02,155,1688454000\"; d=\"scan'208\";a=\"359801674\"",
            "E=McAfee;i=\"6600,9927,10836\"; a=\"815846849\"",
            "E=Sophos;i=\"6.02,155,1688454000\"; d=\"scan'208\";a=\"815846849\""
        ],
        "X-ExtLoop1": "1",
        "From": "Simei Su <simei.su@intel.com>",
        "To": "jingjing.wu@intel.com,\n\tbeilei.xing@intel.com,\n\tqi.z.zhang@intel.com",
        "Cc": "dev@dpdk.org, wenjun1.wu@intel.com, mingxia.liu@intel.com,\n wenjing.qiao@intel.com, Simei Su <simei.su@intel.com>,\n Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>",
        "Subject": "[PATCH v4 06/18] common/idpf/base: add some adi specific fields",
        "Date": "Mon, 18 Sep 2023 10:11:18 +0800",
        "Message-Id": "<20230918021130.192982-7-simei.su@intel.com>",
        "X-Mailer": "git-send-email 2.25.1",
        "In-Reply-To": "<20230918021130.192982-1-simei.su@intel.com>",
        "References": "<20230915021730.2681882-1-simei.su@intel.com>\n <20230918021130.192982-1-simei.su@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": "a) Add maximum ADI count in capabilities message\nb) Add PF side ADI index to create_adi message\nc) Define another constant to indicate 'Function active' state of ADI\n\nSigned-off-by: Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>\nSigned-off-by: Simei Su <simei.su@intel.com>\nAcked-by: Beilei Xing <beilei.xing@intel.com>\n---\n .mailmap                             | 1 +\n drivers/common/idpf/base/virtchnl2.h | 8 ++++++--\n 2 files changed, 7 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/.mailmap b/.mailmap\nindex d8782cd67e..75d534c53d 100644\n--- a/.mailmap\n+++ b/.mailmap\n@@ -1643,3 +1643,4 @@ Jayaprakash Shanmugam <jayaprakash.shanmugam@intel.com>\n Zhenning Xiao <zhenning.xiao@intel.com>\n Josh Hay <joshua.a.hay@intel.com>\n Madhu Chittim <madhu.chittim@intel.com>\n+Shailendra Bhatnagar <shailendra.bhatnagar@intel.com>\ndiff --git a/drivers/common/idpf/base/virtchnl2.h b/drivers/common/idpf/base/virtchnl2.h\nindex 320430df6f..7a099f5148 100644\n--- a/drivers/common/idpf/base/virtchnl2.h\n+++ b/drivers/common/idpf/base/virtchnl2.h\n@@ -294,6 +294,7 @@\n /* These messages are only sent to PF from CP */\n #define VIRTCHNL2_EVENT_START_RESET_ADI\t\t2\n #define VIRTCHNL2_EVENT_FINISH_RESET_ADI\t3\n+#define VIRTCHNL2_EVENT_ADI_ACTIVE\t\t4\n \n /* VIRTCHNL2_QUEUE_TYPE\n  * Transmit and Receive queue types are valid in legacy as well as split queue\n@@ -547,7 +548,8 @@ struct virtchnl2_get_capabilities {\n \tu8 max_sg_bufs_per_tx_pkt;\n \n \tu8 reserved1;\n-\t__le16 pad1;\n+\t/* upper bound of number of ADIs supported */\n+\t__le16 max_adis;\n \n \t/* version of Control Plane that is running */\n \t__le16 oem_cp_ver_major;\n@@ -1076,10 +1078,12 @@ struct virtchnl2_create_adi {\n \t__le16 mbx_id;\n \t/* PF sends mailbox vector id to CP */\n \t__le16 mbx_vec_id;\n+\t/* PF populates this ADI index */\n+\t__le16 adi_index;\n \t/* CP populates ADI id */\n \t__le16 adi_id;\n \tu8 reserved[64];\n-\tu8 pad[6];\n+\tu8 pad[4];\n \t/* CP populates queue chunks */\n \tstruct virtchnl2_queue_reg_chunks chunks;\n \t/* PF sends vector chunks to CP */\n",
    "prefixes": [
        "v4",
        "06/18"
    ]
}