get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 27422,
    "url": "http://patches.dpdk.org/api/patches/27422/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170801161736.83502-1-sluong@cisco.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": "<20170801161736.83502-1-sluong@cisco.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20170801161736.83502-1-sluong@cisco.com",
    "date": "2017-08-01T16:17:36",
    "name": "[dpdk-dev] net/virtio-user: send kick to tx queue to notify backend on initialization",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "d2e9974653280ce5eecdbc4731793ed495018449",
    "submitter": {
        "id": 804,
        "url": "http://patches.dpdk.org/api/people/804/?format=api",
        "name": "Steven",
        "email": "sluong99@gmail.com"
    },
    "delegate": {
        "id": 355,
        "url": "http://patches.dpdk.org/api/users/355/?format=api",
        "username": "yliu",
        "first_name": "Yuanhan",
        "last_name": "Liu",
        "email": "yuanhan.liu@linux.intel.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170801161736.83502-1-sluong@cisco.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/27422/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/27422/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id 0D23D377A;\n\tThu,  3 Aug 2017 19:25:01 +0200 (CEST)",
            "from mail-pf0-f194.google.com (mail-pf0-f194.google.com\n\t[209.85.192.194]) by dpdk.org (Postfix) with ESMTP id C27D190F3\n\tfor <dev@dpdk.org>; Tue,  1 Aug 2017 18:17:36 +0200 (CEST)",
            "by mail-pf0-f194.google.com with SMTP id c65so2891074pfl.0\n\tfor <dev@dpdk.org>; Tue, 01 Aug 2017 09:17:36 -0700 (PDT)",
            "from SLUONG-M-612A.cisco.com ([128.107.241.167])\n\tby smtp.gmail.com with ESMTPSA id\n\tw82sm54928757pfa.39.2017.08.01.09.17.35\n\t(version=TLS1 cipher=AES128-SHA bits=128/128);\n\tTue, 01 Aug 2017 09:17:35 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n\th=from:to:cc:subject:date:message-id;\n\tbh=EoJtRJ3tl5FCpj58mNw2fwzUaYoE0w5qvXBGmuq4Otw=;\n\tb=e40qva9qPwmQOI7hwSAKzsB5PF947gX+WajFsEKKF0dd2HMjY2q/P/u86gILqBboVF\n\t5iNJxD9BveXLIIHbR6nKnHE+kFAiAIxuf731kdyACQc/XKRrOmX2vlztvXfD4D8iocOK\n\tQVUzSTy0XMp8XuONjnPKm/499Fy0+3vtfu+PDBLvp53DylIuGTOnbGvteqLeWL4HXXmc\n\to/S2nMl15GOYMpnNYaItSYPUu/j5EbLm0z22WRDfVk3ZO/LHgNHhSaMQ5rzQkK5vo4YE\n\tFdtNq1H+2+0enOSTI5AvY/oeGO+ilpZkspAjK5c4iRPf3A6+n7zeKQr/H8OgazuySZdH\n\twa8A==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id;\n\tbh=EoJtRJ3tl5FCpj58mNw2fwzUaYoE0w5qvXBGmuq4Otw=;\n\tb=I97oatKO6Pk/xbNCUxvqrEszY0hlbOcFGCKYaFeQS5iYnnSBTwpmG/sE2esPznOUpV\n\t2rkMl+AfOhPniqtcrZLn2RS7EpDNk1TGxmHxrdCTLE8UfYedfYL70h2OnvqXH75SqeFl\n\t2NCFgrW7ROXjYx5oejzsT7ZYrW0X8UlxWvRU62IBXo2N80VZnnVm8/3v3/HtsdWyh0SG\n\t6t+cwDQIrknlUHQU3C0bl3kTbl9YFoEdgWkEgHL5Fe99cuflhrsjRlnN4ye7TDcKVpd/\n\tTEPd2G8ggQUlFY46EGf9xruHRlaGYyga/l21sZoxjxELqJ8BlsO3a+f/kEWd7A/2dSQG\n\ty+Cw==",
        "X-Gm-Message-State": "AIVw111WeJlvqPSBWd/FQ2if6BoeRX6WxR0e+wTTBPQRybI1GTdckmXB\n\tLHDWGY7CvI4m3w==",
        "X-Received": "by 10.99.51.142 with SMTP id z136mr19601126pgz.275.1501604255966;\n\tTue, 01 Aug 2017 09:17:35 -0700 (PDT)",
        "From": "Steven <sluong99@gmail.com>",
        "X-Google-Original-From": "Steven <sluong@cisco.com>",
        "To": "yliu@fridaylinux.org,\n\tmaxime.coquelin@redhat.com",
        "Cc": "dev@dpdk.org",
        "Date": "Tue,  1 Aug 2017 09:17:36 -0700",
        "Message-Id": "<20170801161736.83502-1-sluong@cisco.com>",
        "X-Mailer": "git-send-email 2.10.1 (Apple Git-78)",
        "X-Mailman-Approved-At": "Thu, 03 Aug 2017 19:24:59 +0200",
        "Subject": "[dpdk-dev] [PATCH] net/virtio-user: send kick to tx queue to notify\n\tbackend on initialization",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Acccording to the spec, https://fossies.org/linux/qemu/docs/specs/vhost-user.txt\n\nclient must start ring upon receiving a kick (that is, detecting that file\ndescriptor is reachable) on the descriptor specified by\nVHOST_USER_SET_VRING_KICK.\n\nThe code sends a kick to the rx queue. It is missing sending a kick for the\ntx queue. This patch is to add the missing code to comply with the spec.\n\nSigned-off-by: Steven <sluong@cisco.com>\n---\n drivers/net/virtio/virtio_ethdev.c | 5 +++++\n 1 file changed, 5 insertions(+)",
    "diff": "diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c\nindex 00a3122..6362e14 100644\n--- a/drivers/net/virtio/virtio_ethdev.c\n+++ b/drivers/net/virtio/virtio_ethdev.c\n@@ -1747,6 +1747,11 @@ virtio_dev_start(struct rte_eth_dev *dev)\n \t\tvirtqueue_notify(rxvq->vq);\n \t}\n \n+\tfor (i = 0; i < dev->data->nb_tx_queues; i++) {\n+\t\ttxvq = dev->data->tx_queues[i];\n+\t\tvirtqueue_notify(txvq->vq);\n+\t}\n+\n \tPMD_INIT_LOG(DEBUG, \"Notified backend at initialization\");\n \n \tfor (i = 0; i < dev->data->nb_rx_queues; i++) {\n",
    "prefixes": [
        "dpdk-dev"
    ]
}