get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 66413,
    "url": "http://patches.dpdk.org/api/patches/66413/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200309121259.GA29453@vbox/",
    "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": "<20200309121259.GA29453@vbox>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200309121259.GA29453@vbox",
    "date": "2020-03-09T12:12:59",
    "name": "doc: document memif loopback feature",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "7088b4797a54c7e923467e67aae8e9ef8c945ecc",
    "submitter": {
        "id": 1360,
        "url": "http://patches.dpdk.org/api/people/1360/?format=api",
        "name": "Július Milan",
        "email": "jmilan.dev@gmail.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200309121259.GA29453@vbox/mbox/",
    "series": [
        {
            "id": 8839,
            "url": "http://patches.dpdk.org/api/series/8839/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=8839",
            "date": "2020-03-09T12:12:59",
            "name": "doc: document memif loopback feature",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/8839/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/66413/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/66413/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 790BEA052E;\n\tMon,  9 Mar 2020 11:13:03 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0AB9D1C02A;\n\tMon,  9 Mar 2020 11:13:03 +0100 (CET)",
            "from mail-wr1-f68.google.com (mail-wr1-f68.google.com\n [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id AC24A1C01F\n for <dev@dpdk.org>; Mon,  9 Mar 2020 11:13:01 +0100 (CET)",
            "by mail-wr1-f68.google.com with SMTP id n15so10231951wrw.13\n for <dev@dpdk.org>; Mon, 09 Mar 2020 03:13:01 -0700 (PDT)",
            "from vbox (81.89.53.154.host.vnet.sk. [81.89.53.154])\n by smtp.gmail.com with ESMTPSA id s14sm48867414wrv.44.2020.03.09.03.13.00\n (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);\n Mon, 09 Mar 2020 03:13:00 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;\n h=date:from:to:subject:message-id:mime-version:content-disposition\n :content-transfer-encoding:user-agent;\n bh=n4h/yvyI0UaXf8g/Y2CcxGfbS+FCi6WqO3fy+0pecuQ=;\n b=nzakGJyPLKbeVUPyO5fYvRanBtlnvGXUlxu2kaOmUuiL0HTRc0cESgvOyLy1dUzLZ8\n d9jGqyj0H1b4/oIGvBPU9NUkPhuYdw8aQL5wgCQB/JUZkzSObxiTTAG8jdN+bX5g9vE7\n Iyme3vPWZjoJk0dd8v1dku7U7URLJBqX76DDIxD4Io3oNkCK0nNxMhRkPc40Z3oBHqtN\n QzSbhFnLUKm40tRZ8wWtI9BlfsP0DVrFGkAC82MDwn1fr1gqFLw4qeiIOVYpN+YIG45J\n Cs8TqkYbcgDunoTgPOjrITEjsF+ytYyQJF1IuKoMMOn4Ks+Y5tOurDBsGyFU79t5Nwft\n jI3Q==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20161025;\n h=x-gm-message-state:date:from:to:subject:message-id:mime-version\n :content-disposition:content-transfer-encoding:user-agent;\n bh=n4h/yvyI0UaXf8g/Y2CcxGfbS+FCi6WqO3fy+0pecuQ=;\n b=jv6t2nokjjSDCvp6ASrc5Co2exBJ9U+YVaXYoW1XzyHxD2VttFcy0cLS6yEZNaFa4L\n +sYzqCrtobJ7USmYbohWHUxNNzj5PL+M5hZciQjXD36MTQL3rtL326N1CqvUk2bR7Cuo\n Eq6tY2FfcOq1+pJIUtKItW1okvTdLQsHvSVqGeyXHxulnj0zFp2DKpNH5RmgLouMvXGi\n sfXnoh9VBlmHHw4t3n5ITqc9JGPAieNqcM2hMOo8FHGZEFolprsWHEjunOcxtrEDiYdF\n t+73q6qHuDy4wsX7qLiXf50O74M7EBfser0KZmo7dggXKq32bTevdg4Tp74I+Nl1SyoC\n Kqfg==",
        "X-Gm-Message-State": "ANhLgQ29gqjitBj8zz7uz6K3+X0oCjIDizHjn6VPV4peHnEfkP+5w0jd\n Htscn5zep98JJ61IyithbJ4=",
        "X-Google-Smtp-Source": "\n ADFU+vsBgwxfcsc5VWWftTLnX4VFpjbJmQWTru98WlAGjaZZCyALlk5oSTNXJ+EhcT0MlIIyxBB4ug==",
        "X-Received": "by 2002:a5d:518b:: with SMTP id\n k11mr20912847wrv.114.1583748781387;\n Mon, 09 Mar 2020 03:13:01 -0700 (PDT)",
        "Date": "Mon, 9 Mar 2020 13:12:59 +0100",
        "From": "=?iso-8859-1?q?J=FAlius?= Milan <jmilan.dev@gmail.com>",
        "To": "ferruh.yigit@intel.com, dev@dpdk.org, jgrajcia@cisco.com",
        "Message-ID": "<20200309121259.GA29453@vbox>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=iso-8859-1",
        "Content-Disposition": "inline",
        "Content-Transfer-Encoding": "8bit",
        "User-Agent": "Mutt/1.9.4 (2018-02-28)",
        "Subject": "[dpdk-dev]  [PATCH] doc: document memif loopback feature",
        "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": "Shows the example of how to connect 2 memif ports into loopback and test\nthe communication.\n\nSigned-off-by: Július Milan <jmilan.dev@gmail.com>\n---\n doc/guides/nics/memif.rst | 18 ++++++++++++++++++\n 1 file changed, 18 insertions(+)",
    "diff": "diff --git a/doc/guides/nics/memif.rst b/doc/guides/nics/memif.rst\nindex 4d7f0086a..08a9fda86 100644\n--- a/doc/guides/nics/memif.rst\n+++ b/doc/guides/nics/memif.rst\n@@ -272,3 +272,21 @@ Send ping from VPP::\n     64 bytes from 192.168.1.2: icmp_seq=3 ttl=254 time=23.3927 ms\n     64 bytes from 192.168.1.2: icmp_seq=4 ttl=254 time=24.2975 ms\n     64 bytes from 192.168.1.2: icmp_seq=5 ttl=254 time=17.7049 ms\n+\n+Example: testpmd memif loopback\n+-------------------------------\n+In this example we will create 2 memif ports connected into loopback.\n+The situation is analogous to cross connecting 2 ports of the NIC by cable.\n+\n+To set the loopback, just use the same socket and id with different roles::\n+\n+    #./testpmd --vdev=net_memif0,role=master,id=0 --vdev=net_memif1,role=slave,id=0 -- -i\n+\n+Then start the communication::\n+\n+    testpmd> start tx_first\n+\n+Finally we can check port stats to see the traffic::\n+\n+    testpmd> show port stats all\n+    testpmd> show port stats all\n",
    "prefixes": []
}