get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 109515,
    "url": "http://patches.dpdk.org/api/patches/109515/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20220408102214.11994-1-xuan.ding@intel.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": "<20220408102214.11994-1-xuan.ding@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20220408102214.11994-1-xuan.ding@intel.com",
    "date": "2022-04-08T10:22:12",
    "name": "[v1,0/2] vhost: add unsafe API to get DMA inflight packets",
    "commit_ref": null,
    "pull_url": null,
    "state": null,
    "archived": false,
    "hash": null,
    "submitter": {
        "id": 1401,
        "url": "http://patches.dpdk.org/api/people/1401/?format=api",
        "name": "Ding, Xuan",
        "email": "xuan.ding@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20220408102214.11994-1-xuan.ding@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/109515/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/109515/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 09B5BA0501;\n\tFri,  8 Apr 2022 12:22:21 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 9F4C34067E;\n\tFri,  8 Apr 2022 12:22:20 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 477214003F\n for <dev@dpdk.org>; Fri,  8 Apr 2022 12:22:19 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 08 Apr 2022 03:22:18 -0700",
            "from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228])\n by orsmga006.jf.intel.com with ESMTP; 08 Apr 2022 03:22:16 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1649413339; x=1680949339;\n h=from:to:cc:subject:date:message-id;\n bh=4ZmvA4kR4sFZRqA2fTAqca/YQY3rjKvEiy08jha0D8M=;\n b=T1zTOUGGulxP8p8SxJGBPSXGpjEaVyXHg7XBD5LBZu2sJCnPFbs11+5X\n W9lPa/9SGPlHuHFf4TnV31NJjlxSRE+dhscfvpR7V5eJuL5x0/c0xauT+\n 3o5dJz9hUbG5jDiiiWKYfkX5yxakB+tKr6owAf2+Rln0X/vv1bIF6HMSe\n 8neKADlQyn5ALiNCFwzczE/lKtnVWob9DJkj7V9/xbHZ3NkdjsZ86JAAT\n K4QSoCOa4kutz6uMmYFWtCJJl5e0PyJ0chQEVksAWeqLqPpY88hmanq8e\n dF4puH/qybGoM+GirMpLn9fNMJQw8UkBDFOZaC0h0xZjbULWSfnfPFFyC g==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6400,9594,10310\"; a=\"261253234\"",
            "E=Sophos;i=\"5.90,244,1643702400\"; d=\"scan'208\";a=\"261253234\"",
            "E=Sophos;i=\"5.90,244,1643702400\"; d=\"scan'208\";a=\"525324756\""
        ],
        "X-ExtLoop1": "1",
        "From": "xuan.ding@intel.com",
        "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com",
        "Cc": "dev@dpdk.org, jiayu.hu@intel.com, cheng1.jiang@intel.com,\n sunil.pai.g@intel.com, Xuan Ding <xuan.ding@intel.com>",
        "Subject": "[PATCH v1 0/2] vhost: add unsafe API to get DMA inflight packets",
        "Date": "Fri,  8 Apr 2022 10:22:12 +0000",
        "Message-Id": "<20220408102214.11994-1-xuan.ding@intel.com>",
        "X-Mailer": "git-send-email 2.17.1",
        "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": "From: Xuan Ding <xuan.ding@intel.com>\n\nThis patchset introduces an unsafe API to get the number of inflight\npackets in DMA engine. It should be only used within the vhost ops\nwhich already holds the lock. Like vring state changes or device is\ndestroyed. Compared with rte_vhost_async_get_inflight(), this is a\nlock free version.\n\nRFC v1->v1:\n* refine the doc and commit log\n\nXuan Ding (2):\n  vhost: add unsafe API to check inflight packets\n  examples/vhost: use API to check inflight packets\n\n doc/guides/prog_guide/vhost_lib.rst    |  6 ++++++\n doc/guides/rel_notes/release_22_07.rst |  4 ++++\n examples/vhost/main.c                  | 28 ++++++++++++++------------\n examples/vhost/main.h                  |  1 -\n lib/vhost/rte_vhost_async.h            | 17 ++++++++++++++++\n lib/vhost/version.map                  |  4 ++++\n lib/vhost/vhost.c                      | 26 ++++++++++++++++++++++++\n 7 files changed, 72 insertions(+), 14 deletions(-)",
    "diff": null,
    "prefixes": [
        "v1",
        "0/2"
    ]
}