get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100798,
    "url": "https://patches.dpdk.org/api/patches/100798/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211007184350.73858-31-srikanth.k@oneconvergence.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20211007184350.73858-31-srikanth.k@oneconvergence.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211007184350.73858-31-srikanth.k@oneconvergence.com",
    "date": "2021-10-07T18:43:39",
    "name": "[v2,30/41] net/mlx5: add stubs for bonding",
    "commit_ref": null,
    "pull_url": null,
    "state": "deferred",
    "archived": false,
    "hash": "8f400cd6ab02f24c4e836765704b84d98e3dbde5",
    "submitter": {
        "id": 2368,
        "url": "https://patches.dpdk.org/api/people/2368/?format=api",
        "name": "Srikanth Kaka",
        "email": "srikanth.k@oneconvergence.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20211007184350.73858-31-srikanth.k@oneconvergence.com/mbox/",
    "series": [
        {
            "id": 19455,
            "url": "https://patches.dpdk.org/api/series/19455/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19455",
            "date": "2021-10-07T18:43:09",
            "name": "add MLX5 FreeBSD support",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/19455/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/100798/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/100798/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 C5E1BA034F;\n\tFri,  8 Oct 2021 12:58:43 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 83E59411E4;\n\tFri,  8 Oct 2021 12:56:31 +0200 (CEST)",
            "from mail-pg1-f178.google.com (mail-pg1-f178.google.com\n [209.85.215.178])\n by mails.dpdk.org (Postfix) with ESMTP id DE234411E0\n for <dev@dpdk.org>; Thu,  7 Oct 2021 20:45:35 +0200 (CEST)",
            "by mail-pg1-f178.google.com with SMTP id r2so642523pgl.10\n for <dev@dpdk.org>; Thu, 07 Oct 2021 11:45:35 -0700 (PDT)",
            "from srikanth-ThinkPad-T450.domain.name ([136.185.113.102])\n by smtp.gmail.com with ESMTPSA id c11sm3311586pji.38.2021.10.07.11.45.32\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Thu, 07 Oct 2021 11:45:34 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=oneconvergence.com; s=google;\n h=from:to:cc:subject:date:message-id:in-reply-to:references\n :mime-version:content-transfer-encoding;\n bh=EMUU1hgADJ8mOzBjj38rQF0ZHUxwKe81TRzYLJCJQ9c=;\n b=cDqyygNW742L7aVSw/ArflVP4NJ+3sTdzKZ9deEWc+1IqHkGEROBjJFGzlOIq5EcoS\n lLHI1jjzj8bYgJzl1/2Zyg647y/sbekxMJ9oDmUdmxTOAxGkQL1vGVRKXG83seIqIGpu\n 8SWAfCZuuDvMoWbmwVuUIua3yS68mzjJHITtk=",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n :references:mime-version:content-transfer-encoding;\n bh=EMUU1hgADJ8mOzBjj38rQF0ZHUxwKe81TRzYLJCJQ9c=;\n b=b+XLrHcZQ52VLpe2a7cGELd8omVAB3xkS6FK/RMUEDMaC77hlBSpjnTQEfmjGu42FM\n JVOdk9Dsqe128yJKF+y/2Wh9kVPSyHlYL2kxD0fN3VPixmCQg/zd58BadJIQ58dY21aT\n m2EfSdaRItn0ZRdgmhdKCddMbzEgfKVfNubG9OzE4UUC6CwvVtNbwWSmSBlU0wSy8mLX\n nczxQD+mD68xdQlXuqD7RkezU/LQfdr1u6HRBJiANqLjf8JLPlupmhBsvGRvlN24yyPR\n pX74b51iROlCbc6SjuAvkApG7+eJBYHPqySG1cB/GpZmSDFIDjPzCSHts9ZrufPq0QgK\n Sn2g==",
        "X-Gm-Message-State": "AOAM5338kRj5rgFkcIdSv1aNuMjBIfg8MnfynB5hW6GGEhyBmPu2cFsU\n lYgMKulQCqbHXWmR99788XFEBw==",
        "X-Google-Smtp-Source": "\n ABdhPJzMGRth/D7CMDd7t2deNZFBuSqfgHZlmEufDKFEz9ra86KNilpAlNLVzGiXIX8ePDJ6jBJx8w==",
        "X-Received": "by 2002:a63:de51:: with SMTP id y17mr981166pgi.235.1633632335158;\n Thu, 07 Oct 2021 11:45:35 -0700 (PDT)",
        "From": "Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "To": "Matan Azrad <matan@nvidia.com>,\n Viacheslav Ovsiienko <viacheslavo@nvidia.com>",
        "Cc": "dev@dpdk.org, Vag Singh <vag.singh@oneconvergence.com>,\n Anand Thulasiram <avelu@juniper.net>,\n Srikanth Kaka <srikanth.k@oneconvergence.com>",
        "Date": "Fri,  8 Oct 2021 00:13:39 +0530",
        "Message-Id": "<20211007184350.73858-31-srikanth.k@oneconvergence.com>",
        "X-Mailer": "git-send-email 2.30.2",
        "In-Reply-To": "<20211007184350.73858-1-srikanth.k@oneconvergence.com>",
        "References": "<20211007184350.73858-1-srikanth.k@oneconvergence.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "X-Mailman-Approved-At": "Fri, 08 Oct 2021 12:55:54 +0200",
        "Subject": "[dpdk-dev] [PATCH v2 30/41] net/mlx5: add stubs for bonding",
        "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",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "add stubs for bonding\n\nSigned-off-by: Srikanth Kaka <srikanth.k@oneconvergence.com>\nSigned-off-by: Vag Singh <vag.singh@oneconvergence.com>\nSigned-off-by: Anand Thulasiram <avelu@juniper.net>\n---\n drivers/net/mlx5/freebsd/mlx5_ethdev_os.c | 42 +++++++++++++++++++++++\n 1 file changed, 42 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/freebsd/mlx5_ethdev_os.c b/drivers/net/mlx5/freebsd/mlx5_ethdev_os.c\nindex a6e28ea4bb..f96f53f696 100644\n--- a/drivers/net/mlx5/freebsd/mlx5_ethdev_os.c\n+++ b/drivers/net/mlx5/freebsd/mlx5_ethdev_os.c\n@@ -685,6 +685,48 @@ mlx5_is_removed(struct rte_eth_dev *dev)\n \treturn 0;\n }\n \n+/**\n+ * Get switch information associated with network interface.\n+ *\n+ * @param ifindex\n+ *   Network interface index.\n+ * @param[out] info\n+ *   Switch information object, populated in case of success.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_sysfs_switch_info(unsigned int ifindex, struct mlx5_switch_info *info)\n+{\n+\tRTE_SET_USED(ifindex);\n+\tRTE_SET_USED(info);\n+\treturn -ENOTSUP;\n+}\n+\n+/**\n+ * Get bond information associated with network interface.\n+ *\n+ * @param pf_ifindex\n+ *   Network interface index of bond interface\n+ * @param[out] ifindex\n+ *   Pointer to bond ifindex.\n+ * @param[out] ifname\n+ *   Pointer to bond ifname.\n+ *\n+ * @return\n+ *   0 on success, a negative errno value otherwise and rte_errno is set.\n+ */\n+int\n+mlx5_sysfs_bond_info(unsigned int pf_ifindex, unsigned int *ifindex,\n+\t\t     char *ifname)\n+{\n+\tRTE_SET_USED(pf_ifindex);\n+\tRTE_SET_USED(ifindex);\n+\tRTE_SET_USED(ifname);\n+\treturn -ENOTSUP;\n+}\n+\n /**\n  * DPDK callback to retrieve plug-in module EEPROM information (type and size).\n  *\n",
    "prefixes": [
        "v2",
        "30/41"
    ]
}