get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 120493,
    "url": "https://patches.dpdk.org/api/patches/120493/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20221206125041.339275-1-abhishek.maheshwari@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": "<20221206125041.339275-1-abhishek.maheshwari@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20221206125041.339275-1-abhishek.maheshwari@intel.com",
    "date": "2022-12-06T12:50:41",
    "name": "vdpa/ifc: Match ANY subsystem IDs for modern virtio devices",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "32253a2b5805c333f4e12afe20bb3bcfaf6bd90b",
    "submitter": {
        "id": 2865,
        "url": "https://patches.dpdk.org/api/people/2865/?format=api",
        "name": "Abhishek Maheshwari",
        "email": "abhishek.maheshwari@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "https://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20221206125041.339275-1-abhishek.maheshwari@intel.com/mbox/",
    "series": [
        {
            "id": 26017,
            "url": "https://patches.dpdk.org/api/series/26017/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=26017",
            "date": "2022-12-06T12:50:41",
            "name": "vdpa/ifc: Match ANY subsystem IDs for modern virtio devices",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/26017/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/120493/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/120493/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 63D3DA054A;\n\tTue,  6 Dec 2022 14:24:45 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 094B040687;\n\tTue,  6 Dec 2022 14:24:45 +0100 (CET)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by mails.dpdk.org (Postfix) with ESMTP id EB6564021D;\n Tue,  6 Dec 2022 14:24:43 +0100 (CET)",
            "from fmsmga001.fm.intel.com ([10.253.24.23])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 06 Dec 2022 05:24:40 -0800",
            "from unknown (HELO localhost.localdomain) ([10.190.193.12])\n by fmsmga001.fm.intel.com with ESMTP; 06 Dec 2022 05:24:38 -0800"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1670333084; x=1701869084;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=LxHaanGrt7AdRIIYvRQwaUTghXJlykImJdEVvhmSMis=;\n b=J0VC2gSbpxBYvOOKFtz9LOAXD4Uh4gfPYKiDb4ilLQSprEl3QgHDbPWA\n l89R7GNLVXdlVUEepBSJuHpVU710zQQtdhos9sMWkk0iTiHn+WKM8z1OW\n SPgSp0zH2kPrRg3VTk5nmbUWbvP26lQPFKE1FY2eRgrfgx0afxQz1AdX8\n jPcXqkS63vWinumqrT7Do/NVHIKqKfJ1Qtgz6LHBenlV63qcEXbKAAUQR\n 9WUrVhCUkpmiyFtX/7FOjBY9ZSP8whx/jeq0xevfiqlcsP2GmdWXvnY1i\n 2u8fnG0cmABkJ9Na6mbXRWbSs44vYfF/wVaIc5xHUXUPIkkuoKIZTPw5a A==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6500,9779,10552\"; a=\"316644104\"",
            "E=Sophos;i=\"5.96,222,1665471600\"; d=\"scan'208\";a=\"316644104\"",
            "E=McAfee;i=\"6500,9779,10552\"; a=\"788483534\"",
            "E=Sophos;i=\"5.96,222,1665471600\"; d=\"scan'208\";a=\"788483534\""
        ],
        "X-ExtLoop1": "1",
        "From": "Abhishek Maheshwari <abhishek.maheshwari@intel.com>",
        "To": "xiao.w.wang@intel.com",
        "Cc": "dev@dpdk.org, stable@dpdk.org, chenbo.xia@intel.com,\n purna.chandra.mandal@intel.com,\n Abhishek Maheshwari <abhishek.maheshwari@intel.com>",
        "Subject": "[PATCH] vdpa/ifc: Match ANY subsystem IDs for modern virtio devices",
        "Date": "Tue,  6 Dec 2022 18:20:41 +0530",
        "Message-Id": "<20221206125041.339275-1-abhishek.maheshwari@intel.com>",
        "X-Mailer": "git-send-email 2.31.1",
        "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": "Fixing the match table for vdpa/ifcvf driver because as per the Virtio\ndevice specification, drivers MAY match any PCI Subsystem Vendor ID and\nany PCI Subsystem Device ID value.\n\nFixes: a60b747d0ad (\"vdpa/ifc: support virtio block device\")\nFixes: 5c806b94785 (\"vdpa/ifc: add PCI ID for legacy network device\")\nCc: stable@dpdk.org\n\nSigned-off-by: Abhishek Maheshwari <abhishek.maheshwari@intel.com>\n---\n drivers/vdpa/ifc/ifcvf_vdpa.c | 8 ++++----\n 1 file changed, 4 insertions(+), 4 deletions(-)",
    "diff": "diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c b/drivers/vdpa/ifc/ifcvf_vdpa.c\nindex 49d68ad1b1..214d6e1f60 100644\n--- a/drivers/vdpa/ifc/ifcvf_vdpa.c\n+++ b/drivers/vdpa/ifc/ifcvf_vdpa.c\n@@ -1824,8 +1824,8 @@ static const struct rte_pci_id pci_id_ifcvf_map[] = {\n \t{ .class_id = RTE_CLASS_ANY_ID,\n \t  .vendor_id = IFCVF_VENDOR_ID,\n \t  .device_id = IFCVF_NET_MODERN_DEVICE_ID,\n-\t  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,\n-\t  .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,\n+\t  .subsystem_vendor_id = RTE_PCI_ANY_ID,\n+\t  .subsystem_device_id = RTE_PCI_ANY_ID,\n \t},\n \n \t{ .class_id = RTE_CLASS_ANY_ID,\n@@ -1845,8 +1845,8 @@ static const struct rte_pci_id pci_id_ifcvf_map[] = {\n \t{ .class_id = RTE_CLASS_ANY_ID,\n \t  .vendor_id = IFCVF_VENDOR_ID,\n \t  .device_id = IFCVF_BLK_MODERN_DEVICE_ID,\n-\t  .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,\n-\t  .subsystem_device_id = IFCVF_SUBSYS_BLK_DEVICE_ID,\n+\t  .subsystem_vendor_id = RTE_PCI_ANY_ID,\n+\t  .subsystem_device_id = RTE_PCI_ANY_ID,\n \t},\n \n \t{ .vendor_id = 0, /* sentinel */\n",
    "prefixes": []
}