get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107739,
    "url": "http://patches.dpdk.org/api/patches/107739/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220217160613.70161-3-srikanth.k@oneconvergence.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": "<20220217160613.70161-3-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220217160613.70161-3-srikanth.k@oneconvergence.com",
    "date": "2022-02-17T16:06:00",
    "name": "[v3,02/15] bus/vmbus: handle mapping of device resources",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e67f66e816aa8d89f99eff9ef908865fc621d442",
    "submitter": {
        "id": 2368,
        "url": "http://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220217160613.70161-3-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 21713,
            "url": "http://patches.dpdk.org/api/series/21713/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=21713",
            "date": "2022-02-17T16:05:58",
            "name": "add FreeBSD support to VMBUS & NetVSC PMDs",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/21713/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/107739/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/107739/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 DE520A034E;\n\tThu, 17 Feb 2022 17:11:05 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 5B48D41150;\n\tThu, 17 Feb 2022 17:10:54 +0100 (CET)",
            "from mail-pj1-f43.google.com (mail-pj1-f43.google.com\n [209.85.216.43]) by mails.dpdk.org (Postfix) with ESMTP id BB2CE40395\n for <dev@dpdk.org>; Thu, 17 Feb 2022 17:06:33 +0100 (CET)",
            "by mail-pj1-f43.google.com with SMTP id\n q11-20020a17090a304b00b001b94d25eaecso5834670pjl.4\n for <dev@dpdk.org>; Thu, 17 Feb 2022 08:06:33 -0800 (PST)",
            "from srikanth-ThinkPad-T450.. ([49.37.144.122])\n by smtp.gmail.com with ESMTPSA id z14sm47807pfh.173.2022.02.17.08.06.30\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 17 Feb 2022 08:06:32 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oneconvergence.com; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=m3t6zb06BD25Hrx1X2tEreaPlBsTf2MwHF9az+lnpbs=;\n b=KuNxxjM8Z4fjnPevel6UQvr583Eoh1WEtDY029LH+ZBjL1Ydws43JojYqga8vWfNgN\n 3fwt+/NN2/Vbm8R/cY1y7jtqHj4vXi9alfsDbh46dObCo+NX8hC9wMwOfwo6ZzMDgYiQ\n juBIUQiSGfEa+fsAVu5zZ3Ue6qqs0jtSG3IA0=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=m3t6zb06BD25Hrx1X2tEreaPlBsTf2MwHF9az+lnpbs=;\n b=cvV18u4nV4K3RoTH0yI+7q8vhhdRookajqK4c8NLEN23e5ufMqqKqaD9p4FU08C3Rn\n 8I4MoLcHd7teyycR+7+8mghnAlBma2hIDZ0ViiK4wIhB5ZZnJpMx3ow6X29WlNhtXZu3\n UmEMbmxWT+Wb/B0RxFihUv2MFb+YjO5wSzlNZqU8xVzXh3Z+bQHYP7ebU/mgV5ENVafq\n UqKUVMfXppYIHG3UlgKNjgjuXs6soqL4UtVlqcxp9hYbTr6ZsNPNvmvHeP+Ejawwv0QW\n jiiWGid7nZWg5+4xqMUVECaznqKTuktRACHhyiycWMhidpG0hyWFgmKwd+rqIpNKdFap\n ruNA==",
        "X-Gm-Message-State": "AOAM531TiO46+wYM684oVu1M5wdHUVxVB5hcJuOveW3ViQMaVpewu2kY\n rsXkn0DU/pyzW4aoSH5/mkbNvq0DiXC+/wSMbXo=",
        "X-Google-Smtp-Source": "\n ABdhPJy6fasXRtiEt7J8MKHGC4TfJd5cUswWjJPKTeZcFD0gDCup6iMgj1t5icykcXHS9i+3rNrjOQ==",
        "X-Received": "by 2002:a17:90a:3f09:b0:1b8:e615:a261 with SMTP id\n l9-20020a17090a3f0900b001b8e615a261mr8050953pjc.196.1645113992925;\n Thu, 17 Feb 2022 08:06:32 -0800 (PST)",
        "From": "Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "To": "sthemmin@microsoft.com,\n\tlongli@microsoft.com",
        "Cc": "dev@dpdk.org, vag.singh@oneconvergence.com, avelu@juniper.net,\n Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "Subject": "[PATCH v3 02/15] bus/vmbus: handle mapping of device resources",
        "Date": "Thu, 17 Feb 2022 21:36:00 +0530",
        "Message-Id": "<20220217160613.70161-3-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20220217160613.70161-1-srikanth.k@oneconvergence.com>",
        "References": "<20210927134231.11177-1-srikanth.k@oneconvergence.com>\n <20220217160613.70161-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Thu, 17 Feb 2022 17:10:51 +0100",
        "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": "All resource values are published by HV_UIO driver as sysctl key\nvalue pairs and they are read at a later point of the code flow\n\nSigned-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>\nSigned-off-by: Vag Singh <vag.singh@oneconvergence.com>\nSigned-off-by: Anand Thulasiram <avelu@juniper.net>\n---\n drivers/bus/vmbus/freebsd/vmbus_bus.c | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/drivers/bus/vmbus/freebsd/vmbus_bus.c b/drivers/bus/vmbus/freebsd/vmbus_bus.c\nindex c8583aba37..fa0f4883f7 100644\n--- a/drivers/bus/vmbus/freebsd/vmbus_bus.c\n+++ b/drivers/bus/vmbus/freebsd/vmbus_bus.c\n@@ -41,6 +41,24 @@ parse_sysfs_uuid(const char *filename, rte_uuid_t uu)\n \treturn 0;\n }\n \n+/* map the resources of a vmbus device in virtual memory */\n+int\n+rte_vmbus_map_device(struct rte_vmbus_device *dev)\n+{\n+\tif (dev->uio_num < 0) {\n+\t\tVMBUS_LOG(DEBUG, \"Not managed by UIO driver, skipped\");\n+\t\treturn 1;\n+\t}\n+\n+\treturn vmbus_uio_map_resource(dev);\n+}\n+\n+void\n+rte_vmbus_unmap_device(struct rte_vmbus_device *dev)\n+{\n+\tvmbus_uio_unmap_resource(dev);\n+}\n+\n /* Scan one vmbus entry, and fill the devices list from it. */\n static int\n vmbus_scan_one(const char *name, unsigned int unit_num)\n",
    "prefixes": [
        "v3",
        "02/15"
    ]
}