get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 55103,
    "url": "http://patches.dpdk.org/api/patches/55103/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20190619185958.27306-8-stephen@networkplumber.org/",
    "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": "<20190619185958.27306-8-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190619185958.27306-8-stephen@networkplumber.org",
    "date": "2019-06-19T18:59:57",
    "name": "[v4,7/8] doc: update KNI documentation",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cae1d27064a7c5d4435610fb93ff35bcd2577e37",
    "submitter": {
        "id": 27,
        "url": "http://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20190619185958.27306-8-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5091,
            "url": "http://patches.dpdk.org/api/series/5091/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5091",
            "date": "2019-06-19T18:59:50",
            "name": "kni: fixes and cleanups",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/5091/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55103/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55103/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 [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id AAAFF1D194;\n\tWed, 19 Jun 2019 21:00:23 +0200 (CEST)",
            "from mail-pl1-f194.google.com (mail-pl1-f194.google.com\n\t[209.85.214.194]) by dpdk.org (Postfix) with ESMTP id 188101D170\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 21:00:12 +0200 (CEST)",
            "by mail-pl1-f194.google.com with SMTP id a93so195000pla.7\n\tfor <dev@dpdk.org>; Wed, 19 Jun 2019 12:00:12 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\tg8sm18613397pfi.8.2019.06.19.12.00.09\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tWed, 19 Jun 2019 12:00:09 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=izo55QUJe9iBPGBP8dhjRckymadapEsbrUhHMdFoGuU=;\n\tb=uwC46/eTTfVTzZDPjiez1JrvUGX+Jnjf1GRn5lz/EP6GJsYqcYN3HbIgXvYrvkcDXm\n\t1UACZKzCzXiCo7dGDw4tukjPvX5GtckOlucv47VhvAnRId4scmTleYSTpW1Yml6t7MKb\n\t5E6zsVfx2D6B9w7bGAnKuZ0jxqRdiu9H0MaI0ChN9So/Uzqd5gPlgKqyzwvd66AN1e69\n\tV8HR2hKMZRujCWkjUfeH7yRINEInC6HO8eh0heTyk+4RSNPGOF4i7x6k091azKWe/M+M\n\td1Uq40SLhUxA7045DuGbVdNERLdCh9rTSEZoPrMaOQgVVAU6p42Y041uhqO2APCKbNur\n\tyyoQ==",
        "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:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=izo55QUJe9iBPGBP8dhjRckymadapEsbrUhHMdFoGuU=;\n\tb=VnSZ8OLsUBXWcFHaDPydh6eZUPBCJ+UJrWtjQt7JYy3HjbhQYlBo21UzmFbrgKXI2X\n\to2ekvhvjJng445pCbb9xDMFLH030mhth/ZlX3QBXgU4E33wfzDywXyZg2ML+iGuDwmrj\n\tLT9vPXEuq5OYovA8mX6d7OfUg3N+NPXujyaZBS8sroqgPgL2pw2kI7rgJdeN3Zi1VSpf\n\tz/6boxRl/zh//UeBF7nE35VDXIi9xidZFP0lLzzbCaenHP5rKBs+JnYXNwaBb8BjRFOv\n\tpIQzxDN497h8zA6xHEdydw+VlrVY9TyjVMv04lmCFAbXnhB4GefoJpEtgk/WaxM11IWk\n\tEttA==",
        "X-Gm-Message-State": "APjAAAWtKdNIT3pCm/F39zkv/To5Yt7BWTGBip+n1tK1kIMtthRem9p8\n\tN8dj8v0jL/TdxiCf237lQIINZBCyb0Y=",
        "X-Google-Smtp-Source": "APXvYqzTPOHEc4yIX1klRLmdu7zYyJ2Uv4WoRcKHozv+3fmzql2JOPs/rRZlIqouJIP2dfig1/xGAg==",
        "X-Received": "by 2002:a17:902:b495:: with SMTP id\n\ty21mr119102985plr.243.1560970810993; \n\tWed, 19 Jun 2019 12:00:10 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <sthemmin@microsoft.com>,\n\tStephen Hemminger <stephen@networkplumber.org>",
        "Date": "Wed, 19 Jun 2019 11:59:57 -0700",
        "Message-Id": "<20190619185958.27306-8-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190619185958.27306-1-stephen@networkplumber.org>",
        "References": "<20190610175155.21374-1-stephen@networkplumber.org>\n\t<20190619185958.27306-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 7/8] doc: update KNI documentation",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "From: Stephen Hemminger <sthemmin@microsoft.com>\n\nMake the KNI documentation reflect modern kernel networking.\nIfconfig has been superseded by iproute2 for 15 years.\nIproute2 is well maintained, supports current feature set.\n\nEthtool is no longer supported by KNI.\nTshark is a better replacement for tcpdump.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n .../sample_app_ug/kernel_nic_interface.rst     | 18 +++++++++---------\n 1 file changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/doc/guides/sample_app_ug/kernel_nic_interface.rst b/doc/guides/sample_app_ug/kernel_nic_interface.rst\nindex a7e549d5213a..422bd8c98465 100644\n--- a/doc/guides/sample_app_ug/kernel_nic_interface.rst\n+++ b/doc/guides/sample_app_ug/kernel_nic_interface.rst\n@@ -21,14 +21,14 @@ The FIFO queues contain pointers to data packets in the DPDK. This:\n \n *   Provides a faster mechanism to interface with the kernel net stack and eliminates system calls\n \n-*   Facilitates the DPDK using standard Linux* userspace net tools (tcpdump, ftp, and so on)\n+*   Facilitates the DPDK using standard Linux* userspace net tools (tshark, rsync, and so on)\n \n *   Eliminate the copy_to_user and copy_from_user operations on packets.\n \n The Kernel NIC Interface sample application is a simple example that demonstrates the use\n of the DPDK to create a path for packets to go through the Linux* kernel.\n This is done by creating one or more kernel net devices for each of the DPDK ports.\n-The application allows the use of standard Linux tools (ethtool, ifconfig, tcpdump) with the DPDK ports and\n+The application allows the use of standard Linux tools (iproute, tshark) with the DPDK ports and\n also the exchange of packets between the DPDK application and the Linux* kernel.\n \n The Kernel NIC Interface sample application requires that the\n@@ -220,13 +220,13 @@ Enable KNI interface and assign an IP address:\n \n .. code-block:: console\n \n-    # ifconfig vEth0_0 192.168.0.1\n+    # ip addr add dev vEth0_0 192.168.0.1\n \n Show KNI interface configuration and statistics:\n \n .. code-block:: console\n \n-    # ifconfig vEth0_0\n+    # ip -s -d addr show vEth0_0\n \n The user can also check and reset the packet statistics inside the ``kni``\n application by sending the app the USR1 and USR2 signals:\n@@ -234,16 +234,16 @@ application by sending the app the USR1 and USR2 signals:\n .. code-block:: console\n \n     # Print statistics\n-    # kill -SIGUSR1 `pidof kni`\n+    # pkill -USR1 kni\n \n     # Zero statistics\n-    # kill -SIGUSR2 `pidof kni`\n+    # pkill -USR2 kni\n \n Dump network traffic:\n \n .. code-block:: console\n \n-    # tcpdump -i vEth0_0\n+    # tshark -n -i vEth0_0\n \n The normal Linux commands can also be used to change the MAC address and\n MTU size used by the physical NIC which corresponds to the KNI interface.\n@@ -254,13 +254,13 @@ Change the MAC address:\n \n .. code-block:: console\n \n-    # ifconfig vEth0_0 hw ether 0C:01:02:03:04:08\n+    # ip link set dev vEth0_0 lladdr 0C:01:02:03:04:08\n \n Change the MTU size:\n \n .. code-block:: console\n \n-    # ifconfig vEth0_0 mtu 1450\n+    # ip link set dev vEth0_0 mtu 1450\n \n When the ``kni`` application is closed, all the KNI interfaces are deleted\n from the Linux kernel.\n",
    "prefixes": [
        "v4",
        "7/8"
    ]
}