get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 75904,
    "url": "http://patches.dpdk.org/api/patches/75904/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200825093116.26538-6-ophirmu@nvidia.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": "<20200825093116.26538-6-ophirmu@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200825093116.26538-6-ophirmu@nvidia.com",
    "date": "2020-08-25T09:31:08",
    "name": "[v2,05/13] net/mlx5: fix removal of unused inclusion files",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "80d9f5f125abac73522611dbd5b245d5aca5cd3f",
    "submitter": {
        "id": 1908,
        "url": "http://patches.dpdk.org/api/people/1908/?format=api",
        "name": "Ophir Munk",
        "email": "ophirmu@nvidia.com"
    },
    "delegate": {
        "id": 3268,
        "url": "http://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20200825093116.26538-6-ophirmu@nvidia.com/mbox/",
    "series": [
        {
            "id": 11773,
            "url": "http://patches.dpdk.org/api/series/11773/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11773",
            "date": "2020-08-25T09:31:06",
            "name": "mlx5 PMD multi OS support - part #4",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/11773/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/75904/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/75904/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 63232A04B1;\n\tTue, 25 Aug 2020 11:32:29 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 360481C1E1;\n\tTue, 25 Aug 2020 11:31:39 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n by dpdk.org (Postfix) with ESMTP id B394B1C1B2\n for <dev@dpdk.org>; Tue, 25 Aug 2020 11:31:29 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n ophirmu@nvidia.com) with SMTP; 25 Aug 2020 12:31:25 +0300",
            "from nvidia.com (pegasus05.mtr.labs.mlnx [10.210.16.100])\n by labmailer.mlnx (8.13.8/8.13.8) with ESMTP id 07P9VPMt030009;\n Tue, 25 Aug 2020 12:31:25 +0300"
        ],
        "From": "Ophir Munk <ophirmu@nvidia.com>",
        "To": "dev@dpdk.org",
        "Cc": "Ophir Munk <ophirmu@mellanox.com>, stable@dpdk.org",
        "Date": "Tue, 25 Aug 2020 09:31:08 +0000",
        "Message-Id": "<20200825093116.26538-6-ophirmu@nvidia.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "In-Reply-To": "<20200825093116.26538-1-ophirmu@nvidia.com>",
        "References": "<20200820145028.4090-1-ophirmu@nvidia.com>\n <20200825093116.26538-1-ophirmu@nvidia.com>",
        "Subject": "[dpdk-dev] [PATCH v2 05/13] net/mlx5: fix removal of unused\n\tinclusion files",
        "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: Ophir Munk <ophirmu@mellanox.com>\n\nRemove unused Linux included files:\n\n<sys/ioctl.h>, <arpa/inet.h> from file net/mlx5/mlx5_mac.c\n<sys/mman.h> from file net/mlx5/mlx5.c\n\nFixes: 771fa900b73a (\"mlx5: introduce new driver for Mellanox ConnectX-4 adapters\")\nCc: stable@dpdk.org\n\nSigned-off-by: Ophir Munk <ophirmu@mellanox.com>\nAcked-by: Matan Azrad <matan@mellanox.com>\n---\n drivers/net/mlx5/mlx5.c     | 1 -\n drivers/net/mlx5/mlx5_mac.c | 2 --\n 2 files changed, 3 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5.c b/drivers/net/mlx5/mlx5.c\nindex b099b23..ca60926 100644\n--- a/drivers/net/mlx5/mlx5.c\n+++ b/drivers/net/mlx5/mlx5.c\n@@ -9,7 +9,6 @@\n #include <stdint.h>\n #include <stdlib.h>\n #include <errno.h>\n-#include <sys/mman.h>\n #include <linux/rtnetlink.h>\n \n #include <rte_malloc.h>\ndiff --git a/drivers/net/mlx5/mlx5_mac.c b/drivers/net/mlx5/mlx5_mac.c\nindex 88c52b2..bd786fd 100644\n--- a/drivers/net/mlx5/mlx5_mac.c\n+++ b/drivers/net/mlx5/mlx5_mac.c\n@@ -9,8 +9,6 @@\n #include <inttypes.h>\n #include <errno.h>\n #include <netinet/in.h>\n-#include <sys/ioctl.h>\n-#include <arpa/inet.h>\n \n #include <rte_ether.h>\n #include <rte_ethdev_driver.h>\n",
    "prefixes": [
        "v2",
        "05/13"
    ]
}