get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 64285,
    "url": "http://patches.dpdk.org/api/patches/64285/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200108062510.3478-5-oda@valinux.co.jp/",
    "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": "<20200108062510.3478-5-oda@valinux.co.jp>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200108062510.3478-5-oda@valinux.co.jp",
    "date": "2020-01-08T06:25:10",
    "name": "[4/4] net/vhost: make secondary probe complete",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "c239ae6d7a754fb0c3f2f9a9c5a64cce9dc370fc",
    "submitter": {
        "id": 1558,
        "url": "http://patches.dpdk.org/api/people/1558/?format=api",
        "name": "Itsuro Oda",
        "email": "oda@valinux.co.jp"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200108062510.3478-5-oda@valinux.co.jp/mbox/",
    "series": [
        {
            "id": 8013,
            "url": "http://patches.dpdk.org/api/series/8013/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8013",
            "date": "2020-01-08T06:25:07",
            "name": "make vhost PMD available for secondary processes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8013/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/64285/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/64285/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 7F590A04FA;\n\tWed,  8 Jan 2020 07:25:39 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4032E1D95D;\n\tWed,  8 Jan 2020 07:25:19 +0100 (CET)",
            "from valinux.co.jp (vagw.valinux.co.jp [210.128.90.14])\n by dpdk.org (Postfix) with ESMTP id C26271D715\n for <dev@dpdk.org>; Wed,  8 Jan 2020 07:25:12 +0100 (CET)",
            "by valinux.co.jp (Postfix, from userid 1000)\n id EE3B12409C8; Wed,  8 Jan 2020 15:25:11 +0900 (JST)"
        ],
        "From": "oda@valinux.co.jp",
        "To": "dev@dpdk.org",
        "Date": "Wed,  8 Jan 2020 15:25:10 +0900",
        "Message-Id": "<20200108062510.3478-5-oda@valinux.co.jp>",
        "X-Mailer": "git-send-email 2.17.1",
        "In-Reply-To": "<20200108062510.3478-1-oda@valinux.co.jp>",
        "References": "<20200108062510.3478-1-oda@valinux.co.jp>",
        "Subject": "[dpdk-dev] [PATCH 4/4] net/vhost: make secondary probe complete",
        "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": "From: Itsuro Oda <oda@valinux.co.jp>\n\nadd lacking member setting and make secondary probe complete.\n---\n drivers/net/vhost/rte_eth_vhost.c | 5 ++++-\n 1 file changed, 4 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/vhost/rte_eth_vhost.c b/drivers/net/vhost/rte_eth_vhost.c\nindex 0b8b5a4ca..7a501cf91 100644\n--- a/drivers/net/vhost/rte_eth_vhost.c\n+++ b/drivers/net/vhost/rte_eth_vhost.c\n@@ -1390,8 +1390,11 @@ rte_pmd_vhost_probe(struct rte_vdev_device *dev)\n \t\t\tVHOST_LOG(ERR, \"Failed to probe %s\\n\", name);\n \t\t\treturn -1;\n \t\t}\n-\t\t/* TODO: request info from primary to set up Rx and Tx */\n+\t\teth_dev->rx_pkt_burst = eth_vhost_rx;\n+\t\teth_dev->tx_pkt_burst = eth_vhost_tx;\n \t\teth_dev->dev_ops = &ops;\n+\t\tif (dev->device.numa_node == SOCKET_ID_ANY)\n+\t\t\tdev->device.numa_node = rte_socket_id();\n \t\teth_dev->device = &dev->device;\n \t\trte_eth_dev_probing_finish(eth_dev);\n \t\treturn 0;\n",
    "prefixes": [
        "4/4"
    ]
}