get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64139,
    "url": "http://patches.dpdk.org/api/patches/64139/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/CAJ++VZOZd38KC0r02XrOLhsTiDCHBKcayeGT9LP8YeNdj14ZWg@mail.gmail.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": "<CAJ++VZOZd38KC0r02XrOLhsTiDCHBKcayeGT9LP8YeNdj14ZWg@mail.gmail.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/CAJ++VZOZd38KC0r02XrOLhsTiDCHBKcayeGT9LP8YeNdj14ZWg@mail.gmail.com",
    "date": "2019-12-27T00:58:39",
    "name": "pci device access from dpdk secondary process with igb_uio",
    "commit_ref": null,
    "pull_url": null,
    "state": "not-applicable",
    "archived": true,
    "hash": "1b8193ceb215aa67611df68ef12e6953763855fd",
    "submitter": {
        "id": 1549,
        "url": "http://patches.dpdk.org/api/people/1549/?format=api",
        "name": "Vijaya Mohan Guvva",
        "email": "vijay1054@gmail.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/CAJ++VZOZd38KC0r02XrOLhsTiDCHBKcayeGT9LP8YeNdj14ZWg@mail.gmail.com/mbox/",
    "series": [
        {
            "id": 7954,
            "url": "http://patches.dpdk.org/api/series/7954/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=7954",
            "date": "2019-12-27T00:58:39",
            "name": "pci device access from dpdk secondary process with igb_uio",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/7954/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64139/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/64139/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 8CBA5A04FC;\n\tFri, 27 Dec 2019 02:00:15 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 981561BFD3;\n\tFri, 27 Dec 2019 02:00:14 +0100 (CET)",
            "from mail-yb1-f178.google.com (mail-yb1-f178.google.com\n [209.85.219.178]) by dpdk.org (Postfix) with ESMTP id 21C5D1BFB7\n for <dev@dpdk.org>; Fri, 27 Dec 2019 02:00:13 +0100 (CET)",
            "by mail-yb1-f178.google.com with SMTP id a2so10762297ybr.7\n for <dev@dpdk.org>; Thu, 26 Dec 2019 17:00:13 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=mime-version:from:date:message-id:subject:to;\n bh=MLn+Tg3hk5mSkSZZCRZSwAsGzzRG1KMJWiuIg+zXigM=;\n b=EHgWbiEsO9IYfi/NvFB/kgc649qOmw7rbpAxWkw4n7tzAP9ZzCDpQlIwDoc0a0wvVc\n c83MynkCVqhUP+/7PBNpoKhKr5yqVV8t9ahdnN59tdVf8ppAgi0tXkd1HUuO0i20vOpa\n P63f2n0J8bOr24NUlubW/OaOJU2wuZijSlV00GhQ+Tqo8Y2DMDyeYhKITh5WLpkSDely\n rULHbJOJEWBvGj1fB0CsnRUXwuJd2kOGT7n7WXSKlR6ppTPCNhReE1O9H/NdHr3IWSGx\n UUcy+buxfIAsXi1mMHaVpKFfPrK/bmdhk8+x+5Lph7Z9P29oOe10CHna+SGWjoNL7j7V\n n6gQ==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:mime-version:from:date:message-id:subject:to;\n bh=MLn+Tg3hk5mSkSZZCRZSwAsGzzRG1KMJWiuIg+zXigM=;\n b=KpHduSsGuSzX+vTkgtheZNeWtIXKhbOnwMldR46bvxBvSiTJ1U1hWGlRs5a3N5v6xM\n hdrTu0PsFK1zeUdaq5kBCw8SW4RmBp7n4sa1A32oyaz8UMPGtr+xeiL2M/MehfI8Lvn/\n GdT0QoOt4kjrwHKRvgWoQQq9IVx7p7n4eAfAciMusxqSjsiAjw3t/H4fdOFcu5O31gEW\n ST/fKrz4LGOpPfQ/vCqLqUoc8vZrIIi5bgYTxwhHEGPq6IpIE1smBKKsUkqOWMUNypFN\n YMGTHKlm6bVnAm+opQsmj9zWYFF7f+N/2gLW+ZLHLBHyea+i51I0s7oq5A1veRdVKWf6\n jzDg==",
        "X-Gm-Message-State": "APjAAAUAKqMvuVD2Qy/9cY7krCwYTRibaM6JvG4dxDNVrVThFufvMn/c\n vrMNqB67/8jT3B7Ry8spGes+cuY0nlyDZWgwp1UK4C6Q",
        "X-Google-Smtp-Source": "\n APXvYqyyeSTFBhAgSmpJeyBRx+dCxnpJHYWEG8SdTk9FjwuwVXpwBJ6KMx11bEDkSRvfn9TcfshUOwrZQrqpALiq0NU=",
        "X-Received": "by 2002:a05:6830:4d5:: with SMTP id\n s21mr36704441otd.294.1577408411114;\n Thu, 26 Dec 2019 17:00:11 -0800 (PST)",
        "MIME-Version": "1.0",
        "From": "vijay mohan <vijay1054@gmail.com>",
        "Date": "Thu, 26 Dec 2019 16:58:39 -0800",
        "Message-ID": "\n <CAJ++VZOZd38KC0r02XrOLhsTiDCHBKcayeGT9LP8YeNdj14ZWg@mail.gmail.com>",
        "To": "dev@dpdk.org",
        "Content-Type": "text/plain; charset=\"UTF-8\"",
        "X-Content-Filtered-By": "Mailman/MimeDel 2.1.15",
        "Subject": "[dpdk-dev] pci device access from dpdk secondary process with\n\tigb_uio",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "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": "Hi All,\nI am trying to use pci vf device with secondary process in a multiple\nprocess mode and finding pci_dev->mem_resource[0].addr to be NULL. This\nhappens when the pci device is attached to igb_uio.ko but with vfio_pci it\nworks fine.\n\nLooking at the pci device initialization part for secondary process, when\ndevice is presented through igb_uio, (in pci_uio_map_secondary), it doesn't\nseems to update pci_dev->mem_resource[X].addr. For vfio-pci, it updates the\naddresses in pci_vfio_map_resource_secondary. With the following patch, i\nam able to use the device from secondary process but would like to know if\nI am missing something.",
    "diff": "diff --git a/drivers/bus/pci/pci_common_uio.c\nb/drivers/bus/pci/pci_common_uio.c\nindex 7ea73db..f4dca9d 100644\n--- a/drivers/bus/pci/pci_common_uio.c\n+++ b/drivers/bus/pci/pci_common_uio.c\n@@ -70,6 +70,7 @@\n                                }\n                                return -1;\n                        }\n+                       dev->mem_resource[i].addr = mapaddr;\n                }\n                return 0;\n        }\n",
    "prefixes": []
}