get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99823,
    "url": "http://patches.dpdk.org/api/patches/99823/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210927134231.11177-7-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": "<20210927134231.11177-7-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210927134231.11177-7-srikanth.k@oneconvergence.com",
    "date": "2021-09-27T13:42:26",
    "name": "[06/11] net/netvsc: request HV_UIO to open sub-channels",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e38af274219a4522727bbf6b8526141558693d0d",
    "submitter": {
        "id": 2368,
        "url": "http://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210927134231.11177-7-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 19194,
            "url": "http://patches.dpdk.org/api/series/19194/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=19194",
            "date": "2021-09-27T13:42:20",
            "name": "add FreeBSD support to VMBUS & NetVSC PMDs",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/19194/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/99823/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/99823/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 40E78A0C46;\n\tMon, 27 Sep 2021 17:01:14 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0304F411A1;\n\tMon, 27 Sep 2021 16:58:37 +0200 (CEST)",
            "from mail-pj1-f54.google.com (mail-pj1-f54.google.com\n [209.85.216.54]) by mails.dpdk.org (Postfix) with ESMTP id B8DA640E3C\n for <dev@dpdk.org>; Mon, 27 Sep 2021 15:43:15 +0200 (CEST)",
            "by mail-pj1-f54.google.com with SMTP id\n lb1-20020a17090b4a4100b001993f863df2so13733262pjb.5\n for <dev@dpdk.org>; Mon, 27 Sep 2021 06:43:15 -0700 (PDT)",
            "from srikanth-ThinkPad-T450.domain.name ([223.178.22.200])\n by smtp.gmail.com with ESMTPSA id b3sm16960665pfo.23.2021.09.27.06.43.12\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 27 Sep 2021 06:43:14 -0700 (PDT)"
        ],
        "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=z1oO9hmfz/nQz44rL3kBXq6YVMX+k7y7RSyHhViHvzQ=;\n b=dMM61kUsjseWam0N6eRdPS3BpO5eXyUw4d1+SArcUzSEWXqPf0Rqo2GgUDkMx7S0ZJ\n 9D+ZNuC4tq/bWk7d4Y9cG51zyj3NjAsYv2x3Xc4JDAHvy/9wEKIwMq/3NoE+0TxzrF/O\n U2E5sCpZ/bpQaaNbPdGU65tl5NaGaIXSKKnO4=",
        "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=z1oO9hmfz/nQz44rL3kBXq6YVMX+k7y7RSyHhViHvzQ=;\n b=hUj4G62EeqR9bezt5F8ZMq2zemIuMjUrMmlzKIhZS5r0zJTEvbiRPy3KSvQgcwI74b\n GuWMows9tCpeTkwSYD/51LdGnrI1x9HB0lpjQCTNokuJsqEqsW3D9Q8kmaiLX+J/LY1i\n kCkrT6PVuD/vUM30UPEZ27tl9RWUAV3WfOefFK4OpFJHwLlBAAatF2/cPctIvnW841qo\n hlqP3glmEqsGCQH2aHWhzB2jAb5ZKIqaeWTmzXR5JilI4WyynjuEWgcXMC1PIXAraWaK\n jgFXFVtFn8g5XYpThajgsNuuJkjJyS5PVYNOaAb0Bo+YPJd3P3y22kB6CJ5qMZtGrqvf\n jR3Q==",
        "X-Gm-Message-State": "AOAM531OG52wflqy+gWG+IJE169Gz3TXdXO9GYqQeigrHTKjCLKBGYEW\n lK4CyHPHhZSHmGM0FsQlhL0jYg==",
        "X-Google-Smtp-Source": "\n ABdhPJxRwJHeo8UEDhptcywuJaJkaohNsfmHz0zBLXi34TW0ZE842eo3gYZJwJ5QOIb3a5oIINyDAg==",
        "X-Received": "by 2002:a17:902:b102:b0:134:a329:c2f8 with SMTP id\n q2-20020a170902b10200b00134a329c2f8mr54701plr.71.1632750195021;\n Mon, 27 Sep 2021 06:43:15 -0700 (PDT)",
        "From": "Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "To": "Stephen Hemminger <sthemmin@microsoft.com>, Long Li <longli@microsoft.com>",
        "Cc": "dev@dpdk.org, Vag Singh <vag.singh@oneconvergence.com>,\n Anand Thulasiram <avelu@juniper.net>,\n Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "Date": "Mon, 27 Sep 2021 19:12:26 +0530",
        "Message-Id": "<20210927134231.11177-7-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20210927134231.11177-1-srikanth.k@oneconvergence.com>",
        "References": "<20210927134231.11177-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Mon, 27 Sep 2021 16:58:07 +0200",
        "Subject": "[dpdk-dev] [PATCH 06/11] net/netvsc: request HV_UIO to open\n sub-channels",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "On Linux, the request does nothing, while on FreeBSD the HV_UIO\nkernel driver receives the request and opens the subchannels on\nPMDs behalf.\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/net/netvsc/hn_ethdev.c | 4 ++++\n 1 file changed, 4 insertions(+)",
    "diff": "diff --git a/drivers/net/netvsc/hn_ethdev.c b/drivers/net/netvsc/hn_ethdev.c\nindex 9e2a405973..6f9053c4d5 100644\n--- a/drivers/net/netvsc/hn_ethdev.c\n+++ b/drivers/net/netvsc/hn_ethdev.c\n@@ -515,6 +515,10 @@ static int hn_subchan_configure(struct hn_data *hv,\n \tif (err)\n \t\treturn  err;\n \n+\terr = rte_vmbus_ioctl(hv->vmbus, subchan);\n+\tif (err)\n+\t\treturn  err;\n+\n \twhile (subchan > 0) {\n \t\tstruct vmbus_channel *new_sc;\n \t\tuint16_t chn_index;\n",
    "prefixes": [
        "06/11"
    ]
}