get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84085,
    "url": "http://patches.dpdk.org/api/patches/84085/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1605251133-325948-1-git-send-email-bingz@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": "<1605251133-325948-1-git-send-email-bingz@nvidia.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1605251133-325948-1-git-send-email-bingz@nvidia.com",
    "date": "2020-11-13T07:05:33",
    "name": "net/mlx5: fix wrong function of hairpin unbind",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "880323c01bf62bac755d88275b6311eb08c3d4b6",
    "submitter": {
        "id": 1976,
        "url": "http://patches.dpdk.org/api/people/1976/?format=api",
        "name": "Bing Zhao",
        "email": "bingz@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/1605251133-325948-1-git-send-email-bingz@nvidia.com/mbox/",
    "series": [
        {
            "id": 13861,
            "url": "http://patches.dpdk.org/api/series/13861/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13861",
            "date": "2020-11-13T07:05:33",
            "name": "net/mlx5: fix wrong function of hairpin unbind",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13861/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/84085/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/84085/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 5509DA0545;\n\tFri, 13 Nov 2020 08:05:44 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 141785AB7;\n\tFri, 13 Nov 2020 08:05:42 +0100 (CET)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n by dpdk.org (Postfix) with ESMTP id CCF5156A3\n for <dev@dpdk.org>; Fri, 13 Nov 2020 08:05:39 +0100 (CET)"
        ],
        "From": "Bing Zhao <bingz@nvidia.com>",
        "To": "viacheslavo@nvidia.com,\n\tmatan@nvidia.com",
        "Cc": "dev@dpdk.org,\n\torika@nvidia.com,\n\trasland@nvidia.com",
        "Date": "Fri, 13 Nov 2020 15:05:33 +0800",
        "Message-Id": "<1605251133-325948-1-git-send-email-bingz@nvidia.com>",
        "X-Mailer": "git-send-email 2.5.5",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix wrong function of hairpin unbind",
        "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": "In the implementation of mlx5_hairpin_unbind, a copy-paste error was\ninside. If a single peer Rx port needed to be unbound, it would be\nbound again by mistake.\n\nAll the hardware resources were released when stopping the device and\nno mess of the configuration was introduced. But when trying to unbind\nthe ports again, the issue would appear.\n\nThe typo of the function call is fixed. If there is no hairpin queue\nbound between two ports, the unbinding process should be considered\nsuccessful.\n\nFixes: 37cd4501e873 (\"net/mlx5: support two ports hairpin mode\")\n\nSigned-off-by: Bing Zhao <bingz@nvidia.com>\nAcked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>\n---\n drivers/net/mlx5/mlx5_trigger.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_trigger.c b/drivers/net/mlx5/mlx5_trigger.c\nindex 46e4191..bd02915 100644\n--- a/drivers/net/mlx5/mlx5_trigger.c\n+++ b/drivers/net/mlx5/mlx5_trigger.c\n@@ -934,7 +934,7 @@\n \t\t\t\treturn ret;\n \t\t}\n \telse\n-\t\tret = mlx5_hairpin_bind_single_port(dev, rx_port);\n+\t\tret = mlx5_hairpin_unbind_single_port(dev, rx_port);\n \treturn ret;\n }\n \n",
    "prefixes": []
}